]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Added configuration files for Georgia Tech's Cellbuzz cluster.
authorBart Van Assche <bvanassche@acm.org>
Mon, 8 Sep 2008 18:39:38 +0000 (18:39 +0000)
committerBart Van Assche <bvanassche@acm.org>
Mon, 8 Sep 2008 18:39:38 +0000 (18:39 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8587

nightly/conf/georgia-tech-cellbuzz.conf [new file with mode: 0644]
nightly/conf/georgia-tech-cellbuzz.sendmail [new file with mode: 0755]

diff --git a/nightly/conf/georgia-tech-cellbuzz.conf b/nightly/conf/georgia-tech-cellbuzz.conf
new file mode 100644 (file)
index 0000000..8a23ce9
--- /dev/null
@@ -0,0 +1,22 @@
+
+# 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.
+
+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 $?
+  VGDIR=$PWD
+  jobid=`echo "{ cd $VGDIR && perl tests/vg_regtest --all; } >$VGDIR/regtest-output.txt 2>&1" \
+         | /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
+}
diff --git a/nightly/conf/georgia-tech-cellbuzz.sendmail b/nightly/conf/georgia-tech-cellbuzz.sendmail
new file mode 100755 (executable)
index 0000000..a65f1e1
--- /dev/null
@@ -0,0 +1,4 @@
+
+#use: subject file-to-mail
+
+/bin/mailx -s "$1" valgrind-developers@lists.sourceforge.net -- -R bart.vanassche@gmail.com -r bart.vanassche@gmail.com < $2