10bae227b460fe9cf493c4487c1015c273990a5eebart 20bae227b460fe9cf493c4487c1015c273990a5eebart# Specifics for the Georgia Tech Cellbuzz cluster. The nodes in the cellq30 30bae227b460fe9cf493c4487c1015c273990a5eebart# queue are running the SDK version 3.0 (Fedora Core release 7). 40bae227b460fe9cf493c4487c1015c273990a5eebart# See also http://wiki.cc.gatech.edu/cellbuzz/index.php/Main_Page. 50bae227b460fe9cf493c4487c1015c273990a5eebart# 60bae227b460fe9cf493c4487c1015c273990a5eebart# Note: please keep in mind that the default shell (a.o. used by cron) on the 70bae227b460fe9cf493c4487c1015c273990a5eebart# Georgia Tech Cellbuzz cluster is tcsh. Any shell code must be suitable for 80bae227b460fe9cf493c4487c1015c273990a5eebart# sh, bash and tcsh. As an example, tcsh understands ">&" but not "2>&1". 90bae227b460fe9cf493c4487c1015c273990a5eebart 100bae227b460fe9cf493c4487c1015c273990a5eebartABT_DETAILS="cellbuzz, ppc64, Fedora 7, native" 110bae227b460fe9cf493c4487c1015c273990a5eebartABT_EVAL="cellbuzz_eval" 120bae227b460fe9cf493c4487c1015c273990a5eebartABT_JOBS=2 130bae227b460fe9cf493c4487c1015c273990a5eebart 140bae227b460fe9cf493c4487c1015c273990a5eebartcellbuzz_eval() { 150bae227b460fe9cf493c4487c1015c273990a5eebart rm -f cmd-output.txt done 16dd8f0211139672878105023202df2b22027b2561bart jobid=`echo "{ cd $PWD && eval \"$*\"; } >& $PWD/cmd-output.txt" | qsub -m n` 170bae227b460fe9cf493c4487c1015c273990a5eebart echo "Job ID = ${jobid}" 18fab6c89a5f972f113cd173092269cc5e8c81158ebart while [ `qstat "${jobid}" 2>/dev/null | wc --lines` -gt 0 ] 190bae227b460fe9cf493c4487c1015c273990a5eebart do 200bae227b460fe9cf493c4487c1015c273990a5eebart sleep 10 210bae227b460fe9cf493c4487c1015c273990a5eebart done 220bae227b460fe9cf493c4487c1015c273990a5eebart cat cmd-output.txt 235d9c644b06a1f4af4381ed1c24743a9acdac7310bart rm -f STDIN.* 240bae227b460fe9cf493c4487c1015c273990a5eebart} 25