debugging thor stuff in analysis scripts

This commit is contained in:
othocaeS 2016-07-25 17:31:12 -04:00
parent c5ed4d78b5
commit bf4dc5476d

View File

@ -23,6 +23,8 @@ then
echo "─────────────────────────────" >> thor/submissions echo "─────────────────────────────" >> thor/submissions
fi fi
mkdir -p analyses
echo Using lightcurves in $lc_dir. echo Using lightcurves in $lc_dir.
for echo_curve in $lc_dir/* for echo_curve in $lc_dir/*
@ -115,9 +117,9 @@ do
submitscript="thor/${echo_band}.pbs" submitscript="thor/${echo_band}.pbs"
cp tmp.psdlagargs $argsfile cp tmp.psdlagargs $argsfile
cat scripts/templates/thor_submit.pbs| cat scripts/templates/thor_submit.pbs|
sed "s@%ARGSFILE%@${argsfile}@"| sed "s@%ARGSFILE%@${argsfile}@g"|
sed "s@%ROOTDIR%@$(pwd)@"| sed "s@%ROOTDIR%@$(pwd)@g"|
sed "s@%OUTPUTFILE%@${outputfile}@" > $submitscript sed "s@%OUTPUTFILE%@${outputfile}@g" > $submitscript
cd thor cd thor
qsub $submitscript >> submissions qsub $submitscript >> submissions
cd .. cd ..