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
c8038e98
Commit
c8038e98
authored
Dec 19, 2018
by
Jens Kroeger
Browse files
correct typos
parent
7a0da816
Changes
1
Hide whitespace changes
Inline
Side-by-side
jobsub/jobsub.py
View file @
c8038e98
...
...
@@ -194,7 +194,6 @@ def runCorryvreckan(filenamebase, jobtask, silent):
log
.
debug
(
"Found Corryvreckan executable: "
+
cmd
)
else
:
log
.
error
(
"Corryvreckan executable not found in PATH!"
)
log
.
error
(
os
.
getcwd
())
exit
(
1
)
# search for stdbuf command: adjust stdout buffering
...
...
@@ -320,8 +319,7 @@ def submitCondor(filenamebase, jobtask, subfile, runnr):
log
.
error
(
"condor_submit executable not found in PATH!"
)
exit
(
1
)
# Add condor_submit parameters: ### WORK ON THIS!!!
#qsub -@ qsubParams.txt BIN
# Add condor_submit parameters:
cmd
=
cmd
+
" -batch-name
\"
Run"
+
runnr
+
"
\"
"
# check for Corryvreckan executable
...
...
@@ -341,7 +339,7 @@ def submitCondor(filenamebase, jobtask, subfile, runnr):
rcode
=
None
# the return code that will be set by a later subprocess method
try
:
# run process
log
.
info
(
"Now submitting Corryvreckan job: "
+
filenamebase
+
".conf to HTC
O
ndor"
)
log
.
info
(
"Now submitting Corryvreckan job: "
+
filenamebase
+
".conf to HTC
o
ndor"
)
log
.
debug
(
"Executing: "
+
cmd
)
os
.
popen
(
cmd
)
except
OSError
,
e
:
...
...
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