From 1bb1972e9ea610e338813eb83d87b23685aba125 Mon Sep 17 00:00:00 2001 From: "Ryan M. L. McFadden" Date: Wed, 29 Sep 2021 12:51:54 -0700 Subject: [PATCH] add optimizations when compiling trimspNL - this shortens the runtime a simulation significantly (by a factor of ~2). - the output from trimspNL is identical to when no optimizations are used --- fortran/Makefile | 2 +- trimspNL => trimspNL-static | Bin 2 files changed, 1 insertion(+), 1 deletion(-) rename trimspNL => trimspNL-static (100%) diff --git a/fortran/Makefile b/fortran/Makefile index 06bdfd5..e78f305 100644 --- a/fortran/Makefile +++ b/fortran/Makefile @@ -19,7 +19,7 @@ OPS=-c $(DIALECT) $(WARN) $(DEBUG) all : trimspNL trimspNL : trimspNL.F - $(FC) -o $@ $< + $(FC) -O3 -o $@ $< clean: rm -f *.o *~ \#* .#* trimspNL diff --git a/trimspNL b/trimspNL-static similarity index 100% rename from trimspNL rename to trimspNL-static