diff options
author | bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> | 2009-01-12 12:52:36 +0000 |
---|---|---|
committer | bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> | 2009-01-12 12:52:36 +0000 |
commit | 0bae227b460fe9cf493c4487c1015c273990a5ee (patch) | |
tree | 54a8b54d086e41a8da0cc66cb3d3322bd0a631b9 | |
parent | 3040125cd7642cd0470b4353681c6628af6e5df8 (diff) |
Added to repository.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8940 a5019735-40e9-0310-863c-91ae7b9d1cf9
-rw-r--r-- | nightly/conf/georgia-tech-cellbuzz-native.conf | 24 | ||||
-rwxr-xr-x | nightly/conf/georgia-tech-cellbuzz-native.sendmail | 13 |
2 files changed, 37 insertions, 0 deletions
diff --git a/nightly/conf/georgia-tech-cellbuzz-native.conf b/nightly/conf/georgia-tech-cellbuzz-native.conf new file mode 100644 index 00000000..03d86739 --- /dev/null +++ b/nightly/conf/georgia-tech-cellbuzz-native.conf @@ -0,0 +1,24 @@ + +# Specifics for the Georgia Tech Cellbuzz cluster. The nodes in the cellq30 +# queue are running the SDK version 3.0 (Fedora Core release 7). +# See also http://wiki.cc.gatech.edu/cellbuzz/index.php/Main_Page. +# +# Note: please keep in mind that the default shell (a.o. used by cron) on the +# Georgia Tech Cellbuzz cluster is tcsh. Any shell code must be suitable for +# sh, bash and tcsh. As an example, tcsh understands ">&" but not "2>&1". + +ABT_DETAILS="cellbuzz, ppc64, Fedora 7, native" +ABT_EVAL="cellbuzz_eval" +ABT_JOBS=2 + +cellbuzz_eval() { + rm -f cmd-output.txt done + jobid=`echo "{ cd $PWD && eval \"$*\"; } >& $PWD/cmd-output.txt" \ + | /usr/pbs/bin/qsub -m n -q cellq30` + echo "Job ID = ${jobid}" + while [ `/usr/pbs/bin/qstat "${jobid}" 2>/dev/null | wc --lines` -gt 0 ] + do + sleep 10 + done + cat cmd-output.txt +} diff --git a/nightly/conf/georgia-tech-cellbuzz-native.sendmail b/nightly/conf/georgia-tech-cellbuzz-native.sendmail new file mode 100755 index 00000000..0b8f32f5 --- /dev/null +++ b/nightly/conf/georgia-tech-cellbuzz-native.sendmail @@ -0,0 +1,13 @@ +#!/bin/sh + +# use: georgia-tech-cellbuzz.sendmail subject file-to-mail [file-to-attach] +# Don't forget to set the from and realname variables in ~/.muttrc ! + +sender="bart.vanassche@gmail.com" +recipient="valgrind-developers@lists.sourceforge.net" +#recipient="bart.vanassche@gmail.com" +if [ $# -ge 3 ]; then + mutt -s -a "$3" "$1" "${recipient}" < "$2" +else + mutt -s "$1" "${recipient}" < "$2" +fi |