bart | 191a307 | 2008-09-08 18:39:38 +0000 | [diff] [blame^] | 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 | ABT_DETAILS="IBM BladeCenter QS20" |
| 7 | 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" |
| 8 | ABT_RUN_REGTEST="cellbuzz_run_regtest" |
| 9 | ABT_JOBS=3 |
| 10 | |
| 11 | cellbuzz_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 | } |