Netcdf4 interface module reproduced from netcdf-fortran as an fpm package.
ubuntu-latest |
ifort 2021.2.0 |
gfortran 10.2.0 |
---|
Prerequisites: The following should already be installed on your system, see each package for their respective installation instructions.
To use within your fpm project, add the following to your package manifest file (fpm.toml
):
[dependencies]
netcdf-interfaces = { git = "https://github.com/LKedward/netcdf-interfaces.git" }
NOTE: when building with gfortran-10
you need to use --flag -fallow-argument-mismatch
in order to compile correctly.
e.g
$ fpm build --profile debug --flag -fallow-argument-mismatch
$ fpm run --profile debug --flag -fallow-argument-mismatch