-
Notifications
You must be signed in to change notification settings - Fork 19
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
atm_gray does not compile on macOS with gfortran #45
Comments
Could it be related to this: MITgcm/MITgcm#850 ? |
Yes and no. No: When I add my hack (-x f95), the problem does not go away. But, Yes: without the Update: with PR MITgcm/MITgcm#862 I still need to compile 3 module files "by hand":
and from then on
With the master branch I can modify the Makefile after the There seems to be some online "literature" on how to deal with "modern fortran" in Makefiles, e.g. here: https://aoterodelaroza.github.io/devnotes/modern-fortran-makefiles/ |
Another update: PR #858: Generic file endings for f90mkdepend should fix the issue described above for MacOS, except that there's a small modification to a sed-command (additional After that has been fixed, the issue of gfortran not recognising free-format files that have arbitrary suffixes (e.g. |
This is the error message I get:
when following the README directions using
../../../tools/genmake2 -mods ../code -of ../../../tools/build_options/darwin_amd64_gfortran
on MacOS 11.3 and with gfortran v11The text was updated successfully, but these errors were encountered: