diff options
-rw-r--r-- | var/spack/repos/builtin/packages/intel-oneapi-mpi/package.py | 18 |
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) |