pcp
[Top] [All Lists]

Re: [pcp] EL6 repo missing pcp-pmda-infiniband and bintray issues

To: Trey Dockendorf <treydock@xxxxxxxx>, Nathan Scott <nathans@xxxxxxxxxx>
Subject: Re: [pcp] EL6 repo missing pcp-pmda-infiniband and bintray issues
From: Martins Innus <minnus@xxxxxxxxxxx>
Date: Mon, 4 Jan 2016 16:02:19 -0500
Cc: "White, Joseph" <jpwhite4@xxxxxxxxxxx>, PCP <pcp@xxxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <CAJ=Tzi=zhG8FdcS-K2v6D8hnarReUChzWDB4Hy18+u+OoiFoow@xxxxxxxxxxxxxx>
References: <CAJ=Tzi=aZs-rh39OnHA63ZWGCOC27ndaeR8dNXF+Hznck5Ehxw@xxxxxxxxxxxxxx> <166559955.3678323.1451871431168.JavaMail.zimbra@xxxxxxxxxx> <CAJ=Tzi=zhG8FdcS-K2v6D8hnarReUChzWDB4Hy18+u+OoiFoow@xxxxxxxxxxxxxx>
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.5.0
Trey,

On 1/4/16 12:15 PM, Trey Dockendorf wrote:
pfm.so.3. Is the version is
    > EL6 too low to support the perfevent PMDA?

    Looking in build/rpm/pcp.spec.in <http://pcp.spec.in> theres a
    BuildRequires on libpfm-devel,
    and a runtime Requires on libpfm4.  Not sure if it works with
    libpfm.so.3 -
    can you try it and let me know?  (the configure.ac
    <http://configure.ac> code just checks headers
    so if those are present, maybe it will work with just a spec file
    tweak -
    not sure).


When I run Makepkgs the configure output shows this:

checking for pfm_get_os_event_encoding in -lpfm... no
checking perfmon/pfmlib_perf_event.h usability... no
checking perfmon/pfmlib_perf_event.h presence... no
checking for perfmon/pfmlib_perf_event.h... no
checking if the perfevent PMDA should be included... no

The pfm_get_os_event_encoding symbol does not show up in EL6's
libpfm.so, but I am seeing it in EL7's.  So looks like EL6 libpfm is
lacking needed symbols.


We had this working under Centos 6. Looking at our single remaining Centos 6 host I see this:

>rpm -qi libpfm-4.4.0-1.el6.x86_64

Name        : libpfm                       Relocations: (not relocatable)
Version     : 4.4.0                             Vendor: (none)
Release : 1.el6 Build Date: Tue 03 Sep 2013 10:52:16 AM EDT Install Date: Fri 03 Jan 2014 02:30:03 PM EST Build Host: f07n05.ccr.buffalo.edu Group : System Environment/Libraries Source RPM: libpfm-4.4.0-1.el6.src.rpm
Size        : 1193314                          License: MIT
Signature   : (none)
URL         : http://perfmon2.sourceforge.net/
Summary     : Library to encode performance events for use by perf tool
Description :


So looks like we built a version ourselves. Maybe Joe remembers otherwise?

Martins

<Prev in Thread] Current Thread [Next in Thread>