diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/esmf/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/esmf/package.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/esmf/package.py b/var/spack/repos/builtin/packages/esmf/package.py index ff9304e59d..141bed0db8 100644 --- a/var/spack/repos/builtin/packages/esmf/package.py +++ b/var/spack/repos/builtin/packages/esmf/package.py @@ -190,7 +190,8 @@ class Esmf(MakefilePackage): # The mpich 3 series split apart the Fortran and C bindings, # so we link the Fortran libraries when building C programs: os.environ['ESMF_CXXLINKLIBS'] = '-lmpifort' - elif '^openmpi' in spec: + elif '^openmpi' in spec or \ + '^hpcx-mpi' in spec: os.environ['ESMF_COMM'] = 'openmpi' elif '^intel-parallel-studio+mpi' in spec or \ '^intel-mpi' in spec or \ |