[torqueusers] TORQUE 4.0 and hwloc

Andrus, Brian Contractor bdandrus at nps.edu
Fri Jul 13 12:31:22 MDT 2012


Hmm.

I am trying to just build torque 4.0.1 using cpusets and I keep getting:
===================================================
checking for HWLOC... configure: error: cpuset support requires the hwloc package



Perhaps you should add the directory containing 'hwloc.pc'
to the PKG_CONFIG_PATH environment variable.

Alternatively, you may set the environment variables
HWLOC_CFLAGS and HWLOC_LIBS before running configure.

Example:
export HWLOC_CFLAGS='-I/usr/local/hwloc-1.1/include'
export HWLOC_LIBS='-L/usr/local/hwloc-1.1/lib -lhwloc'

error: Bad exit status from /var/tmp/rpm-tmp.iowncz (%build)
===================================================
I have the stock hwloc packages installed:
[root at hamming SPECS]# rpm -qa |grep hwloc
hwloc-devel-1.1-0.1.el6.i686
hwloc-1.1-0.1.el6.x86_64
hwloc-devel-1.1-0.1.el6.x86_64
hwloc-1.1-0.1.el6.i686

I have tried setting HWLOC_CFLAGS and HWLOC_LIBS to no avail.

Is there something special to set when using the stock packages for CentOS 6.3?


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






-----Original Message-----
From: torqueusers-bounces at supercluster.org [mailto:torqueusers-bounces at supercluster.org] On Behalf Of DuChene, StevenX A
Sent: Wednesday, April 04, 2012 12:07 PM
To: Torque Users Mailing List
Subject: Re: [torqueusers] TORQUE 4.0 and hwloc

Yeah, when I passed the "-with cpuset" to the rpmbuild command then I got the following in my stdout from the actual rpm build process (from the configure part actually):

checking whether to allow geometry requests... no checking whether to support NUMA systems... no checking for HWLOC... yes checking for hwloc_bitmap_alloc in -lhwloc... yes

and then during the actual compile I see a -lhwloc being linked in.
--
Steven DuChene

-----Original Message-----
From: torqueusers-bounces at supercluster.org [mailto:torqueusers-bounces at supercluster.org] On Behalf Of Gabe Turner
Sent: Wednesday, April 04, 2012 10:51 AM
To: torqueusers at supercluster.org
Subject: Re: [torqueusers] TORQUE 4.0 and hwloc

On Wed, Apr 04, 2012 at 12:09:47PM -0500, Gabe Turner wrote:
> It looks to me like the spec file is supporting the --with option to 
> rpmbuild. So cpuset will be enabled as a configure option if you pass 
> '--with cpuset' to rpmbuild. Is that what you are already trying?

I just did this to build the RPMs with support for cpusets. Admittedly, it is a bit cumbersome, though perhaps only because I have hwloc installed in a centralized location and not from an RPM.

gabe at node1084 [~/torque-4.0.1] % make rpm HWLOC_CFLAGS='-I/soft/hwloc/1.4.1/include' HWLOC_LIBS='-L/soft/hwloc/1.4.1/lib -lhwloc' RPM_AC_OPTS+='--with cpuset'

gabe at node1084 [~/torque-4.0.1] % rpm -qRp ~/rpmbuild/RPMS/x86_64/torque-client-4.0.1-1.cri.x86_64.rpm
torque = 4.0.1-1.cri
.
.
.
libhwloc.so.5()(64bit)
.
.
.


-- 
Gabe Turner                                             gabe at msi.umn.edu
HPC Systems Administrator,
University of Minnesota
Supercomputing Institute                          http://www.msi.umn.edu
_______________________________________________
torqueusers mailing list
torqueusers at supercluster.org
http://www.supercluster.org/mailman/listinfo/torqueusers
_______________________________________________
torqueusers mailing list
torqueusers at supercluster.org
http://www.supercluster.org/mailman/listinfo/torqueusers


More information about the torqueusers mailing list