Skip to content

Commit 03038c1

Browse files
committed
Fix errant mpif90mpifort
This didn't make it into the pull request for updating names to MPI standard recommendations
1 parent 50a9888 commit 03038c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

prerequisites/install-functions/report_results.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ report_results()
99
compiler_install_root="${fully_qualified_FC%bin/gfortran*}"
1010

1111
fully_qualified_MPIFC="$(type -P "${MPIFC}")"
12-
mpi_install_root="${fully_qualified_MPIFC%bin/mpif90*}"
12+
mpi_install_root="${fully_qualified_MPIFC%bin/mpifort*}"
1313

1414
fully_qualified_CMAKE="$(type -P "${CMAKE}")"
1515
cmake_install_path="${fully_qualified_CMAKE%/cmake*}"
@@ -71,7 +71,7 @@ report_results()
7171
echo "set LD_LIBRARY_PATH = (\"${compiler_lib_paths%/}\"/bin \"\$LD_LIBRARY_PATH\") " >> setup.csh
7272
fi
7373
echo " " >> setup.sh
74-
if [[ -x "${mpi_install_root}/bin/mpif90" ]]; then
74+
if [[ -x "${mpi_install_root}/bin/mpifort" ]]; then
7575
echo "# Prepend the MPI path to the PATH environment variable:" | tee -a setup.sh setup.csh
7676
echo "if [[ -z \"\${PATH}\" ]]; then " >> setup.sh
7777
echo " export PATH=\"${mpi_install_root%/}/bin\" " >> setup.sh

0 commit comments

Comments
 (0)