blob: 8b219da9abde0fee55a4df0542b356449584bbf4 [file] [log] [blame]
bart0bae2272009-01-12 12:52:36 +00001
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
10ABT_DETAILS="cellbuzz, ppc64, Fedora 7, native"
11ABT_EVAL="cellbuzz_eval"
12ABT_JOBS=2
13
14cellbuzz_eval() {
15 rm -f cmd-output.txt done
bartdd8f0212009-09-30 13:26:40 +000016 jobid=`echo "{ cd $PWD && eval \"$*\"; } >& $PWD/cmd-output.txt" | qsub -m n`
bart0bae2272009-01-12 12:52:36 +000017 echo "Job ID = ${jobid}"
bartfab6c892009-02-19 14:59:48 +000018 while [ `qstat "${jobid}" 2>/dev/null | wc --lines` -gt 0 ]
bart0bae2272009-01-12 12:52:36 +000019 do
20 sleep 10
21 done
22 cat cmd-output.txt
bart5d9c6442009-11-06 08:59:34 +000023 rm -f STDIN.*
bart0bae2272009-01-12 12:52:36 +000024}