Skip to content

Commit

Permalink
Merge pull request #2774 from zemu-unile/develop
Browse files Browse the repository at this point in the history
update OpenMPI easyblock to fix sanity check for Clang-based compilers
  • Loading branch information
boegel authored Aug 8, 2023
2 parents 8893856 + f6a6312 commit 3f95af4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions easybuild/easyblocks/o/openmpi.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,10 @@ def sanity_check_step(self):
# for PGI, correct pattern is "pgfortran" with mpif90
if expected['mpif90'] == 'pgf90':
expected['mpif90'] = 'pgfortran'
# for Clang the pattern is always clang
for key in ['mpicxx', 'mpifort', 'mpif90']:
if expected[key] in ['clang++', 'flang']:
expected[key] = 'clang'

custom_commands = ["%s --version | grep '%s'" % (key, expected[key]) for key in sorted(expected.keys())]

Expand Down

0 comments on commit 3f95af4

Please sign in to comment.