[WIP] working version on gfortran11 on macOS v11.2#211
[WIP] working version on gfortran11 on macOS v11.2#211gaelforget wants to merge 1 commit intoExeClim:masterfrom
Conversation
|
@gaelforget Quick question: do you have an intuition for whether or not the additional changes you've made (i.e., beyond those in Jamie's branch) would affect compilation on Mac setups for which Isca currently does compile (i.e., what Jamie had working)? |
Except for the |
|
Great to see progress being made on this @gaelforget, @ntlewis! @gaelforget how is the performance when you run on mac hardware? |
I am opening the PR as a way to share and discuss but shouldnt be merged in its current form
This follows up on #210 and are modifications which eventually allowed me to compile and run
held_suarez_test_case.pyon a Mac (running OS 11.2).There were several types of issues as you'll see, some of which I uncovered after upgrading to the latest gfortran compiler (v11)
MACOScpp flag; more or less as done by @jamesp in 2018 (https://github.com/jamesp/Isca/tree/mac)-fallow-argument-mismatchand-fallow-invalid-bozpart is related to warnings that have recently been turned into errors (the options revert to warnings). Would need a switch like in avoid error message introduced in gfortran 10 MITgcm/MITgcm#480 probably for gfortran < v10create_xgrid.cI needed to add a definition ofisHeadNode_b(same as inmosaic_util.cbut for the name)gfortran_macoption fileMaybe this could get reviewed and merged after some revision. Please chime in