Ask Your Question

Revision history [back]

Hi You can try to edit jobcomp and hard-code the path for netcdf, replace around line 60 the lines

NETCDFLIB=$(nf-config --flibs)

NETCDFINC=-I$(nf-config --includedir)

by something like

NETCDFLIB="-L/usr/local/netcdf-f/lib -lnetcdff -L/usr/local/netcdf-c/lib -lnetcdf"

NETCDFINC=-I/usr/local/netcdf-f/include -I/usr/local/netcdf-c/include"

Rachid