Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue in arch/preamble configure file regarding the order of -lnetcdff and -lnetcdf #3

Open
zemega opened this issue Feb 5, 2021 · 0 comments

Comments

@zemega
Copy link

zemega commented Feb 5, 2021

On line 27, the CONFIGURE_NETCDFF_LIB needs to be placed before -lnetcdf
NETCDFLIB = -L${NETCDF}/lib -lnetcdf CONFIGURE_NETCDFF_LIB
It should be
NETCDFLIB = -L${NETCDF}/lib CONFIGURE_NETCDFF_LIB -lnetcdf
The order of -lnetcdff -lnetcdf is important, at least when compiling using gfortran.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant