Gitlab is now running v13.9.0 - More info -> here <-

Commit 73d0d85e authored by Plaszczynski Stephane's avatar Plaszczynski Stephane

adaptions to read cml files (backward compatible)

parent a4269d0f
......@@ -49,8 +49,7 @@ fi
parbase=$(basename $file)
dirout=${parbase%".par"}_"min"
dirout=$(echo $parbase | awk -F"." '{NF--;printf($0)}')_"min"
OUTDIR=$PWD/$dirout
......@@ -115,7 +114,7 @@ RANDOM=\${SGE_TASK_ID}
awk -v seed=\$RANDOM -f genrand.awk parfile_in > parfile
fi
cp parfile $OUTDIR/camel\${SGE_TASK_ID}.par
cp parfile $OUTDIR/camel\${SGE_TASK_ID}.cml
echo "***************************************************************"
#================================
# Camel run
......
......@@ -26,7 +26,8 @@ fi
parFile=$(readlink -e $file)
parbase=$(basename $parFile)
dirout=${parbase%".par"}_"MC"
#rm extension (whatever it is)
dirout=$(echo $parbase | awk -F"." '{NF--;printf($0)}')_"MC"
zeroot=$PWD/$dirout
......@@ -111,9 +112,7 @@ cp $parbase $PWD/camel.par
./$localexec $parbase $PWD/samples\${SGE_TASK_ID}.txt
cp ar_vs_length.txt $PWD/ar_vs_length\${SGE_TASK_ID}.txt
cp scale_vs_length.txt $PWD/scale_vs_length\${SGE_TASK_ID}.txt
cp corr.txt $PWD/corr\${SGE_TASK_ID}.txt
cp *.txt $PWD/
qstat -j \${JOB_ID} -nenv
eof
......
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