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:
413 bytes
|
Line | |
---|
1 | #!/bin/sh |
---|
2 | |
---|
3 | input_dir=`pwd` |
---|
4 | |
---|
5 | while [ $# -gt 0 ] |
---|
6 | do |
---|
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 | ) |
---|
18 | done |
---|
Note: See
TracBrowser
for help on using the repository browser.