[torquedev] Torque 4 SVN and NUMA Support

Joerg Blank j.blank at fz-juelich.de
Fri Jan 6 06:40:19 MST 2012


I'm trying to compile a recent svn checkout with NUMA support.

> gcc -DHAVE_CONFIG_H -I. -I../../src/include  -I../../src/include -I/usr/include/libxml2   -DPBS_SERVER_HOME=\"/var/spool/torque\" -DPBS_ENVIRON=\"/var/spool/torque/pbs_environment\" -g -O2 -D_LARGEFILE64_SOURCE -DNUMA_SUPPORT -MT req_stat.o -MD -MP -MF .deps/req_stat.Tpo -c -o req_stat.o req_stat.c
> In file included from req_stat.c:118:
> svr_connect.h:15: error: conflicting types for ‘socket_to_handle’
> ../../src/include/svrfunc.h:22: note: previous declaration of ‘socket_to_handle’ was here
> make[3]: *** [req_stat.o] Error 1

I look into the preprocessed file and there seems to be in incorrect
macro expansion of "errno" in svr_connect.h. Renaming the parameter
solves this problem.

The compilation now continues until:

> gcc -DHAVE_CONFIG_H -I. -I../../src/include  -I../../src/include -I../../src/resmom/linux -DPBS_MOM -DDEMUX=\"/usr/local/sbin/pbs_demux\" -DRCP_PATH=\"/usr/bin/scp\" -DRCP_ARGS=\"-rpB\" -DPBS_SERVER_HOME=\"/var/spool/torque\" -DPBS_ENVIRON=\"/var/spool/torque/pbs_environment\" -I/usr/include/libxml2    -g -O2 -D_LARGEFILE64_SOURCE -DNUMA_SUPPORT -MT mom_server.o -MD -MP -MF .deps/mom_server.Tpo -c -o mom_server.o mom_server.c
> mom_server.c: In function ‘mom_server_all_update_stat’:
> mom_server.c:3329: error: ‘num_numa_nodes’ undeclared (first use in this function)
> mom_server.c:3329: error: (Each undeclared identifier is reported only once
> mom_server.c:3329: error: for each function it appears in.)
> make[3]: *** [mom_server.o] Error 1

Unfortunately I have no solution for this.

Jörg Blank

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
Url : http://www.supercluster.org/pipermail/torquedev/attachments/20120106/6955a5aa/attachment.bin 

More information about the torquedev mailing list