[Top] [All Lists]

[Bug 888] New: Minor pcp-pmda-infiniband build problem, may be working

To: pcp@xxxxxxxxxxx
Subject: [Bug 888] New: Minor pcp-pmda-infiniband build problem, may be working as designed
From: bugzilla-daemon@xxxxxxxxxxx
Date: Mon, 24 May 2010 18:21:31 -0500
Auto-submitted: auto-generated

           Summary: Minor pcp-pmda-infiniband build problem,  may be
                    working as designed
           Product: pcp
           Version: unspecified
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P5
         Component: pcp
        AssignedTo: mort@xxxxxxx
        ReportedBy: emery@xxxxxxx
                CC: pcp@xxxxxxxxxxx
   Estimated Hours: 0.0
    Classification: Unclassified

A minor build problem with pcp-pmda-infiniband.  The workaround
is obvious, install a current pcp. :-)  It is acceptable to close this
report with this workaround.

pcp-pmda-infiniband requires that a "recent" (post 2.8.4?) pcp be installed
before it is built.   Specifically you can't build pcp, then the inifiniband
pmda, and then install both of them at once.

Below, with an ancient pcp (2.7.8) installed, the build of domain.h failed
w/o erring.  The output of that failed build then messed up the run of

        In the case where pcp was not installed at all, you would get
different errors.

There is no README or INSTALL to indicate that installing pcp first is

semery@pfe1:~/devel/pcp-pmda-infiniband> make
make -C src
make[1]: Entering directory `/staff/semery/devel/pcp-pmda-infiniband/src'
rm -f domain.h
echo "#define IB " \
        `/usr/bin/awk '$1 == "IB" { print $2 }' /var/lib/pcp/pmns/stdpmid.pcp`
/usr/share/pcp/bin/newhelp -n root -v 2 -o help < help                          
[pmns:9] Error Parsing ASCII PMNS: Expected NAME or }                           
newhelp: pmLoadNameSpace: Problems parsing PMNS definitions                     
make[1]: *** [help.pag] Error 2                                                 
make[1]: Leaving directory `/staff/semery/devel/pcp-pmda-infiniband/src'        
make: *** [default] Error 2                                                     

semery@pfe1:~/devel/pcp-pmda-infiniband> rpm -qa | grep pcp

semery@pfe1:~/devel/pcp-pmda-infiniband/src> head pmns

infiniband {                                                                    

infiniband.hca {
        type            IB:0:0                                                  
        ca_type         IB:0:1

semery@pfe1:~/devel/pcp-pmda-infiniband/src> cat domain.h
#define IB                                                                      

semery@pfe1:~/devel/pcp-pmda-infiniband/src> cat  /var/lib/pcp/pmns/stdpmid.pcp
# Domain numbers for PMDAs in the base PCP product
# PMDA Name     Domain Number                                                   
PMCD            2
PROC            3                                                               
ENVIRON         4                                                               
...   /* no IB definition */

from a 3.2.1 working copy:
semery@pfe1:~/devel/pcp/src> grep IB pmns/stdpmid.pcp
IB              91

Configure bugmail: http://oss.sgi.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

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