Commit bf31615f authored by Jens Kroeger's avatar Jens Kroeger
Browse files

jobsub: add absolute path for config file

parent d7e44a34
......@@ -331,7 +331,7 @@ def submitCondor(filenamebase, jobtask, subfile, runnr):
log.error("Corryvreckan executable not found in PATH!")
exit(1)
cmd = cmd+" arguments=\"-c "+filenamebase+".conf\""
cmd = cmd+" arguments=\"-c "+os.path.abspath(filenamebase+".conf")+"\""
# Add Condor submission configuration file:
cmd = cmd+" "+subfile
......@@ -343,7 +343,7 @@ def submitCondor(filenamebase, jobtask, subfile, runnr):
log.debug ("Executing: "+cmd)
os.popen(cmd)
except OSError, e:
log.critical("Problem with NAF submission: Command '%s' resulted in error #%s, %s", cmd, e.errno, e.strerror)
log.critical("Problem with HTCondor submission: Command '%s' resulted in error #%s, %s", cmd, e.errno, e.strerror)
exit(1)
return 0
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment