blob: 8a23ce947cc1e4d6e64322645213ab550e71812f [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.
5
6ABT_DETAILS="IBM BladeCenter QS20"
7ABT_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"
8ABT_RUN_REGTEST="cellbuzz_run_regtest"
9ABT_JOBS=3
10
11cellbuzz_run_regtest() {
12 cd valgrind || return $?
13 VGDIR=$PWD
14 jobid=`echo "{ cd $VGDIR && perl tests/vg_regtest --all; } >$VGDIR/regtest-output.txt 2>&1" \
15 | /usr/pbs/bin/qsub`
16 echo "Job ID = ${jobid}"
17 while [ `/usr/pbs/bin/qstat "${jobid}" 2>/dev/null | wc --lines` -gt 0 ]
18 do
19 sleep 10
20 done
21 cat regtest-output.txt
22}