blob: 2c0970ea0befe84566d2c1227418cdf429b8e6ff [file] [log] [blame]
bart191a3072008-09-08 18:39:38 +00001
2# Specifics for the Georgia Tech Cellbuzz cluster (Fedora Core release 6 on the host
3# and IBM BladeCenter QS20 target).
4# See also http://wiki.cc.gatech.edu/cellbuzz/index.php/Main_Page.
bartfcadb002008-09-11 15:03:59 +00005#
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".
bart191a3072008-09-08 18:39:38 +00009
bartaa6dd812009-05-01 06:54:43 +000010ABT_DETAILS="cellbuzz, ppc64, Fedora 9, cross"
11CROSS_PATH="/opt/cell/toolchain/bin"
12ABT_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"
bart191a3072008-09-08 18:39:38 +000013ABT_RUN_REGTEST="cellbuzz_run_regtest"
14ABT_JOBS=3
15
16cellbuzz_run_regtest() {
17 cd valgrind || return $?
bart6ec66032008-09-10 09:07:52 +000018 rm -f regtest-output.txt
bartaa6dd812009-05-01 06:54:43 +000019 jobid=`echo "{ cd $PWD && perl tests/vg_regtest --all; } >& $PWD/regtest-output.txt" | qsub`
bart191a3072008-09-08 18:39:38 +000020 echo "Job ID = ${jobid}"
bartaa6dd812009-05-01 06:54:43 +000021 while [ `qstat "${jobid}" 2>/dev/null | wc --lines` -gt 0 ]
bart191a3072008-09-08 18:39:38 +000022 do
23 sleep 10
24 done
25 cat regtest-output.txt
26}