Replies: 2 comments 7 replies
-
Maybe you can use the nc4fortran project, you can install the netcdf link library first, and then specify the FPM_FFLAGS environment variable to specify the link library and header file location to use NetCDF in fpm. |
Beta Was this translation helpful? Give feedback.
2 replies
-
I had the same problem with my library. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I really like the idea of fpm, and it seems to bring Fortran much more into the modern world.
I mostly work with scientific numerical software, and a common data format there is NetCDF; so I am trying to get a fpm-friendly version of NetCDF prepared. Basically it is just writing the
fpm.toml
file. I've been reading through the documentation but I might need some guidance.After a fork of the official NetCDF repo, I tried my hand at the very basics:
Unfortunately,
fpm build
dies right away:Probably I am just writing down the
fpm.toml
incorrectly, any help would be hugely appreciated!All work so far can be found here: https://github.com/pgierz/netcdf-fortran
Best,
Paul
Beta Was this translation helpful? Give feedback.
All reactions