mpitrampoline: fix wrong use of compiler.cc_names (#46038)
This commit is contained in:
parent
bd71ce5856
commit
82dea7e6ce
@ -84,9 +84,9 @@ def libs(self):
|
||||
def setup_run_environment(self, env):
|
||||
# Because MPI implementations provide compilers, they have to add to
|
||||
# their run environments the code to make the compilers available.
|
||||
env.set("MPITRAMPOLINE_CC", self.compiler.cc_names[0])
|
||||
env.set("MPITRAMPOLINE_CXX", self.compiler.cxx_names[0])
|
||||
env.set("MPITRAMPOLINE_FC", self.compiler.fc_names[0])
|
||||
env.set("MPITRAMPOLINE_CC", self.compiler.cc)
|
||||
env.set("MPITRAMPOLINE_CXX", self.compiler.cxx)
|
||||
env.set("MPITRAMPOLINE_FC", self.compiler.fc)
|
||||
env.set("MPICC", join_path(self.prefix.bin, "mpicc"))
|
||||
env.set("MPICXX", join_path(self.prefix.bin, "mpicxx"))
|
||||
env.set("MPIF77", join_path(self.prefix.bin, "mpifc"))
|
||||
|
Loading…
Reference in New Issue
Block a user