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

Re: [HTCondor-users] stdout not streamed back - stream_output = true

Hello all,

I am very new to HTCondor. I have an urgent issue. The condor_q command is not functioning. I'm getting the following output:

root@rhw1143 condor]# condor_q

-- Failed to fetch ads from: <> : rhw1143.star1.nesdis.noaa.gov
SECMAN:2007:Failed to end classad message.

Please Help!

On Tue, May 24, 2016 at 1:23 PM, Lukas Koschmieder <Lukas.Koschmieder@xxxxxxxxxxxxxxxxxxx> wrote:
Hi all,

I use Condor 8.3.8 (EPEL repo) on a CentOS 7 server (VirtualBox). Everything works fine except that stdout is not streamed back. The output file remains empty until the job is completed. What could be the reason for that?
* My Condor job is set up to use the Vanilla universe
* stream_output is enabled
* I use the default Condor configuration (unaltered)
* My Condor "cluster" consists of a single node
* The node acts as collector/negotiator, scheduler and starter

My Condor job description file:
ÂÂÂ universe = vanilla
ÂÂÂ executable = sleep.py
ÂÂÂ arguments = A 60
ÂÂÂ transfer_executable = true
ÂÂÂ stream_output = true
ÂÂÂ should_transfer_files = yes
ÂÂÂ output = A.out.txt
ÂÂÂ error = A.err.txt
ÂÂÂ log = A.log.txt
ÂÂÂ queue

My executable (prints a string to stdout (approx.) every second):
ÂÂÂ #!/bin/python
ÂÂÂ import sys, time
ÂÂÂ name = sys.argv[1]
ÂÂÂ delay = sys.argv[2]
ÂÂÂ for i in range(1, int(delay) + 1):
ÂÂÂÂÂÂÂ print(name + " " + str(i) + "/" + delay)
ÂÂÂÂÂÂÂ time.sleep(1)

Best regards,

HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting

The archives can be found at: