Skip to content

Commit 686219d

Browse files
committed
FDS Build: Correct fortran compiler
1 parent 22ac3a9 commit 686219d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Build/Scripts/set_thirdparty_compilers.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,9 @@ elif [[ "$FDS_BUILD_TARGET" == *"osx"* ]]; then
9696

9797
# Check for Fortran compiler (gfortran)
9898
if [ $set_FC -eq 0 ]; then
99-
if command -v gfortran &> /dev/null; then
99+
if command -v mpifort &> /dev/null; then
100+
FC=mpifort
101+
elif command -v gfortran &> /dev/null; then
100102
FC=gfortran
101103
else
102104
echo "Error: gfortran is not available on this system."

0 commit comments

Comments
 (0)