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

netcdf-fortran problem (libnetcdfd.so) problem #386

Open
Parag0206 opened this issue Jan 10, 2023 · 1 comment
Open

netcdf-fortran problem (libnetcdfd.so) problem #386

Parag0206 opened this issue Jan 10, 2023 · 1 comment

Comments

@Parag0206
Copy link

  • I am using [email protected] with [email protected](netcdf-c, cxx are installed)
  • CentOs 7 OS
  • I am getting the following error while trying to compile an ocean model(MOM6). This error happens after makefile is run
/home/mom6/spack/opt/spack/linux-centos7-cascadelake/gcc-9.1.0/netcdf-fortran-4.6.0-s5xysbzq4hhly5ddfqoghs7l232bfxmw/lib/libnetcdff.so: undefined reference to `nc_def_var_zstandard'
/home/mom6/spack/opt/spack/linux-centos7-cascadelake/gcc-9.1.0/netcdf-fortran-4.6.0-s5xysbzq4hhly5ddfqoghs7l232bfxmw/lib/libnetcdff.so: undefined reference to `nc_def_var_quantize'
/home/mom6/spack/opt/spack/linux-centos7-cascadelake/gcc-9.1.0/netcdf-fortran-4.6.0-s5xysbzq4hhly5ddfqoghs7l232bfxmw/lib/libnetcdff.so: undefined reference to `nc_inq_var_quantize'
/home/mom6/spack/opt/spack/linux-centos7-cascadelake/gcc-9.1.0/netcdf-fortran-4.6.0-s5xysbzq4hhly5ddfqoghs7l232bfxmw/lib/libnetcdff.so: undefined reference to `nc_inq_var_zstandard'
collect2: error: ld returned 1 exit status

The libnetcdff.so file is causing a problem.
Has anyone any idea regarding this error

@WardF
Copy link
Member

WardF commented Jan 13, 2023

Which version of netcdf-c are you working with?

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

2 participants