[Commits] [svn:einsteintoolkit] www/ (Rev. 202)
knarf at cct.lsu.edu
knarf at cct.lsu.edu
Mon Jun 14 09:42:19 CDT 2010
User: knarf
Date: 2010/06/14 09:42 AM
Added:
/release-info/
compile_tests, run_tests
Log:
two small scripts to compile and run the ET set
Directory Changes:
Directory: /svn:executable/
===========================
+ *
File Changes:
Directory: /release-info/
=========================
File [added]: compile_tests
Delta lines: +7 -0
===================================================================
--- release-info/compile_tests (rev 0)
+++ release-info/compile_tests 2010-06-14 14:42:19 UTC (rev 202)
@@ -0,0 +1,7 @@
+#/bin/bash
+wget https://svn.cactuscode.org/Utilities/trunk/Scripts/GetComponents -O GetComponents
+chmod a+x GetComponents
+./GetComponents -a http://svn.einsteintoolkit.org/manifest/einsteintoolkit.th
+cd Cactus
+cp simfactory/udb.example.pm simfactory/udb.pm
+./simfactory/sim build sim -thornlist ../einsteintoolkit.th
Property changes on: release-info/compile_tests
___________________________________________________________________
File [added]: run_tests
Delta lines: +19 -0
===================================================================
--- release-info/run_tests (rev 0)
+++ release-info/run_tests 2010-06-14 14:42:19 UTC (rev 202)
@@ -0,0 +1,19 @@
+#/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
+#
+
+cd Cactus
+
+export CCTK_TESTSUITE_RUN_COMMAND="mpirun -np \$nprocs \$exe \$parfile"
+hostname | grep ^philip &&
+ 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"
+
+for i in 1 2; do
+ export CCTK_TESTSUITE_RUN_PROCESSORS=$i
+ make sim-testsuite PROMPT=no
+ mv TEST/sim/summary.log ../${HOSTNAME}__${i}.log
+done
Property changes on: release-info/run_tests
___________________________________________________________________
More information about the Commits
mailing list