[torqueusers] hwloc error torque 4.1.3

Andrus, Brian Contractor bdandrus at nps.edu
Thu Dec 13 15:30:43 MST 2012


Yep, the default locations for the hwloc libs are /usr/include and /usr/lib and /usr/lib64


Brian Andrus
ITACS/Research Computing
Naval Postgraduate School
Monterey, California
voice: 831-656-6238



From: torqueusers-bounces at supercluster.org [mailto:torqueusers-bounces at supercluster.org] On Behalf Of David Beer
Sent: Thursday, December 13, 2012 1:51 PM
To: Torque Users Mailing List
Subject: Re: [torqueusers] hwloc error torque 4.1.3

Have you made sure you are specifying --with-hwloc-path correctly? /usr/ seems unlikely to be correct. Note the coment that configure adds:

Specifies the path to the hwloc libraries and include files.
                       Example: ./configure --with-hwloc-path=/usr/local/hwloc-1.1
                       Will specify that the include files are in /usr/local/hwloc-1.1/include and
                       the libraries are in /usr/local/hwloc-1.1/lib],

So specifying /usr would mean that

/usr/include contains the hwloc headers and /usr/lib/ contains the library.

David

On Thu, Dec 13, 2012 at 2:29 PM, Andrus, Brian Contractor <bdandrus at nps.edu<mailto:bdandrus at nps.edu>> wrote:
It seems fine:

[root at build SPECS]# pkg-config --atleast-version 1.1 hwloc && echo "Yep." || echo "Nope."
Yep.

Yet:
./configure --enable-cpuset

Dies with the same message:

checking for HWLOC... configure: error: cpuset support requires the hwloc package



This can be solved by configuring with --with-hwloc-path=<path>. This path
should be the path to the directory containing the lib/ and include/ directories
for your version of hwloc.
Another option is adding the directory containing 'hwloc.pc'
to the PKG_CONFIG_PATH environment variable.

If you have done these and still get this  error, try running ./autogen.sh and
then configuring again.
Same if I do:
./configure  --enable-cpuset --with-hwloc-path=/usr/


Brian Andrus
ITACS/Research Computing
Naval Postgraduate School
Monterey, California
voice: 831-656-6238<tel:831-656-6238>





> -----Original Message-----
> From: torqueusers-bounces at supercluster.org<mailto:torqueusers-bounces at supercluster.org> [mailto:torqueusers-<mailto:torqueusers->
> bounces at supercluster.org<mailto:bounces at supercluster.org>] On Behalf Of Michael Jennings
> Sent: Monday, December 10, 2012 1:36 PM
> To: Torque Users Mailing List
> Subject: Re: [torqueusers] hwloc error torque 4.1.3
>
> On Monday, 10 December 2012, at 19:37:18 (+0000), Andrus, Brian Contractor
> wrote:
>
> > Same thing in config.log:
> > -------------------
> > configure:22377: checking for HWLOC
> > configure:22476: error: cpuset support requires the hwloc package
>
> It's a pretty straight-forward test; either pkgconfig finds hwloc >= 1.1, or it
> doesn't.
>
> For me, installing hwloc-devel.x86_64 worked just fine.  I, too, am using a
> rebuild of RHEL 6.3 (Scientific Linux).
>
> What does this command tell you?
>
> pkg-config --atleast-version 1.1 hwloc && echo "Yep." || echo "Nope."
>
>
> Michael
>
> --
> Michael Jennings <mej at lbl.gov<mailto:mej at lbl.gov>>
> Senior HPC Systems Engineer
> High-Performance Computing Services
> Lawrence Berkeley National Laboratory
> Bldg 50B-3209E        W: 510-495-2687<tel:510-495-2687>
> MS 050B-3209          F: 510-486-8615<tel:510-486-8615>
> _______________________________________________
> torqueusers mailing list
> torqueusers at supercluster.org<mailto:torqueusers at supercluster.org>
> http://www.supercluster.org/mailman/listinfo/torqueusers
_______________________________________________
torqueusers mailing list
torqueusers at supercluster.org<mailto:torqueusers at supercluster.org>
http://www.supercluster.org/mailman/listinfo/torqueusers



--
David Beer | Senior Software Engineer
Adaptive Computing

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.supercluster.org/pipermail/torqueusers/attachments/20121213/3258e3f5/attachment-0001.html 


More information about the torqueusers mailing list