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,
Lukas
_______________________________________________
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/