Closed uramirez8707 closed 2 weeks ago
This can be closed as current fre make does support a mixed mode compilation. This is an example: https://github.com/uramirez8707/fre-examples/commit/c6d26454e86011448ba6c17addce389e8909a576
You just need to point to a modified mkmf template: /autofs/ncrc-svm1_home1/Uriel.Ramirez/mkmf/templates/ncrc5-intel-classic.mk (These mkmf updates are merged into the main branch, but are not deployed on gaea yet)
The use the key below on the component that you want to compile as r4:
makeOverrides: 'USE_R4=TRUE'
Feel fre (lol) if you have a better method of supporting this
Is your feature request related to a problem? Please describe. AM5 would like to use a mixed mode compile where FV3 is compiled in r4 and the rest of the model is compiled with r8.
Currently, to do this in the bronx workflow the following needs to be added to the fv3 component in the xml after some updates to mkmf: https://github.com/NOAA-GFDL/mkmf/pull/68
where $(USE_MIXED_MODE) is
Describe the solution you'd like The canopy should support mixed mode compiles, either similarly to bronx or a more #efficient way
Describe alternatives you've considered N/A
Additional context N/A