[torqueusers] problem with Altix compile

Steve Young chemadm at hamilton.edu
Thu Dec 22 08:03:30 MST 2005


Jeroen,
	Well I am using the following configure options:

./configure --prefix=/usr/local/Dist/torque-2.0.0p2 --with-scp 

I also tried with adding --set-cflags="-D __USE_POSIX" and I still get
the same result. However, I do notice the following in the configure:

checking whether make understands '.POSIX:'... yes
checking whether make understands an initial '+'... yes
checking for gcc... gcc
checking whether the C compiler (gcc -D __USE_POSIX ) works... yes
checking whether the C compiler (gcc -D __USE_POSIX ) is a cross-
compiler... no

Perhaps this might give some more clues? Thanks for the help and I hope
everyone has a safe and happy holiday :). 

-Steve




On Thu, 2005-12-22 at 20:39 +1100, Jeroen van den Muyzenberg wrote:
> Hi Steve,
> 
> I've just tried compiling 2.0.0p2 on a similar setup (Altix 3700 running
> PP3) with no problems.
> 
> What configure options were you using? If somehow an option (or other
> means) is undef'ing (or not defining) __USE_POSIX, then you would see
> this problem.
> 
> A test (and possibly dirty fix) would be to run configure with
> --set-cflags="-D __USE_POSIX"
> 
> That wouldn't explain what the problem is if it works though.
> 
> Jeroen
> 
> On Wed, 21 Dec 2005, Chemistry System Admin wrote:
> 
> > Hello,
> > 	I was trying to compile torque-2.0.0p2 on an SGI Altix 350 System (16
> > cpu/16Gb). Here is the error I receive:
> >
> > make[4]: Leaving directory
> > `/usr/local/src/Original/torque-2.0.0p2/src/lib/Libcmds'
> > make[3]: Leaving directory
> > `/usr/local/src/Original/torque-2.0.0p2/src/lib/Libcmds'
> > Making all in Libdis
> > make[3]: Entering directory
> > `/usr/local/src/Original/torque-2.0.0p2/src/lib/Libdis'
> > make[3]: Nothing to be done for `all'.
> > make[3]: Leaving directory
> > `/usr/local/src/Original/torque-2.0.0p2/src/lib/Libdis'
> > Making all in Libifl
> > make[3]: Entering directory
> > `/usr/local/src/Original/torque-2.0.0p2/src/lib/Libifl'
> > make[3]: Nothing to be done for `all'.
> > make[3]: Leaving directory
> > `/usr/local/src/Original/torque-2.0.0p2/src/lib/Libifl'
> > Making all in Liblog
> > make[3]: Entering directory
> > `/usr/local/src/Original/torque-2.0.0p2/src/lib/Liblog'
> > generating dependencies
> > makedepend-sh: processing ./pbs_log.c
> > makedepend-sh: processing ./pbs_messages.c
> > makedepend-sh: processing ./log_event.c
> > makedepend-sh: processing ./chk_file_sec.c
> > makedepend-sh: processing ./setup_env.c
> > make[4]: Entering directory
> > `/usr/local/src/Original/torque-2.0.0p2/src/lib/Liblog'
> > gcc -g -I../../../src/include -I../../../src/include -DHAVE_CONFIG_H -c
> > pbs_log.c
> > pbs_log.c:114: `_POSIX_PATH_MAX' undeclared here (not in a function)
> > pbs_log.c: In function `log_open':
> > pbs_log.c:181: `_POSIX_PATH_MAX' undeclared (first use in this function)
> > pbs_log.c:181: (Each undeclared identifier is reported only once
> > pbs_log.c:181: for each function it appears in.)
> > pbs_log.c: At top level:
> > pbs_log.c:114: storage size of `log_directory' isn't known
> > make[4]: *** [pbs_log.o] Error 1
> > make[4]: Leaving directory
> > `/usr/local/src/Original/torque-2.0.0p2/src/lib/Liblog'
> > make[3]: *** [all] Error 2
> > make[3]: Leaving directory
> > `/usr/local/src/Original/torque-2.0.0p2/src/lib/Liblog'
> > make[2]: *** [all] Error 2
> > make[2]: Leaving directory
> > `/usr/local/src/Original/torque-2.0.0p2/src/lib'
> > make[1]: *** [all] Error 2
> > make[1]: Leaving directory `/usr/local/src/Original/torque-2.0.0p2/src'
> > make: *** [all] Error 2
> > [root at iroquois torque-2.0.0p2]# uname -a
> > Linux iroquois 2.4.21-sgi306r6 #1 SMP Sat Jun 18 14:43:35 PDT 2005 ia64
> > ia64 ia64 GNU/Linux
> > [root at iroquois torque-2.0.0p2]#
> >
> >
> > Any ideas on what I could do to make this compile? Thanks,
> >
> > -Steve
> >
> >
> > _______________________________________________
> > torqueusers mailing list
> > torqueusers at supercluster.org
> > http://www.supercluster.org/mailman/listinfo/torqueusers
> >
> _______________________________________________
> torqueusers mailing list
> torqueusers at supercluster.org
> http://www.supercluster.org/mailman/listinfo/torqueusers



More information about the torqueusers mailing list