File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
prerequisites/install-functions Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,10 @@ build_opencoarrays()
1919 MPIFC_show=($( " $MPIFC " -show) )
2020 MPICC_show=($( " $MPICC " -show) )
2121 if [[ " ${MPIFC_show[0]} " != * gfortran* ]]; then
22- emergency " build_opencoarrays.sh: MPI doesn't wrap gfortran/gcc: \$ {MPIFC_show}=${MPIFC_show[*]} "
22+ export fortran_compiler_identity=" $( ${MPIFC_show[0]} --version) "
23+ if [[ $fortran_compiler_identity != " GNU Fortran" * ]]; then
24+ emergency " build_opencoarrays.sh: MPI doesn't wrap gfortran/gcc: \$ {MPIFC_show}=${MPIFC_show[*]} "
25+ fi
2326 fi
2427 if [[ -z " ${OPENCOARRAYS_DEVELOPER:- } " ]]; then
2528 # We should examine the value too, but CMake has many ways of saying "true"
Original file line number Diff line number Diff line change 22report_results ()
33{
44 fully_qualified_FC=" $( type -P " ${FC} " ) "
5- if [[ ${fully_qualified_FC} != * gfortran* ]]; then
6- emergency " report_results.sh: non-gfortran compiler: \$ {fully_qualified_FC}=${fully_qualified_FC} "
7- fi
8- # Set path_to_FC fully-qualified gfortran location
9- compiler_install_root=" ${fully_qualified_FC% bin/ gfortran* } "
5+ compiler_install_root=" ${fully_qualified_FC% bin/ ${FC} } "
106
117 fully_qualified_MPIFC=" $( type -P " ${MPIFC} " ) "
128 mpi_install_root=" ${fully_qualified_MPIFC% bin/ mpifort* } "
You can’t perform that action at this time.
0 commit comments