bart | 0bae227 | 2009-01-12 12:52:36 +0000 | [diff] [blame] | 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 |
bart | dd8f021 | 2009-09-30 13:26:40 +0000 | [diff] [blame] | 16 | jobid=`echo "{ cd $PWD && eval \"$*\"; } >& $PWD/cmd-output.txt" | qsub -m n` |
bart | 0bae227 | 2009-01-12 12:52:36 +0000 | [diff] [blame] | 17 | echo "Job ID = ${jobid}" |
bart | fab6c89 | 2009-02-19 14:59:48 +0000 | [diff] [blame] | 18 | while [ `qstat "${jobid}" 2>/dev/null | wc --lines` -gt 0 ] |
bart | 0bae227 | 2009-01-12 12:52:36 +0000 | [diff] [blame] | 19 | do |
| 20 | sleep 10 |
| 21 | done |
| 22 | cat cmd-output.txt |
bart | 5d9c644 | 2009-11-06 08:59:34 +0000 | [diff] [blame] | 23 | rm -f STDIN.* |
bart | 0bae227 | 2009-01-12 12:52:36 +0000 | [diff] [blame] | 24 | } |