source: trunk/source/processes/hadronic/models/binary_cascade/test/LightIon/dolist @ 1348

Last change on this file since 1348 was 1199, checked in by garnier, 15 years ago

nvx fichiers dans CVS

  • Property svn:executable set to *
File size: 413 bytes
Line 
1#!/bin/sh
2
3input_dir=`pwd`
4
5while [ $# -gt 0 ]
6do
7  x=`echo $1 | awk -F. '{ print $1 }'`
8  echo "starting for $x";
9  shift
10 
11  [ ! -d $G4WORKDIR/$x.dir ] && mkdir $G4WORKDIR/$x.dir;
12  (cd $G4WORKDIR/$x.dir; \
13    [ -f run.log ] && rm run.log; \
14     rm  -f core.* ; \
15    $G4BIN/Linux-g++/BinaryLightIonReaction < $input_dir/$x.in > run.log 2>&1; \
16    grep -q "Light-ION-SUCESS" run.log && rm core.* \
17  )
18done
Note: See TracBrowser for help on using the repository browser.