From f1bfc2fb48090f09b79a039db13f17ea624fdbfe Mon Sep 17 00:00:00 2001 From: carlislewishard <70146819+carlislewishard@users.noreply.github.com> Date: Tue, 27 Jun 2023 10:37:31 -0400 Subject: [PATCH] Update README.md added flag to specify fortran compiler --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e011b8430..f45a812c3 100644 --- a/README.md +++ b/README.md @@ -99,11 +99,14 @@ Add ```-CMAKE_PREFIX_PATH=/path/to/netcdf/``` to these commands as needed. If using the GCC fortran compiler (gfortran), add the following flags: ``` -cmake -DCMAKE_Fortran_FLAGS="-I/usr/lib64/gfortran/modules/ -ffree-line-length-512" ... +-DCMAKE_Fortran_FLAGS="-I/usr/lib64/gfortran/modules/ -ffree-line-length-512" +``` +You can manually specify the compiler you wish to use with the following flag: +``` +c-DCMAKE_Fortran_COMPILER=$(which ifort) ``` After building Swiftest, make the executable using: - ``` $ make ```