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

Re: [Condor-users] Python script output.



Hi,

Try adding getenv = True to your submit file.

Armen

I am submitting the following python script(test.py):
# test.py
print "ouput from python program successfully printed!!"
print "finally!!"

using this description file:
# test.condor

universe = vanilla
executable = test.bat
input = test.py
output = test.out
log = test.log

queue

The executable test.bat contains:
echo "testing submit of python script..."
python test.py

The job is run successfully. However, test.out only contains:
"testing submit of python script..."

Why is the output from the python script not added to test.out? All machines in the pool have python installed and added to the path environment variable. Also, test.bat works perfectly when run directly on the command prompt. Please help.

_______________________________________________
Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/condor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/condor-users/



--
Armen Babikyan
MIT Lincoln Laboratory
armenb@xxxxxxxxxx . 781-981-1796