Skip to content
Snippets Groups Projects
Commit be401748 authored by Sebastian Achilles's avatar Sebastian Achilles
Browse files

add MSA feature to psmpi EasyBlock

parent e15bbcdc
Branches
Tags
No related merge requests found
...@@ -60,6 +60,7 @@ class EB_psmpi(EB_MPICH): ...@@ -60,6 +60,7 @@ class EB_psmpi(EB_MPICH):
'threaded': [False, "Enable multithreaded build (which is slower)", CUSTOM], 'threaded': [False, "Enable multithreaded build (which is slower)", CUSTOM],
'pscom_allin_path': [None, "Enable pscom integration by giving its source path", CUSTOM], 'pscom_allin_path': [None, "Enable pscom integration by giving its source path", CUSTOM],
'cuda': [False, "Enable CUDA awareness", CUSTOM], 'cuda': [False, "Enable CUDA awareness", CUSTOM],
'msa': [False, "Enable MSA awareness", CUSTOM],
}) })
return extra_vars return extra_vars
...@@ -88,6 +89,10 @@ class EB_psmpi(EB_MPICH): ...@@ -88,6 +89,10 @@ class EB_psmpi(EB_MPICH):
self.log.info("Enabling CUDA-Awareness...") self.log.info("Enabling CUDA-Awareness...")
self.cfg.update('configopts', ' --with-cuda') self.cfg.update('configopts', ' --with-cuda')
if self.cfg['msa']:
self.log.info("Enabling MSA-Awareness...")
self.cfg.update('configopts', ' --with-msa-awareness')
# Set confset # Set confset
comp_fam = self.toolchain.comp_family() comp_fam = self.toolchain.comp_family()
if comp_fam in comp_opts: if comp_fam in comp_opts:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment