[Rivet-svn] r2525 - in validation/scripts: . pythia6

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Thu Jun 24 16:23:36 BST 2010


Author: hoeth
Date: Thu Jun 24 16:23:47 2010
New Revision: 2525

Log:
new validation script for ATLAS_2010_S8591806

Added:
   validation/scripts/pythia6/run_XXX_ATLAS_2010_S8591806.sh   (contents, props changed)
Modified:
   validation/scripts/README

Modified: validation/scripts/README
==============================================================================
--- validation/scripts/README	Thu Jun 24 10:47:43 2010	(r2524)
+++ validation/scripts/README	Thu Jun 24 16:23:47 2010	(r2525)
@@ -2,7 +2,7 @@
 the placeholder for a run number or run id. One possible way to create
 scripts that can directly be submitted to a batch system is:
 
-for n in MC09 Perugia0 Perugia6 Perugiastar profCTEQ6ll profLOstar profMRSTMCal profQ2 profpT tuneA tuneDW
+for n in AMBT1 MC09 Perugia0 Perugia6 Perugiastar profCTEQ6ll profLOstar profMRSTMCal profQ2 profpT tuneA tuneDW
   do
     for name in run_XXX_*sh
       do

Added: validation/scripts/pythia6/run_XXX_ATLAS_2010_S8591806.sh
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ validation/scripts/pythia6/run_XXX_ATLAS_2010_S8591806.sh	Thu Jun 24 16:23:47 2010	(r2525)
@@ -0,0 +1,53 @@
+#!/bin/bash 
+
+### Set some paths
+if [ -z $PREFIX ] ; then
+  export PREFIX=$HOME/installation/local
+fi
+if [ -z $RUNDIR ] ; then
+  export RUNDIR=$HOME/rundir/gallery_plots
+fi
+if [ -z $PYTHONVERSION ] ; then
+  export PYTHONVERSION=2.4
+fi
+if [ -z $AGILE_GEN_PATH ] ; then
+  export AGILE_GEN_PATH=$PREFIX/../build
+fi
+if [ -z $NEVENTS ] ; then
+  export NEVENTS=3000000
+fi
+
+export PATH=$PREFIX/bin:$PATH
+export LD_LIBRARY_PATH=$PREFIX/lib:$LD_LIBRARY_PATH
+export PYTHONPATH=$PYTHONPATH:$PREFIX/lib64/python$PYTHONVERSION/site-packages:$PREFIX/lib/python$PYTHONVERSION/site-packages
+
+### Jobnumber and directory for the output files
+export JOBNUMBER=XXX
+export OUTDIR=$RUNDIR/mc/$JOBNUMBER
+
+### Energise!
+export WORKDIR=$OUTDIR/ATLAS_2010_S8591806
+rm -rf $WORKDIR
+mkdir $WORKDIR
+cd $WORKDIR
+ln -s ../used_params .
+# ready to go ...
+rm -f pipe.hepmc
+mkfifo pipe.hepmc
+rivet -a ATLAS_2010_S8591806 \
+      -n $NEVENTS pipe.hepmc &> rivet.log &
+
+agile-runmc Pythia6:422 \
+      -P lhc900.params \
+      -P fpythia-minbias.params \
+      -P used_params \
+      -n $NEVENTS \
+      -o pipe.hepmc &> agile.log
+
+# Make sure we don't exit before rivet is done
+sleep 30
+
+# Cleanup
+rm -f pipe.hepmc
+
+exit 0


More information about the Rivet-svn mailing list