Skip to content

Commit

Permalink
Removed transfer file from condor as now we don't have any files to t…
Browse files Browse the repository at this point in the history
…ransfer
  • Loading branch information
ram1123 committed Aug 20, 2024
1 parent e1b6bb2 commit 77e7bc2
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions condor_setup_lxplus.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def main(args):
post_proc_to_run = "post_proc.py"
command = "python "+post_proc_to_run

Transfer_Input_Files = ("keep_and_drop.txt") # FIXME: Generalise this.
# Transfer_Input_Files = ("keep_and_drop.txt") # FIXME: Generalise this.
# Transfer_Input_Files = ("Cert_271036-284044_13TeV_PromptReco_Collisions16_JSON.txt, " +
# "Cert_294927-306462_13TeV_PromptReco_Collisions17_JSON.txt, " +
# "Cert_314472-325175_13TeV_PromptReco_Collisions18_JSON.txt, " +
Expand All @@ -79,12 +79,14 @@ def main(args):
outjdl_file.write("Executable = "+condor_file_name+".sh\n")
outjdl_file.write("Universe = vanilla\n")
outjdl_file.write("Notification = ERROR\n")
outjdl_file.write("Should_Transfer_Files = YES\n")
outjdl_file.write("WhenToTransferOutput = ON_EXIT\n")
outjdl_file.write("Transfer_Input_Files = "+Transfer_Input_Files + ", " + post_proc_to_run+"\n")
outjdl_file.write("Should_Transfer_Files = NO\n")
# outjdl_file.write("WhenToTransferOutput = ON_EXIT\n")
# outjdl_file.write("Transfer_Input_Files = "+Transfer_Input_Files + ", " + post_proc_to_run+"\n")
outjdl_file.write("x509userproxy = $ENV(X509_USER_PROXY)\n")
outjdl_file.write("requirements = TARGET.OpSysAndVer =?= \"AlmaLinux9\"\n")
outjdl_file.write("MY.WantOS = \"el7\"\n")
# outjdl_file.write("requirements = TARGET.OpSysAndVer =?= \"AlmaLinux9\"\n")
# outjdl_file.write("MY.WantOS = \"el7\"\n")
# MY.SingularityImage = "/cvmfs/unpacked.cern.ch/gitlab-registry.cern.ch/cms-cat/cmssw-lxplus/cmssw-el7-lxplus:latest/"
outjdl_file.write("MY.SingularityImage = \"/cvmfs/unpacked.cern.ch/gitlab-registry.cern.ch/cms-cat/cmssw-lxplus/cmssw-el7-lxplus:latest/\"\n")
count = 0
count_jobs = 0
output_string_list = []
Expand Down

0 comments on commit 77e7bc2

Please sign in to comment.