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

Re: [HTCondor-users] getting logs before completion



On 10/8/2014 12:48 PM, Roshan Chaudhari wrote:
Hi,
      Right now we get the log of the job when it completes, is it possible
to get the intermediate log while the job is running??

Thanks,
Roshan

So by the above, do you mean your vanilla universe job is creating a file as it runs, you are asking HTCondor to transfer files back upon completion of the job, and you want to peek at the contents of that file before your job completes?

If so, the answer is yes, you could use condor_tail.  See
  http://research.cs.wisc.edu/htcondor/manual/current/condor_tail.html

Alternatively, if the file in question you want to see while the job is running happens to be either stdout or stderr, you could put
  stream_output = true
or
  stream_error = true
in your job submit file.  See the condor_submit man page for details.


Hope the above helps,
Todd