SGE requires libdb and openmotif ================================ openmotif ========= curl -O ftp://ftp.ics.com/openmotif/2.3/2.3.0/openmotif-2.3.0.tar.gz tar zxvf openmotif-2.3.0.tar.gz cd openmotif-2.3.0 ./configure --prefix=/common CFLAGS="-I/usr/X11/include/freetype2" make sudo make install libdb ===== curl -O http://download.oracle.com/berkeley-db/db-4.6.21.tar.gz tar zxvf db-4.6.21.tar.gz cd db-4.6.21/build_unix ../dist/configure --prefix=/common --enable-rpc make sudo make install build and install sge ===================== curl -O http://gridengine.sunsource.net/files/documents/7/161/ge-V61u3_TAG-src.tar.gz tar zxvf ge-V61u3_TAG-src.tar.gz patch -p0 < leopard_61u3_w_guess.patch cd gridengine/source rm -rf 3rdparty/qmake/DARWIN_X86 rm -rf 3rdparty/qmake/DARWIN_PPC ./aimk -only-depend ./scripts/zerodepend ./aimk depend ./aimk -no-java ./aimk -man sudo su export SGE_ROOT=/common/sge mkdir -p $SGE_ROOT echo Y | ./scripts/distinst -noexit -local -noopenssl -nobdb -allall darwin-x86 configure sge ============= sudo su dscl . -create /Users/sge UserShell /usr/bin/flase dscl . -create /Users/sge UniqueID 1001 dscl . -create /Users/sge NFSHomeDirectory /var/empty sh-3.2# cat /etc/hosts | grep bvmbook 10.0.1.197 bvmbook export SGE_ROOT=/common/sge chown -R sge:wheel $SGE_ROOT cd $SGE_ROOT ./inst_sge -m -x ... Verifying and setting file permissions -------------------------------------- Did you install this version with >pkgadd< or did you already verify and set the file permissions of your distribution (y/n) [y] >> n ... Setup spooling -------------- Your SGE binaries are compiled to link the spooling libraries during runtime (dynamically). So you can choose between Berkeley DB spooling and Classic spooling method. Please choose a spooling method (berkeleydb|classic) [berkeleydb] >> classic ... Please enter a range >> 20000-20100 ... Do you want to add your shadow host(s) now? (y/n) [y] >> n bvmbook:~ vanetten$ . /common/sge/default/common/settings.sh bvmbook:~ vanetten$ qstat -f queuename qtype used/tot. load_avg arch states ---------------------------------------------------------------------------- all.q@bvmbook BIP 0/2 0.07 darwin-x86 bvmbook:~ vanetten$ qrsh hostname denied: host "bvmbook.local" is no submit host bvmbook:~ vanetten$ sudo su sh-3.2# . /common/sge/default/common/settings.sh sh-3.2# qconf -as bvmbook bvmbook added to submit host list sh-3.2# exit bvmbook:~ vanetten$ qstat -f queuename qtype used/tot. load_avg arch states ---------------------------------------------------------------------------- all.q@bvmbook BIP 0/2 0.04 darwin-x86 bvmbook:~ vanetten$ qrsh hostname bvmbook.local