Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
lscsoft
lalsuite
Commits
16735a5a
Commit
16735a5a
authored
Jul 03, 2019
by
Vivien Raymond
Committed by
Adam Mercer
Jul 12, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added OMP env
(cherry picked from commit
79074c40
)
parent
2226f234
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
lalinference/python/lalinference/lalinference_pipe_utils.py
lalinference/python/lalinference/lalinference_pipe_utils.py
+1
-0
No files found.
lalinference/python/lalinference/lalinference_pipe_utils.py
View file @
16735a5a
...
...
@@ -2359,6 +2359,7 @@ class EngineJob(SingularityJob,pipeline.CondorDAGJob,pipeline.AnalysisJob):
self
.
add_requirement
(
'CAN_RUN_MULTICORE'
)
self
.
add_condor_cmd
(
'+RequiresMultipleCores'
,
'True'
)
self
.
add_condor_cmd
(
'request_cpus'
,
self
.
machine_count
)
self
.
add_condor_cmd
(
'environment'
,
'OMP_NUM_THREADS='
+
str
(
int
(
ceil
(
int
(
self
.
machine_count
)
/
int
(
self
.
mpi_task_count
)))))
self
.
add_condor_cmd
(
'request_memory'
,
str
(
float
(
self
.
machine_count
)
*
float
(
self
.
machine_memory
)))
if
self
.
engine
==
'lalinferencenest'
:
self
.
add_condor_cmd
(
'request_memory'
,
'4000'
)
# 4GB RAM for high SNR BNS
...
...
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