intel-oneapi-mpi: update mpi wrappers to icx variants (#44688)

This commit is contained in:
Robert Cohn 2024-06-20 07:46:32 -04:00 committed by GitHub
parent b97b001dad
commit 0cec923e0a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -151,10 +151,10 @@ def setup_dependent_package(self, module, dep_spec):
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 @@ def setup_dependent_build_environment(self, env, dependent_spec):
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)