diff --git a/etc/tools/ThirdPartyFunctions b/etc/tools/ThirdPartyFunctions index 24b0090..29fc222 100644 --- a/etc/tools/ThirdPartyFunctions +++ b/etc/tools/ThirdPartyFunctions @@ -258,13 +258,20 @@ whichCXX() } -# Return by default or if possible for INTELMPI. +# Return +# by default +# for FJMPI (if possible) +# for INTELMPI (if possible) +# # Cray doesn't have , but its manages mpi paths directly. # NOTE: could further refine based on "wmake -show-c", but not yet needed whichMpicc() { local comp="$(command -v mpicc)" case "$WM_MPLIB" in + (FJMPI) + comp="$(command -v mpifcc)" # Fujitsu available? + ;; (INTELMPI) comp="$(command -v mpiicc)" # Intel available? ;; @@ -276,13 +283,20 @@ whichMpicc() } -# Return by default or if possible for INTELMPI. +# Return +# by default +# for FJMPI (if possible) +# for INTELMPI (if possible) +# # Cray doesn't have , but its manages mpi paths directly. # NOTE: could further refine based on "wmake -show-cxx", but not yet needed whichMpicxx() { local comp="$(command -v mpicxx)" case "$WM_MPLIB" in + (FJMPI) + comp="$(command -v mpiFCC)" # Fujitsu available? + ;; (INTELMPI) comp="$(command -v mpiicpc)" # Intel available? ;;