[Commits] [svn:einsteintoolkit] www/release-info/ (Rev. 339)
knarf at cct.lsu.edu
knarf at cct.lsu.edu
Tue Oct 12 12:51:22 CDT 2010
User: knarf
Date: 2010/10/12 12:51 PM
Modified:
/release-info/
compile_tests, run_tests
Log:
update scripts
File Changes:
Directory: /release-info/
=========================
File [modified]: compile_tests
Delta lines: +5 -10
===================================================================
--- release-info/compile_tests 2010-10-12 16:31:36 UTC (rev 338)
+++ release-info/compile_tests 2010-10-12 17:51:22 UTC (rev 339)
@@ -1,20 +1,15 @@
#! /bin/bash
set -e # Abort on errors
-
+CROOT=ET_2010_11
# Ensure that Cactus does not already exist
-test ! -e Cactus
+test ! -e $CROOT
wget http://svn.cactuscode.org/Utilities/trunk/Scripts/GetComponents -O GetComponents
-wget http://svn.einsteintoolkit.org/manifest/einsteintoolkit.th -O einsteintoolkit.th
+wget http://svn.einsteintoolkit.org/manifest/trunk/einsteintoolkit.th -O einsteintoolkit.th
-# Don't build Lorene on pelican for this release. We know how to
-# build it, but we don't want those changes in right now.
-hostname | grep ^peg304 &&
- perl -pi -e 's/^.*LORENE//g; s/^.*Meudon.*$//g' einsteintoolkit.th
-
chmod a+x GetComponents
-./GetComponents -a einsteintoolkit.th
-cd Cactus
+./GetComponents -root $CROOT -a einsteintoolkit.th
+cd $CROOT
cp simfactory/udb.example.pm simfactory/udb.pm
./simfactory/sim build sim --thornlist=../einsteintoolkit.th
File [modified]: run_tests
Delta lines: +5 -1
===================================================================
--- release-info/run_tests 2010-10-12 16:31:36 UTC (rev 338)
+++ release-info/run_tests 2010-10-12 17:51:22 UTC (rev 339)
@@ -2,10 +2,12 @@
#
# 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
+IAM=`whoami`;
+TIME=`date "+%F %T"`
+
cd Cactus
export CCTK_TESTSUITE_RUN_COMMAND="mpirun -np \$nprocs \$exe \$parfile"
@@ -19,5 +21,7 @@
for i in 1 2; do
export CCTK_TESTSUITE_RUN_PROCESSORS=$i
make sim-testsuite PROMPT=no
+ echo "RUN AS USERNAME $IAM" >> TEST/sim/summary.log
+ echo "RUN AT TIME $TIME" >> TEST/sim/summary.log
mv TEST/sim/summary.log ../${HOSTNAME}__${i}.log
done
More information about the Commits
mailing list