[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HTCondor-users] Bug in condor_qsub



Thank you for letting us know about this and showing us exactly how to fix condor_qsub.

This is actually a bug in condor_submit,  The documentation states that
    condor_submit -
should read the submit file from stdin, but inclusion of the -interactive option changed it so that a bare "-" is now interpreted by the code as "interactive".  This was not an intentional change.

For the next stable release of HTCondor (8.0.3) we will make minimal changes to the command line parsing code of condor_submit so that "-" gets back it's former behavior.

-tj

On 9/9/2013 4:13 AM, Chris Filo Gorgolewski wrote:
Due to addition of interactive mode behaviour of "-" changed breaking condor_qsub. The following patch will fix it. It would be fantastic if this was incorporated in the next release.

--- /usr/bin/condor_qsub 2013-07-24 12:45:27.000000000 +0200
+++ /home/raid3/gorgolewski/bin/condor_qsub 2013-09-09 11:06:12.865587821 +0200
@@ -1100,7 +1100,7 @@
  if [ -n "$job_deps" ]; then
  sentinel_file="$(mktemp --tmpdir cluster${cluster_id}_sentinel.XXXXXXXXXXXXX)"
  create_dep_sentinel $sentinel_file "$job_deps" "$cluster_id"
- condor_submit - < $sentinel_file.submit > /dev/null
+ condor_submit < $sentinel_file.submit > /dev/null
  [ $condor_keep_files -eq 0 ] && rm $sentinel_file.submit || true
  fi
 else


Best,
Chris


_______________________________________________
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/htcondor-users/