Skip to content
Snippets Groups Projects
Commit d6ab9a4d authored by Damian Alvarez's avatar Damian Alvarez
Browse files

Enable building psmpi with NVHPC

parent e729a75f
Branches
No related tags found
No related merge requests found
...@@ -214,6 +214,7 @@ class EB_psmpi(EB_MPICH): ...@@ -214,6 +214,7 @@ class EB_psmpi(EB_MPICH):
toolchain.GCC: 'gcc', toolchain.GCC: 'gcc',
toolchain.INTELCOMP: 'intel', toolchain.INTELCOMP: 'intel',
toolchain.PGI: 'pgi', toolchain.PGI: 'pgi',
toolchain.NVHPC: 'nvhpc',
} }
# ParaStationMPI defines its environment through confsets. So these should be unset # ParaStationMPI defines its environment through confsets. So these should be unset
...@@ -229,6 +230,9 @@ class EB_psmpi(EB_MPICH): ...@@ -229,6 +230,9 @@ class EB_psmpi(EB_MPICH):
# 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:
if comp_opts[comp_fam] is comp_opts[toolchain.NVHPC]:
self.cfg.update('configopts', ' --with-confset=%s' % comp_opts[toolchain.PGI])
else:
self.cfg.update('configopts', ' --with-confset=%s' % comp_opts[comp_fam]) self.cfg.update('configopts', ' --with-confset=%s' % comp_opts[comp_fam])
else: else:
raise EasyBuildError("Compiler %s not supported. Valid options are: %s", raise EasyBuildError("Compiler %s not supported. Valid options are: %s",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment