File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
prerequisites/install-functions Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ report_results()
9
9
compiler_install_root=" ${fully_qualified_FC% bin/ gfortran* } "
10
10
11
11
fully_qualified_MPIFC=" $( type -P " ${MPIFC} " ) "
12
- mpi_install_root=" ${fully_qualified_MPIFC% bin/ mpif90 * } "
12
+ mpi_install_root=" ${fully_qualified_MPIFC% bin/ mpifort * } "
13
13
14
14
fully_qualified_CMAKE=" $( type -P " ${CMAKE} " ) "
15
15
cmake_install_path=" ${fully_qualified_CMAKE%/ cmake* } "
@@ -71,7 +71,7 @@ report_results()
71
71
echo " set LD_LIBRARY_PATH = (\" ${compiler_lib_paths%/ } \" /bin \"\$ LD_LIBRARY_PATH\" ) " >> setup.csh
72
72
fi
73
73
echo " " >> setup.sh
74
- if [[ -x " ${mpi_install_root} /bin/mpif90 " ]]; then
74
+ if [[ -x " ${mpi_install_root} /bin/mpifort " ]]; then
75
75
echo " # Prepend the MPI path to the PATH environment variable:" | tee -a setup.sh setup.csh
76
76
echo " if [[ -z \"\$ {PATH}\" ]]; then " >> setup.sh
77
77
echo " export PATH=\" ${mpi_install_root%/ } /bin\" " >> setup.sh
You can’t perform that action at this time.
0 commit comments