[torquedev] Torque 4 SVN and NUMA Support

David Beer dbeer at adaptivecomputing.com
Fri Jan 6 10:06:40 MST 2012



----- Original Message -----
> 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
> 

Jorg,

It appears there were some changes made that broke the compilation of NUMA. I will get you a new build ASAP.

-- 
David Beer 
Direct Line: 801-717-3386 | Fax: 801-717-3738
     Adaptive Computing
     1712 S East Bay Blvd, Suite 300
     Provo, UT 84606



More information about the torquedev mailing list