Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Corryvreckan
Corryvreckan
Commits
dc5c1bb4
Commit
dc5c1bb4
authored
Dec 19, 2018
by
Jens Kroeger
Browse files
jobsub: add absolute path for config file
parent
3b7a8540
Changes
1
Hide whitespace changes
Inline
Side-by-side
jobsub/jobsub.py
View file @
dc5c1bb4
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment