[torqueusers] TORQUE 4.0 and hwloc
DuChene, StevenX A
stevenx.a.duchene at intel.com
Wed Apr 4 13:06:44 MDT 2012
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.
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
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
More information about the torqueusers