Add detection for hpcx-mpi in esmf (#30280)
This commit is contained in:
parent
653ed78645
commit
a10f5656ab
@ -190,7 +190,8 @@ def edit(self, spec, prefix):
|
||||
# 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 \
|
||||
|
Loading…
Reference in New Issue
Block a user