【错误提示】
work/odir4/owiwind_netcdf.o: In function `owiwind_netcdf_mp_nws13init_':
owiwind_netcdf.F:(.text+0xdc8c): undefined reference to `netcdf_mp_nf90_open_'
【解决办法】
ifeq ($(NETCDF),enable)
NETCDFHOME :=$(shell nc-config --prefix)
FLIBS :=$(FLIBS) -L$(NETCDFHOME)/lib -lnetcdff -lnetcdf
FFLAGS1 :=$(FFLAGS1) -I$(NETCDFHOME)/include
FFLAGS2 :=$(FFLAGS1)
FFLAGS3 :=$(FFLAGS1)