1
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.
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 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"
13ABT_RUN_REGTEST="cellbuzz_run_regtest"
14ABT_JOBS=3
15
16cellbuzz_run_regtest() {
17  rm -f regtest-output.txt
18  jobid=`echo "{ cd $PWD && perl tests/vg_regtest --all; } >& $PWD/regtest-output.txt" | qsub`
19  echo "Job ID = ${jobid}"
20  while [ `qstat "${jobid}" 2>/dev/null | wc --lines` -gt 0 ]
21  do
22    sleep 10
23  done
24  cat regtest-output.txt
25}
26