Commit 0515a3f1 authored by Pierre Cazenave's avatar Pierre Cazenave

Merge branch 'master' of

parents a520af03 0a775e7a
......@@ -74,7 +74,7 @@ echo "$NNODES $NTASKS"
echo "running fvcom ..."
time mpirun -np $NTASKS $EXE --casename $CASENAME --dbg=0 | tee $LF
for node in `cat $PBS_NODEFILE | uniq ` ; do ssh $node "rm -f $CFILE" ; done
......@@ -48,6 +48,7 @@ for ((m=0; m<${#MODELS[@]}; m++)); do
# Fix the PBS file.
sed "s,__NODES__,$NODES,g;s,__TPN__,$TPN,g;s,__POPMOD__,HP,g;s,__TASKS__,$PROCS,g" $TEMPLATE > $PBS
sed -i "s,__SUFFIX__,tst_$SUFFIX,g" $PBS
sed -i 's,^RUNDIR=/home_nfs/pica/models/FVCOM/fvcom-examples/Estuary/run,RUNDIR=/home_nfs/pica/models/FVCOM/fvcom-examples/Estuary/run/launch/'${SUFFIX}',g' $PBS
#sed -i 's/^CASENAME=tst/CASENAME=tst_'${SUFFIX}'/g' $PBS
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment