Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Corryvreckan
Corryvreckan
Commits
bf31615f
Commit
bf31615f
authored
Dec 19, 2018
by
Jens Kroeger
Browse files
jobsub: add absolute path for config file
parent
d7e44a34
Changes
1
Hide whitespace changes
Inline
Side-by-side
jobsub/jobsub.py
View file @
bf31615f
...
...
@@ -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
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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