Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
As I said at the meeting in Stockholm, I think we should set the name of our system and not compiler in Makefile.
ifort does not compile the same on all machines, and neither does GNU fortran.
In this branch I've changed in Makefile.global and Makefile_tmpl so that a new user sets e.g. ARCH = "tetralith" and then it's all set up for tetralith.
There's also ARCH = "macports" which assumes your gfortran is gfortran-mp-8.
I also added OPT = "opt" which means the compilation is optimised for speed. Setting it to anything else will make the optimisation less aggressive and also turn on a lot of extra warnings, which is good for developers but has a performance penalty.
In combination with NETCDFLIBS = "automatic-44", I think this will make it a lot easier for new users to set up a run.
I also made some small changes so that theoretical project compiles and run. And I removed the "frac1" from cross. Why was that still there?
Cheers
Joakim