Goddard-Fortran-Ecosystem / pFUnit_demos

Pedagogical examples for using pFUnit
Apache License 2.0
17 stars 7 forks source link

Automatically set FC to mpifort if FC is not set #8

Closed kvrigor closed 2 years ago

kvrigor commented 3 years ago

It might be good to set the default FC environment variable to mpifort when none has been specified. Otherwise, make will fail because it doesn't know where mpi.mod is located. I assume if FC is unset then on most cases the system defaults to an MPI-unaware Fortran compiler (e.g. gfortran or ifort).