I am using netcdf-fortran@4.6.0 with gcc@9.1.0(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
The libnetcdff.so file is causing a problem. Has anyone any idea regarding this error