[Commits] [svn:einsteintoolkit] www/release-info/ (Rev. 212)
schnetter at cct.lsu.edu
schnetter at cct.lsu.edu
Tue Jun 15 21:16:46 CDT 2010
User: eschnett
Date: 2010/06/15 09:16 PM
Modified:
/release-info/
run_tests
Log:
Abort on errors.
Check for Redshift, running Mac OS X.
File Changes:
Directory: /release-info/
=========================
File [modified]: run_tests
Delta lines: +5 -1
===================================================================
--- release-info/run_tests 2010-06-16 02:15:59 UTC (rev 211)
+++ release-info/run_tests 2010-06-16 02:16:46 UTC (rev 212)
@@ -1,9 +1,11 @@
-#/bin/bash
+#! /bin/bash
#
# philip qsub -I -l nodes=1:ppn=8 -l walltime=01:00:00 -q workq
# queenbee qsub -I -l walltime=01:00:00 -l nodes=1:ppn=8 -A loni_numrel04 -q workq
#
+set -e # Abort on errors
+
cd Cactus
export CCTK_TESTSUITE_RUN_COMMAND="mpirun -np \$nprocs \$exe \$parfile"
@@ -11,6 +13,8 @@
export CCTK_TESTSUITE_RUN_COMMAND="mpirun -machinefile $PBS_NODEFILE -np \$nprocs \$exe \$parfile"
hostname | grep ^qb &&
export CCTK_TESTSUITE_RUN_COMMAND="/usr/local/packages/mvapich2/1.4/intel-11.1/bin/mpirun_rsh -hostfile $PBS_NODEFILE -np \$nprocs /bin/env MV2_ENABLE_AFFINITY=0 \$exe \$parfile"
+hostname | grep macbook-pro.local &&
+ export CCTK_TESTSUITE_RUN_COMMAND="openmpirun -np \$nprocs \$exe \$parfile"
for i in 1 2; do
export CCTK_TESTSUITE_RUN_PROCESSORS=$i
More information about the Commits
mailing list