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

[HTCondor-users] Bug in condor_qsub



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