|
From: <sv...@va...> - 2009-05-19 04:02:00
|
Author: njn Date: 2009-05-19 05:01:52 +0100 (Tue, 19 May 2009) New Revision: 9931 Log: Sync georgia-tech-* with trunk. Added: branches/DARWIN/nightly/conf/georgia-tech-cellbuzz-cross.conf branches/DARWIN/nightly/conf/georgia-tech-cellbuzz-cross.sendmail branches/DARWIN/nightly/conf/georgia-tech-cellbuzz-native.conf branches/DARWIN/nightly/conf/georgia-tech-cellbuzz-native.sendmail Removed: branches/DARWIN/nightly/conf/georgia-tech-cellbuzz.conf branches/DARWIN/nightly/conf/georgia-tech-cellbuzz.sendmail Added: branches/DARWIN/nightly/conf/georgia-tech-cellbuzz-cross.conf =================================================================== --- branches/DARWIN/nightly/conf/georgia-tech-cellbuzz-cross.conf (rev 0) +++ branches/DARWIN/nightly/conf/georgia-tech-cellbuzz-cross.conf 2009-05-19 04:01:52 UTC (rev 9931) @@ -0,0 +1,26 @@ + +# Specifics for the Georgia Tech Cellbuzz cluster (Fedora Core release 6 on the host +# and IBM BladeCenter QS20 target). +# 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 9, cross" +CROSS_PATH="/opt/cell/toolchain/bin" +ABT_CONFIGURE_OPTIONS="--build=x86_64-linux-gnu --host=powerpc64-unknown-linux --target=powerpc64-unknown-linux STRIP=${CROSS_PATH}/ppu-strip CC=${CROSS_PATH}/ppu-gcc CPP='${CROSS_PATH}/ppu-gcc -E' CXX=${CROSS_PATH}/ppu-g++ RANLIB=${CROSS_PATH}/ppu-ranlib CCAS=${CROSS_PATH}/ppu-gcc" +ABT_RUN_REGTEST="cellbuzz_run_regtest" +ABT_JOBS=3 + +cellbuzz_run_regtest() { + cd valgrind || return $? + rm -f regtest-output.txt + jobid=`echo "{ cd $PWD && perl tests/vg_regtest --all; } >& $PWD/regtest-output.txt" | qsub` + echo "Job ID = ${jobid}" + while [ `qstat "${jobid}" 2>/dev/null | wc --lines` -gt 0 ] + do + sleep 10 + done + cat regtest-output.txt +} Added: branches/DARWIN/nightly/conf/georgia-tech-cellbuzz-cross.sendmail =================================================================== --- branches/DARWIN/nightly/conf/georgia-tech-cellbuzz-cross.sendmail (rev 0) +++ branches/DARWIN/nightly/conf/georgia-tech-cellbuzz-cross.sendmail 2009-05-19 04:01:52 UTC (rev 9931) @@ -0,0 +1,15 @@ +#!/bin/sh + +# use: georgia-tech-cellbuzz.sendmail subject file-to-mail [file-to-attach] +# Don't forget to set the variables 'from' and 'realname' in ~/.muttrc ! + +sender="bar...@gm..." +recipients="val...@li..." +#recipients="bar...@gm..." +if [ $# -ge 3 ]; then + gzip -9 <"$3" >"$3.gz" + mutt -s "$1" -a "$3.gz" ${recipients} < "$2" + rm -f "$3.gz" +else + mutt -s "$1" ${recipients} < "$2" +fi Property changes on: branches/DARWIN/nightly/conf/georgia-tech-cellbuzz-cross.sendmail ___________________________________________________________________ Name: svn:executable + * Added: branches/DARWIN/nightly/conf/georgia-tech-cellbuzz-native.conf =================================================================== --- branches/DARWIN/nightly/conf/georgia-tech-cellbuzz-native.conf (rev 0) +++ branches/DARWIN/nightly/conf/georgia-tech-cellbuzz-native.conf 2009-05-19 04:01:52 UTC (rev 9931) @@ -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" \ + | qsub -m n -q sdk3.0` + echo "Job ID = ${jobid}" + while [ `qstat "${jobid}" 2>/dev/null | wc --lines` -gt 0 ] + do + sleep 10 + done + cat cmd-output.txt +} Added: branches/DARWIN/nightly/conf/georgia-tech-cellbuzz-native.sendmail =================================================================== --- branches/DARWIN/nightly/conf/georgia-tech-cellbuzz-native.sendmail (rev 0) +++ branches/DARWIN/nightly/conf/georgia-tech-cellbuzz-native.sendmail 2009-05-19 04:01:52 UTC (rev 9931) @@ -0,0 +1,15 @@ +#!/bin/sh + +# use: georgia-tech-cellbuzz.sendmail subject file-to-mail [file-to-attach] +# Don't forget to set the variables 'from' and 'realname' in ~/.muttrc ! + +sender="bar...@gm..." +recipients="val...@li..." +#recipients="bar...@gm..." +if [ $# -ge 3 ]; then + gzip -9 <"$3" >"$3.gz" + mutt -s "$1" -a "$3.gz" ${recipients} < "$2" + rm -f "$3.gz" +else + mutt -s "$1" ${recipients} < "$2" +fi Property changes on: branches/DARWIN/nightly/conf/georgia-tech-cellbuzz-native.sendmail ___________________________________________________________________ Name: svn:executable + * Deleted: branches/DARWIN/nightly/conf/georgia-tech-cellbuzz.conf =================================================================== --- branches/DARWIN/nightly/conf/georgia-tech-cellbuzz.conf 2009-05-19 03:19:56 UTC (rev 9930) +++ branches/DARWIN/nightly/conf/georgia-tech-cellbuzz.conf 2009-05-19 04:01:52 UTC (rev 9931) @@ -1,26 +0,0 @@ - -# Specifics for the Georgia Tech Cellbuzz cluster (Fedora Core release 6 on the host -# and IBM BladeCenter QS20 target). -# 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="IBM BladeCenter QS20" -ABT_CONFIGURE_OPTIONS="--build=x86_64-linux-gnu --host=powerpc64-unknown-linux --target=powerpc64-unknown-linux STRIP=/opt/cell/bin/ppu-strip CC=/opt/cell/bin/ppu-gcc CPP='/opt/cell/bin/ppu-gcc -E' CXX=/opt/cell/bin/ppu-g++ RANLIB=/opt/cell/bin/ppu-ranlib CCAS=/opt/cell/bin/ppu-gcc" -ABT_RUN_REGTEST="cellbuzz_run_regtest" -ABT_JOBS=3 - -cellbuzz_run_regtest() { - cd valgrind || return $? - rm -f regtest-output.txt - jobid=`echo "{ cd $PWD && perl tests/vg_regtest --all; } >& $PWD/regtest-output.txt" \ - | /usr/pbs/bin/qsub` - echo "Job ID = ${jobid}" - while [ `/usr/pbs/bin/qstat "${jobid}" 2>/dev/null | wc --lines` -gt 0 ] - do - sleep 10 - done - cat regtest-output.txt -} Deleted: branches/DARWIN/nightly/conf/georgia-tech-cellbuzz.sendmail =================================================================== --- branches/DARWIN/nightly/conf/georgia-tech-cellbuzz.sendmail 2009-05-19 03:19:56 UTC (rev 9930) +++ branches/DARWIN/nightly/conf/georgia-tech-cellbuzz.sendmail 2009-05-19 04:01:52 UTC (rev 9931) @@ -1,4 +0,0 @@ - -# use: georgia-tech-cellbuzz.sendmail subject file-to-mail - -/bin/mailx -s "$1" val...@li... -- -R bar...@gm... -r bar...@gm... < $2 |