Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ycai
simbricks
Commits
24ee28c3
Commit
24ee28c3
authored
Nov 04, 2020
by
Antoine Kaufmann
Browse files
experiments: fix memory check in parallel runtime
parent
bc75fa1d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
experiments/modes/runtime.py
experiments/modes/runtime.py
+1
-1
No files found.
experiments/modes/runtime.py
View file @
24ee28c3
...
@@ -90,7 +90,7 @@ class LocalParallelRuntime(Runtime):
...
@@ -90,7 +90,7 @@ class LocalParallelRuntime(Runtime):
enough_cores
=
True
enough_cores
=
True
if
self
.
mem
is
not
None
:
if
self
.
mem
is
not
None
:
enough_mem
=
(
self
.
mem
-
self
.
cores
_used
)
>=
exp
.
resreq_
cores
()
enough_mem
=
(
self
.
mem
-
self
.
mem
_used
)
>=
exp
.
resreq_
mem
()
else
:
else
:
enough_mem
=
True
enough_mem
=
True
...
...
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