source: trunk/source/processes/hadronic/models/binary_cascade/test/LightIon/doall @ 1199

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

nvx fichiers dans CVS

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