[torqueusers] configure --disable-spool broken?

Peter Enstrom enstrom at ncsa.uiuc.edu
Mon Oct 30 12:32:22 MST 2006


In the past we inserted a "#define NO_SPOOL_OUTPUT 1" directly into the 
server_limits.h file in order to compile Torque so that it spools job 
output data in the user's home directory rather than in the torque/spool 
directory.  Now there is a configure option, --disable-spool, which causes 
this define to be placed in the pbs_config.h file.

I configured using --disable-spool, compiled and ran but job output still 
spooled to torque/spool rather than the user's home directory.  I moved the 
#define from pbs_config.h to server_limits.h, rebuilt and encountered 
compile errors.  I don't think configure is doing the right thing and the 
code now has errors.

requests.c: In function `req_cpyfile':
requests.c:2778: error: `havehomespool' undeclared (first use in this function)
requests.c:2778: error: (Each undeclared identifier is reported only once
requests.c:2778: error: for each function it appears in.)
requests.c:2782: error: `localname_alt' undeclared (first use in this function)
requests.c:2782: error: `homespool' undeclared (first use in this function)
requests.c:2785: error: `rcstat' undeclared (first use in this function)
requests.c:2785: error: `myspooldir' undeclared (first use in this function)
requests.c:3043:5: missing binary operator before token "User"
make[3]: *** [requests.o] Error 1
make[3]: Leaving directory `/usr/local/src/torque-2.1.6/src/resmom'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/torque-2.1.6/src/resmom'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/torque-2.1.6/src'
make: *** [all-recursive] Error 1

Peter Enstrom
NCSA



More information about the torqueusers mailing list