Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ocean
GHODDESS-release
Commits
d3beff72
Commit
d3beff72
authored
Nov 03, 2022
by
Samuel Kemmler
Browse files
Adapt job script to new Meggie modules
parent
316eaaf7
Pipeline
#47560
passed with stage
in 30 minutes and 21 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/printer/jobScript.py
View file @
d3beff72
...
...
@@ -138,9 +138,9 @@ def print_jobScript(config: ConfigMaster):
print
(
f
"export OMP_NUM_THREADS=
{
config
.
omp_num_threads
}
"
,
file
=
f
)
print
(
"unset SLURM_EXPORT_ENV"
,
file
=
f
)
if
config
.
compiler
==
"icc"
:
print
(
"module load intel
64/17.0up05
likwid
/5.2.0
"
,
file
=
f
)
print
(
"module load intel
intelmpi
likwid"
,
file
=
f
)
elif
config
.
compiler
==
"gcc"
:
print
(
"module load intelmpi
/2019up05-gnu gcc/8.1.0
likwid
/5.2.0
"
,
file
=
f
)
print
(
"module load intelmpi likwid"
,
file
=
f
)
else
:
raise
ValueError
(
"Compiler not supported. Should be either icc or gcc."
)
print
(
""
,
file
=
f
)
...
...
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