Installing the latest version of the queuing software on cdf30. Downloaded the software from http://www.clusterresources.com/downloads/torque/ Unpacked it to /support/data1/maryh.

./configure –prefix=/var/torque –exec-prefix=/var/torque –with-rcp=scp –with-server-home=/var/spool/pbs –with-server-name=/var/torque/server_name

Got an error about no wish found in path. Installed package tk, which includes wish. Also added it to mary_addnode so that all new nodes will have this package. Configure command now finishes successfully.

make

make install — will install all the configured components. Really only need to run this on cdf30. On all other nodes, change to the torque directory and run
make install_mom install_clients

Make ran for quite a while and then quit with this error message:
gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -DPBS_SERVER_HOME=\”/var/spool/pbs\” -DPBSPD=\”/var/torque/bin/pbspd\” -g -O2 -D_LARGEFILE64_SOURCE -c `test -f ‘MXML.c’ || echo ‘./’`MXML.c
/bin/sh ../../libtool –mode=link gcc -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -DPBS_SERVER_HOME=\”/var/spool/pbs\” -DPBSPD=\”/var/torque/bin/pbspd\” -g -O2 -D_LARGEFILE64_SOURCE -o qstat qstat.o MXML.o ../lib/Libpbs/libtorque.la -L/usr/lib -ltk8.3 -L/usr/X11R6/lib -Wl,–rpath -Wl,/usr/X11R6/lib -lX11 -L/usr/lib -ltcl8.3 -ldl -lieee -lm
gcc -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -DPBS_SERVER_HOME=\”/var/spool/pbs\” -DPBSPD=\”/var/torque/bin/pbspd\” -g -O2 -D_LARGEFILE64_SOURCE -o .libs/qstat qstat.o MXML.o -Wl,–rpath -Wl,/usr/X11R6/lib ../lib/Libpbs/.libs/libtorque.so -L/usr/lib -ltk8.3 -L/usr/X11R6/lib -lX11 -ltcl8.3 -ldl -lieee -lm -Wl,–rpath -Wl,/var/torque/lib
/usr/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status
make[2]: *** [qstat] Error 1
make[2]: Leaving directory `/support/data1/maryh/torque-2.1.1/src/cmds’
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/support/data1/maryh/torque-2.1.1/src’
make: *** [all-recursive] Error 1

Since I had installed these libraries, somewhere there was a link that was missing. I found the library libX11.so.6 in /usr/X11R6/lib. So I made a link from that to /usr/lib:
ln -s /usr/X11R6/lib/libX11.so.6 /usr/lib/libX11.so
This is NOT the correct way to do this, but it’ll work for now.