Commit
f146255f50732c445ccbd012ca45888a9ce44d0b
by noreplyCmake netcdf fallback (#1294)
* WIP: Compile w/o NetCDF
- Currently failing from a 'version' error, but actually it's because the fortran cmake is testing a small c program to test functionality, but the C hasn't been built yet
* CMake configuration phase works for netcdf, but build fails
* Compiles almost all the way and has the executable clubb_standalone
* No errors to compile w/o netcdf
- CMake configure and build phase ran with no errors
- Clubb was functional after the build
* Fixed to work as a fresh user
- Worked with no netcdf and a clean clone of this branch
* Added blank line
* Got compile.py to run on gfortran, nvhpc, ifort, ifx
- Needs testing for with/without netcdf pre-installed
* Fixed compiler logic
- Basically, if not matching the default (gfortran) netcdf, and can't find a different one, then go from scratch.
* Small bug fixes
* Cleaned up code, all lines less than 100 characters
* Commented through code
* Removing redundancy
* Fixes to make -gptl flag work
* Improved comments, replaced .bash with .py in readme's