From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653646721641.tru64-unix-managers.marc@archive.invalid> From: Padiyath Kumar Date: Sun, 22 Apr 2001 09:16:26 +0000 To: tru64-unix-managers Subject: SUMMARY: PBS (Portable Batch System) X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653646721641 I got replies from the following people and many thanks. Uwe Linig and Ole Holm Nielson. I took the suggestion from Ole Holm Nielson and I could compile the code on Tru64 V4.0G without errors. Now I have to configure the system for PBS usage. I compiled Tcl and Tkl (version 8) with gcc and with gmake installed first. Then I ran PBS configure and gmake with compaq compiler CC. My question follows at the end. The replies are Ole Holm Nielson wrote: ---------------------- We run OpenPBS 2.3.12 on Tru64 UNIX 4.0F without problems like yours. Details about our PBS installation are documented on http://www.fysik.dtu.dk/CAMP/pbs.html You may need to upgrade your Tru64 UNIX and/or Compaq compilers, though, since I don't know if 4.0D is considered obsolete or not. QUESTION: =========== Hi, Iam trying to compile PBS on tru64 with V4.0D. I could create most of the libraries. But Iam getting the following error. Iam using "OpenPBS_2_3_12" version. Can any one help? Configure command: configure --prefix=/scratch1/kumar/Tools/PBS --with-tcl=/scratch1/kumar/Tools/PBS/Tcl8 --set-cflags="-std0" which has NOT given any error The gmake command gives me the following error: Making all in resmom gcc -std0 -I../include -I../../src/include -I./digitalunix -DHAVE_CONFIG_H -DPBS_MOM -DDEMUX=\"/scratch1/kumar/Tools/PBS/sbin/pbs_demux\" -DRCP_PATH=\"/scratch1/kumar/Tools/PBS/sbin/pbs_rcp\" -c ./digitalunix/mom_mach.c gcc: unrecognized option `-std0' In file included from /usr/include/sys/table.h:55, from ./digitalunix/mom_mach.c:110: /usr/include/net/if.h:182: warning: `struct rtentry' declared inside parameter list /usr/include/net/if.h:182: warning: its scope is only this definition or declaration, /usr/include/net/if.h:182: warning: which is probably not what you want. /usr/include/net/if.h:182: warning: `struct mbuf' declared inside parameter list In file included from /usr/include/sys/table.h:55, from ./digitalunix/mom_mach.c:110: /usr/include/net/if.h:462: warning: `struct rtentry' declared inside parameter list In file included from /usr/include/machine/cpuconf.h:126, from ./digitalunix/mom_mach.c:114: /usr/include/c_asm.h:193: parse error before `asm' ./digitalunix/mom_mach.c:1075: warning: static declaration for `cput' follows non-static ./digitalunix/mom_mach.c:1173: warning: static declaration for `mem' follows non-static ./digitalunix/mom_mach.c:1304: warning: static declaration for `sessions' follows non-static ./digitalunix/mom_mach.c:1376: warning: static declaration for `nsessions' follows non-static ./digitalunix/mom_mach.c:1394: warning: static declaration for `pids' follows non-static ./digitalunix/mom_mach.c:1456: warning: static declaration for `nusers' follows non-static ./digitalunix/mom_mach.c:1605: warning: static declaration for `size' follows non-static ./digitalunix/mom_mach.c:1650: warning: static declaration for `idletime' follows non-static ./digitalunix/mom_mach.c: In function `cpuspeed': ./digitalunix/mom_mach.c:1809: warning: passing arg 2 of `getsysinfo' from incompatible pointer type ./digitalunix/mom_mach.c: In function `cputype': ./digitalunix/mom_mach.c:1846: warning: passing arg 2 of `getsysinfo' from incompatible pointer type gmake[2]: *** [mom_mach.o] Error 1 gmake[1]: *** [all] Error 2 gmake: *** [all] Error 2 Thanks in afdvance, Kumar