|
Last change
on this file since 1199 was 1199, checked in by garnier, 16 years ago |
|
nvx fichiers dans CVS
|
-
Property svn:executable
set to
*
|
|
File size:
319 bytes
|
| Line | |
|---|
| 1 | #!/bin/sh
|
|---|
| 2 |
|
|---|
| 3 | input_dir=`pwd`
|
|---|
| 4 |
|
|---|
| 5 | for x in `ls -1 *.in | awk -F. '{ print $1 }'`
|
|---|
| 6 | do
|
|---|
| 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 | )
|
|---|
| 14 | done
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.