removed unnecessary quotation marks

This commit is contained in:
Patrick Lipka 2022-09-30 13:50:19 +02:00
parent c6a4d9f909
commit 649b5c39d5
1 changed files with 10 additions and 10 deletions

View File

@ -53,9 +53,9 @@ def set_toolchain(compiler, mpi):
cxx = "mpicxx"
fc = "mpif90"
elif mpi == "necmpi":
cc = "\"mpincc -vh\""
cxx = "\"mpinc++ -vh\""
fc = "\"mpinfort -vh\""
cc = "mpincc -vh"
cxx = "mpinc++ -vh"
fc = "mpinfort -vh"
os.environ["NMPI_CC_H"] = "gcc"
os.environ["NMPI_CXX_H"] = "g++"
os.environ["NMPI_FC_H"] = "gfortran"
@ -70,13 +70,13 @@ def set_toolchain(compiler, mpi):
os.environ["OMPI_MPIF90"] = "flang"
os.environ["OMPI_MPIF77"] = "flang"
elif (mpi == "intelmpi"):
cc = "\"mpicc -cc=clang\""
cxx = "\"mpicxx -cxx=clang++\""
fc = "\"mpif90 -fc=flang\""
cc = "mpicc -cc=clang"
cxx = "mpicxx -cxx=clang++"
fc = "mpif90 -fc=flang"
elif mpi == "necmpi":
cc = "\"mpincc -vh\""
cc = "mpincc -vh"
cxx = "mpic++ -vh"
fc = "\"mpinfort -vh\""
fc = "mpinfort -vh"
os.environ["NMPI_CC_H"] = "clang"
os.environ["NMPI_CXX_H"] = "clang++"
os.environ["NMPI_FC_H"] = "flang"
@ -95,9 +95,9 @@ def set_toolchain(compiler, mpi):
cxx = "mpiicpc"
fc = "mpiifort"
elif mpi == "necmpi":
cc = "\"mpincc -vh\""
cc = "mpincc -vh"
cxx = "mpic++ -vh"
fc = "\"mpinfort -vh\""
fc = "mpinfort -vh"
os.environ["NMPI_CC_H"] = "icc"
os.environ["NMPI_CXX_H"] = "icpc"
os.environ["NMPI_FC_H"] = "ifort"