Hi Romain,
Thank you very much for the answer!
When I add this line (without the quotes):
transfer_output_files = OutFile.root
I have the following result:
error reading from /pool/condor/dir_*/OutFile.root: (errno 2) No such file or directory; SHADOW failed to receive file(s) from ...
Yet, I'm sure that my pyROOT script creates a file named "OutFile.root".
Maybe the ROOT files created with the "RECREATE" option are not detected by HTCondor?
Best regards,
Nathan LallouÃ
Hi Nathan,Â
I think you are missing transfer_output_files, put in your condor submit file both lines below:
transfer_output_files = "OutFile.root"
transfer_output_remap = "OutFile.root = myName_$(Process).root"
Because the first line tells condor the name of the output file and the second tells condor to remap it.
I hope it will work,
Best regards,
Romain Bouquet
Dear HTCondor community,
I am trying to run a script in python that makes use of ROOT, named "my_code.py" here.
This code reads the ROOT input file and creates an other one from it, named "OutFile.root", with the following line:
OutFile = ROOT.TFile("OutFile.root", "RECREATE")
Then, I run this script with HTCondor, with the following submit description file:
executable       = my_code.py
arguments       Â= $(myfile)
output         = output/job.$(ClusterId).$(ProcId).out
error         Â= error/job.$(ClusterId).$(ProcId).err
log          Â= log/job.$(ClusterId).log
transfer_input_files  = $(myfile)
transfer_output_remaps = "OutFile.root = myName_$(Process).root"
queue myfile matching *.root
I don't have any apparent error, but when I check in my submit directory, no file is created.
Could you please tell me what I am doing in a wrong way?
Thank you very much in advance.
Best regards,
Nathan
_______________________________________________
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/
_______________________________________________
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-usersThe archives can be found at:
https://lists.cs.wisc.edu/archive/htcondor-users/