Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Packages
chemical_checker
Commits
865c890f
Commit
865c890f
authored
Jul 06, 2021
by
Martino Bertoni
🌋
Browse files
removing the memory parameters from slurms.py because of StarLife policy
parent
d37e10a6
Pipeline
#2468
failed with stages
in 64 minutes and 6 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
package/chemicalchecker/util/hpc/slurm.py
View file @
865c890f
...
...
@@ -106,7 +106,7 @@ fi
elements
=
kwargs
.
get
(
"elements"
,
[])
compress_out
=
kwargs
.
get
(
"compress"
,
True
)
check_error
=
kwargs
.
get
(
"check_error"
,
True
)
memory
=
kwargs
.
get
(
"memory"
,
2
)
#
memory = kwargs.get("memory", 2)
maxtime
=
kwargs
.
get
(
"time"
,
None
)
cpusafe
=
kwargs
.
get
(
"cpusafe"
,
True
)
...
...
@@ -139,8 +139,8 @@ fi
jobParams
.
append
(
"#SBATCH --nodes=1"
)
jobParams
.
append
(
"#SBATCH --ntasks="
+
str
(
cpu
))
if
memory
>
1
:
jobParams
.
append
(
"#SBATCH --mem="
+
str
(
memory
)
+
"G"
)
#
if memory > 1:
#
jobParams.append("#SBATCH --mem=" + str(memory) + "G")
if
maxtime
is
not
None
:
jobParams
.
append
(
...
...
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