Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arch makefiles #38

Open
wants to merge 5 commits into
base: ver_7.0_alpha
Choose a base branch
from
Open

Arch makefiles #38

wants to merge 5 commits into from

Conversation

joakimkjellsson
Copy link
Contributor

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

joakimkjellsson and others added 4 commits November 13, 2019 21:57
…imised or debug runs. small fix for interp2 (so it compiles)
…haracter there somewhere. Also changed the order in which makefile.global looks for netCDF
…ed tempsalt flags for allocation of tem,sal,rho
@sabe5385
Copy link

I have now downloaded this version and compiled on tetralith, it was super easy!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants