We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Perhaps this class should generate the following script named runjobs.local:
#!/bin/sh
if [ $# -ne 2 ] ; then echo "$0 " echo "" echo "Runs sequence of CHM tasks" echo "" echo "Ex: $0 1 50" exit 1 fi
start=$1 end=$2
for Y in seq $start $end ; do outfile="/fakechmjob/gordon2/chmrun/stdout/${Y}.out" echo "HOST: $HOSTNAME" > $outfile echo "DATE: date" >> $outfile echo "TASKID: $Y" >> $outfile /usr/bin/time -p /usr/bin/chmrunner.py $Y /fakechmjob/gordon2 --scratchdir /fakechmjob/gordon2/chmrun/tmp --log DEBUG >> $outfile 2>&1
seq $start $end
date
exitcode=$? echo "chmrunner.py exited with code: $exitcode" >> $outfile done
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Perhaps this class should generate the following script named runjobs.local:
#!/bin/sh
if [ $# -ne 2 ] ; then
echo "$0 "
echo ""
echo "Runs sequence of CHM tasks"
echo ""
echo "Ex: $0 1 50"
exit 1
fi
start=$1
end=$2
for Y in
seq $start $end
; dooutfile="/fakechmjob/gordon2/chmrun/stdout/${Y}.out"
echo "HOST: $HOSTNAME" > $outfile
echo "DATE:
date
" >> $outfileecho "TASKID: $Y" >> $outfile
/usr/bin/time -p /usr/bin/chmrunner.py $Y /fakechmjob/gordon2 --scratchdir /fakechmjob/gordon2/chmrun/tmp --log DEBUG >> $outfile 2>&1
exitcode=$?
echo "chmrunner.py exited with code: $exitcode" >> $outfile
done
The text was updated successfully, but these errors were encountered: