esmf: set ESMF_COMM=intelmpi also for ^intel-mpi (#17387)
Not only intel-parallel-studio+mpi provides Intel MPI but also intel-mpi.
This commit is contained in:
parent
29fc94e29e
commit
b3bc538df6
@ -169,7 +169,7 @@ def edit(self, spec, prefix):
|
||||
os.environ['ESMF_CXXLINKLIBS'] = '-lmpifort'
|
||||
elif '^openmpi' in spec:
|
||||
os.environ['ESMF_COMM'] = 'openmpi'
|
||||
elif '^intel-parallel-studio+mpi' in spec:
|
||||
elif '^intel-parallel-studio+mpi' in spec or '^intel-mpi' in spec:
|
||||
os.environ['ESMF_COMM'] = 'intelmpi'
|
||||
else:
|
||||
# Force use of the single-processor MPI-bypass library.
|
||||
|
Loading…
Reference in New Issue
Block a user