5 add fab build script - #6
Conversation
|
This seems to work for a simple build with gfortran now (debug, safe, and high compilation mode). I have added settings for other compilers (intel classic+llvm, cray) based on the existing settings in fcm-make, and a setup for nvidia (based on LFRic). The latter will very likely not work. Note that I could not even test build any other compiler except GNU. Note that for now I had to duplicate one file (monc_driver.F90). I have it locally working without the duplication, but it needs an update to Fab (I am waiting for feedback from the UKMO which implementation they prefer). For testing and progressing the initial Fab build, this will work for now, once we have the next Fab release done, we can remove the duplication again. I need help from a dev here. I don't know how the casim/socrates integration would work at all - I have command line flags added to disable these integrations (which is the default, i.e. it will use the corresponding stub files), but with the integration, likely additional flags will be required (i.e. is casim etc. linked in as library?? Search path for these, ...). |
PR Summary
Add a FAB-based build script for MONC.
Code Reviewer: Sam Clarke-Green (@t00sa)
This PR adds a simple FAB build script.
Linked issue:
MetOffice/fab#588
(for now there is a work-around in place by duplicating a single file).
Code Quality Checklist
(Some checks are automatically carried out via the CI pipeline)
Testing
So far, no testing has been done of the binary.
Security Considerations
Performance Impact
AI Assistance and Attribution
N/A
Code Review