Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[HTCondor-users] condor_q typo or bug?
- Date: Thu, 6 Feb 2014 14:21:03 +0100
- From: Pek Daniel <pekdaniel@xxxxxxxxx>
- Subject: [HTCondor-users] condor_q typo or bug?
This is from condor_q manpage:
-stream-results
Display results as jobs are fetched from the job queue rather than
storing results in memory until all jobs have been fetched. This
can reduce memory consumption when fetching large numbers of jobs, but
if condor_q is paused while displaying results, this could result in a
timeout in communication with condor_schedd .
The part which should take care of the "-stream-results" parameter:
https://github.com/htcondor/htcondor/blob/master/src/condor_q.V6/queue.cpp#L1826-1833
This is the relevant snippet of prefix-matching argparsing code:
https://github.com/htcondor/htcondor/blob/master/src/condor_utils/match_prefix.cpp#L44-53
So is_arg_prefix("stream-result", "stream", 2); won't match.
Possible fixes:
- rename the argument to "-stream"
- change this line
https://github.com/htcondor/htcondor/blob/master/src/condor_q.V6/queue.cpp#L1826
to
if (is_arg_prefix (arg, "stream-results", 2)) {
- remove this line
https://github.com/htcondor/htcondor/blob/master/src/condor_utils/match_prefix.cpp#L53
I might be wrong btw...
Cheers,
Daniel