NEC toolchain settings corrected
This commit is contained in:
parent
33bb44d54b
commit
c30dfc35b9
|
@ -44,9 +44,9 @@ def set_toolchain(compiler, mpi):
|
||||||
cxx = "mpicxx"
|
cxx = "mpicxx"
|
||||||
fc = "mpif90"
|
fc = "mpif90"
|
||||||
elif mpi == "necmpi":
|
elif mpi == "necmpi":
|
||||||
cc = "mpicc -vh"
|
cc = "\"mpincc -vh\""
|
||||||
cxx = "mpic++ -vh"
|
cxx = "\"mpinc++ -vh\""
|
||||||
fc = "mpinfort -vh"
|
fc = "\"mpinfort -vh\""
|
||||||
os.environ["NMPI_CC_H"] = "gcc"
|
os.environ["NMPI_CC_H"] = "gcc"
|
||||||
os.environ["NMPI_CXX_H"] = "g++"
|
os.environ["NMPI_CXX_H"] = "g++"
|
||||||
os.environ["NMPI_FC_H"] = "gfortran"
|
os.environ["NMPI_FC_H"] = "gfortran"
|
||||||
|
@ -65,9 +65,9 @@ def set_toolchain(compiler, mpi):
|
||||||
cxx = "\"mpicxx -cxx=clang++\""
|
cxx = "\"mpicxx -cxx=clang++\""
|
||||||
fc = "\"mpif90 -fc=flang\""
|
fc = "\"mpif90 -fc=flang\""
|
||||||
elif mpi == "necmpi":
|
elif mpi == "necmpi":
|
||||||
cc = "mpicc -vh"
|
cc = "\"mpincc -vh\""
|
||||||
cxx = "mpic++ -vh"
|
cxx = "mpic++ -vh"
|
||||||
fc = "mpinfort -vh"
|
fc = "\"mpinfort -vh\""
|
||||||
os.environ["NMPI_CC_H"] = "clang"
|
os.environ["NMPI_CC_H"] = "clang"
|
||||||
os.environ["NMPI_CXX_H"] = "clang++"
|
os.environ["NMPI_CXX_H"] = "clang++"
|
||||||
os.environ["NMPI_FC_H"] = "flang"
|
os.environ["NMPI_FC_H"] = "flang"
|
||||||
|
@ -86,9 +86,9 @@ def set_toolchain(compiler, mpi):
|
||||||
cxx = "mpiicpc"
|
cxx = "mpiicpc"
|
||||||
fc = "mpiifort"
|
fc = "mpiifort"
|
||||||
elif mpi == "necmpi":
|
elif mpi == "necmpi":
|
||||||
cc = "mpicc -vh"
|
cc = "\"mpincc -vh\""
|
||||||
cxx = "mpic++ -vh"
|
cxx = "mpic++ -vh"
|
||||||
fc = "mpinfort -vh"
|
fc = "\"mpinfort -vh\""
|
||||||
os.environ["NMPI_CC_H"] = "icc"
|
os.environ["NMPI_CC_H"] = "icc"
|
||||||
os.environ["NMPI_CXX_H"] = "icpc"
|
os.environ["NMPI_CXX_H"] = "icpc"
|
||||||
os.environ["NMPI_FC_H"] = "ifort"
|
os.environ["NMPI_FC_H"] = "ifort"
|
||||||
|
|
Loading…
Reference in New Issue