[torquedev] Torque 4 SVN and NUMA Support

Ken Nielson knielson at adaptivecomputing.com
Fri Jan 6 09:41:53 MST 2012


----- Original Message -----
> From: "Joerg Blank" <j.blank at fz-juelich.de>
> To: "Torque Developers mailing list" <torquedev at supercluster.org>
> Sent: Friday, January 6, 2012 6:40:19 AM
> Subject: [torquedev] Torque 4 SVN and NUMA Support
> 
> Hello,
> 
> 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.
> 
> Regards,
> Jörg Blank
> 
> 

Jörg,

You may need to rerun autogen.sh and then rerun configure.

Ken


More information about the torquedev mailing list