summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Cohn <robert.s.cohn@intel.com>2024-06-20 07:46:32 -0400
committerGitHub <noreply@github.com>2024-06-20 13:46:32 +0200
commit0cec923e0a425ebe4df7644e970442d49855e362 (patch)
tree106eab6a191a7e50aebeadac6bd551644aead50d
parentb97b001dadf8469d8bdc5bc2394c8939570e6728 (diff)
downloadspack-0cec923e0a425ebe4df7644e970442d49855e362.tar.gz
spack-0cec923e0a425ebe4df7644e970442d49855e362.tar.bz2
spack-0cec923e0a425ebe4df7644e970442d49855e362.tar.xz
spack-0cec923e0a425ebe4df7644e970442d49855e362.zip
intel-oneapi-mpi: update mpi wrappers to icx variants (#44688)
-rw-r--r--var/spack/repos/builtin/packages/intel-oneapi-mpi/package.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/var/spack/repos/builtin/packages/intel-oneapi-mpi/package.py b/var/spack/repos/builtin/packages/intel-oneapi-mpi/package.py
index 9f9f9ce2ed..8b28adb605 100644
--- a/var/spack/repos/builtin/packages/intel-oneapi-mpi/package.py
+++ b/var/spack/repos/builtin/packages/intel-oneapi-mpi/package.py
@@ -151,10 +151,10 @@ class IntelOneapiMpi(IntelOneApiLibraryPackage):
self.spec.mpif77 = join_path(self.component_prefix.bin, "mpif77")
self.spec.mpifc = join_path(self.component_prefix.bin, "mpifc")
else:
- self.spec.mpicc = join_path(self.component_prefix.bin, "mpiicc")
- self.spec.mpicxx = join_path(self.component_prefix.bin, "mpiicpc")
- self.spec.mpif77 = join_path(self.component_prefix.bin, "mpiifort")
- self.spec.mpifc = join_path(self.component_prefix.bin, "mpiifort")
+ self.spec.mpicc = join_path(self.component_prefix.bin, "mpiicx")
+ self.spec.mpicxx = join_path(self.component_prefix.bin, "mpiicpx")
+ self.spec.mpif77 = join_path(self.component_prefix.bin, "mpiifx")
+ self.spec.mpifc = join_path(self.component_prefix.bin, "mpiifx")
def setup_dependent_build_environment(self, env, dependent_spec):
dependent_module = dependent_spec.package.module
@@ -172,11 +172,11 @@ class IntelOneapiMpi(IntelOneApiLibraryPackage):
env.set("MPIF90", join_path(self.component_prefix.bin, "mpif90"))
env.set("MPIFC", join_path(self.component_prefix.bin, "mpifc"))
else:
- env.set("MPICC", join_path(self.component_prefix.bin, "mpiicc"))
- env.set("MPICXX", join_path(self.component_prefix.bin, "mpiicpc"))
- env.set("MPIF77", join_path(self.component_prefix.bin, "mpiifort"))
- env.set("MPIF90", join_path(self.component_prefix.bin, "mpiifort"))
- env.set("MPIFC", join_path(self.component_prefix.bin, "mpiifort"))
+ env.set("MPICC", join_path(self.component_prefix.bin, "mpiicx"))
+ env.set("MPICXX", join_path(self.component_prefix.bin, "mpiicpx"))
+ env.set("MPIF77", join_path(self.component_prefix.bin, "mpiifx"))
+ env.set("MPIF90", join_path(self.component_prefix.bin, "mpiifx"))
+ env.set("MPIFC", join_path(self.component_prefix.bin, "mpiifx"))
env.set("I_MPI_ROOT", self.component_prefix)