[torqueusers] compiling torque with --enable-geometry-requests fails.

James A. Peltier jpeltier at sfu.ca
Wed Aug 28 00:29:38 MDT 2013

When I compile torque with simple configure flags

./configure --enable-geometry-requests 

It explodes with the following error

g++ -DHAVE_CONFIG_H -I. -I../../src/include  -I../../src/include  -DPBS_SERVER_HOME=\"/var/spool/torque\" -DPBS_ENVIRON=\"/var/spool/torque/pbs_environment\" `xml2-config --cflags` -g -D_LARGEFILE64_SOURCE -DGEOMETRY_REQUESTS -I/hpc/software/Linux/RHEL/6/x86_64/LIB/HWLOC/1.7.1/include   -MT node_func.o -MD -MP -MF .deps/node_func.Tpo -c -o node_func.o node_func.c
mv -f .deps/node_func.Tpo .deps/node_func.Po
g++ -DHAVE_CONFIG_H -I. -I../../src/include  -I../../src/include  -DPBS_SERVER_HOME=\"/var/spool/torque\" -DPBS_ENVIRON=\"/var/spool/torque/pbs_environment\" `xml2-config --cflags` -g -D_LARGEFILE64_SOURCE -DGEOMETRY_REQUESTS -I/hpc/software/Linux/RHEL/6/x86_64/LIB/HWLOC/1.7.1/include   -MT node_manager.o -MD -MP -MF .deps/node_manager.Tpo -c -o node_manager.o node_manager.c
node_manager.c: In function ‘int node_satisfies_request(pbsnode*, char*)’:
node_manager.c:3073: error: ‘struct pbsnode’ has no member named ‘nd_psn’
node_manager.c: In function ‘int reserve_node(pbsnode*, short int, job*, char*, howl**)’:
node_manager.c:3132: error: ‘struct pbsnode’ has no member named ‘nd_psn’
make[3]: *** [node_manager.o] Error 1
make[3]: Leaving directory `/local-scratch/torque-'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/local-scratch/torque-'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/local-scratch/torque-'
make: *** [all-recursive] Error 1

However, compiling with ./configure --enable-cpuset or ./configure --enable-numa-support works just fine, so it looks like --enable-geometry-requests is totally broke

To be really crazy I put almost everything to configure

./configure --enable-cpuset --enable-drmaa --enable-numa-support --enable-align-memory --enable-blcr --enable-nvidia-gpus --enable-acct-x --enable-tcl-qstat --with-default-server=queen.rcg.sfu.ca --with-rcp=scp --with-pam --with-tcl --with-tk --with-tkx

without --enable-geometry-requests everything compiles fine.  So indeed it looks like they broke something in torque

James A. Peltier
Manager, IT Services - Research Computing Group
Simon Fraser University - Burnaby Campus
Phone   : 778-782-6573
Fax     : 778-782-3045
E-Mail  : jpeltier at sfu.ca
Website : http://www.sfu.ca/itservices

“A successful person is one who can lay a solid foundation from the bricks others have thrown at them.” -David Brinkley via Luke Shaw

More information about the torqueusers mailing list