1 2 # Specifics for the Georgia Tech Cellbuzz cluster. The nodes in the cellq30 3 # queue are running the SDK version 3.0 (Fedora Core release 7). 4 # See also http://wiki.cc.gatech.edu/cellbuzz/index.php/Main_Page. 5 # 6 # Note: please keep in mind that the default shell (a.o. used by cron) on the 7 # Georgia Tech Cellbuzz cluster is tcsh. Any shell code must be suitable for 8 # sh, bash and tcsh. As an example, tcsh understands ">&" but not "2>&1". 9 10 ABT_DETAILS="cellbuzz, ppc64, Fedora 7, native" 11 ABT_EVAL="cellbuzz_eval" 12 ABT_JOBS=2 13 14 cellbuzz_eval() { 15 rm -f cmd-output.txt done 16 jobid=`echo "{ cd $PWD && eval \"$*\"; } >& $PWD/cmd-output.txt" | qsub -m n` 17 echo "Job ID = ${jobid}" 18 while [ `qstat "${jobid}" 2>/dev/null | wc --lines` -gt 0 ] 19 do 20 sleep 10 21 done 22 cat cmd-output.txt 23 rm -f STDIN.* 24 } 25