Compiling error

Discussion on computers, ROMS installation and compiling

Moderators: arango, robertson

Post Reply
Message
Author
sdsjkj
Posts: 16
Joined: Wed Feb 03, 2010 6:59 pm
Location: University of Florida

Compiling error

#1 Unread post by sdsjkj »

Hello!
I built Roms with intel compilers but got errors as the below.
Please let me know what is wrong.
My system information is "Linux x86_64 x86_64 x86_64 GNU/Linux"
Thank you in advance!

Don

cd Build; /opt/intel/fc/11.1.064/bin/intel64/ifort -c -heap-arrays -fp-model precise -g -check uninit -ftrapuv -traceback master.f90
/opt/intel/fc/11.1.064/bin/intel64/ifort -heap-arrays -fp-model precise -g -check uninit -ftrapuv -traceback -Vaxlib Build/esmf_roms.o Build/master.o Build/ocean_control.o Build/ocean_coupler.o Build/propagator.o Build/roms_export.o Build/roms_import.o -o oceanG Build/libNLM.a Build/libNLM_bio.a Build/libNLM_sed.a Build/libANA.a Build/libUTIL.a Build/libMODS.a -L/home/sangdon/local/softwares/a/app/netcdf-4.1.1/lib -lnetcdf -L/home/sangdon/local/softwares/a/app/hdf5-1.8.5/lib -lhdf5_hl -lhdf5 -lz
/opt/intel/fc/11.1.064/lib/intel64/libimf.so: warning: warning: feupdateenv is not implemented and will always fail
Build/libUTIL.a(close_io.o): In function `close_io':
/scratch/ufhpc/sangdon/Roms/Build/close_io.f90:101: undefined reference to `netcdf_mp_nf90_strerror_'
/scratch/ufhpc/sangdon/Roms/Build/close_io.f90:103: undefined reference to `netcdf_mp_nf90_strerror_'
Build/libUTIL.a(def_dim.o): In function `def_dim':
/scratch/ufhpc/sangdon/Roms/Build/def_dim.f90:56: undefined reference to `netcdf_mp_nf90_def_dim_'
Build/libUTIL.a(def_info.o): In function `def_info':
/scratch/ufhpc/sangdon/Roms/Build/def_info.f90:155: undefined reference to `netcdf_mp_nf90_put_att_text_'
/scratch/ufhpc/sangdon/Roms/Build/def_info.f90:167: undefined reference to `netcdf_mp_nf90_put_att_text_'
/scratch/ufhpc/sangdon/Roms/Build/def_info.f90:181: undefined reference to `netcdf_mp_nf90_put_att_text_'
/scratch/ufhpc/sangdon/Roms/Build/def_info.f90:230: undefined reference to `netcdf_mp_nf90_put_att_text_'
/scratch/ufhpc/sangdon/Roms/Build/def_info.f90:242: undefined reference to `netcdf_mp_nf90_put_att_text_'
Build/libUTIL.a(def_info.o):/scratch/ufhpc/sangdon/Roms/Build/def_info.f90:251: more undefined references to `netcdf_mp_nf90_put_att_text_' follow
Build/libUTIL.a(def_var.o): In function `def_var':
/scratch/ufhpc/sangdon/Roms/Build/def_var.f90:112: undefined reference to `netcdf_mp_nf90_def_var_scalar_'
/scratch/ufhpc/sangdon/Roms/Build/def_var.f90:115: undefined reference to `netcdf_mp_nf90_def_var_manydims_'
/scratch/ufhpc/sangdon/Roms/Build/def_var.f90:132: undefined reference to `netcdf_mp_nf90_put_att_text_'
/scratch/ufhpc/sangdon/Roms/Build/def_var.f90:149: undefined reference to `netcdf_mp_nf90_put_att_text_'
/scratch/ufhpc/sangdon/Roms/Build/def_var.f90:167: undefined reference to `netcdf_mp_nf90_put_att_text_'
/scratch/ufhpc/sangdon/Roms/Build/def_var.f90:185: undefined reference to `netcdf_mp_nf90_put_att_text_'
/scratch/ufhpc/sangdon/Roms/Build/def_var.f90:203: undefined reference to `netcdf_mp_nf90_put_att_one_fourbyteint_'
/scratch/ufhpc/sangdon/Roms/Build/def_var.f90:206: undefined reference to `netcdf_mp_nf90_put_att_one_fourbytereal_'
/scratch/ufhpc/sangdon/Roms/Build/def_var.f90:209: undefined reference to `netcdf_mp_nf90_put_att_one_eightbytereal_'
/scratch/ufhpc/sangdon/Roms/Build/def_var.f90:229: undefined reference to `netcdf_mp_nf90_put_att_one_fourbyteint_'
/scratch/ufhpc/sangdon/Roms/Build/def_var.f90:232: undefined reference to `netcdf_mp_nf90_put_att_one_fourbytereal_'
/scratch/ufhpc/sangdon/Roms/Build/def_var.f90:235: undefined reference to `netcdf_mp_nf90_put_att_one_eightbytereal_'
/scratch/ufhpc/sangdon/Roms/Build/def_var.f90:257: undefined reference to `netcdf_mp_nf90_put_att_text_'
/scratch/ufhpc/sangdon/Roms/Build/def_var.f90:262: undefined reference to `netcdf_mp_nf90_put_att_text_'
/scratch/ufhpc/sangdon/Roms/Build/def_var.f90:288: undefined reference to `netcdf_mp_nf90_put_att_fourbyteint_'
/scratch/ufhpc/sangdon/Roms/Build/def_var.f90:291: undefined reference to `netcdf_mp_nf90_put_att_fourbytereal_'
/scratch/ufhpc/sangdon/Roms/Build/def_var.f90:294: undefined reference to `netcdf_mp_nf90_put_att_eightbytereal_'
/scratch/ufhpc/sangdon/Roms/Build/def_var.f90:300: undefined reference to `netcdf_mp_nf90_put_att_text_'
/scratch/ufhpc/sangdon/Roms/Build/def_var.f90:324: undefined reference to `netcdf_mp_nf90_put_att_text_'
/scratch/ufhpc/sangdon/Roms/Build/def_var.f90:341: undefined reference to `netcdf_mp_nf90_put_att_text_'
/scratch/ufhpc/sangdon/Roms/Build/def_var.f90:358: undefined reference to `netcdf_mp_nf90_put_att_text_'
/scratch/ufhpc/sangdon/Roms/Build/def_var.f90:375: undefined reference to `netcdf_mp_nf90_put_att_text_'
Build/libUTIL.a(def_var.o):/scratch/ufhpc/sangdon/Roms/Build/def_var.f90:392: more undefined references to `netcdf_mp_nf90_put_att_text_' follow
Build/libUTIL.a(def_var.o): In function `def_var':
/scratch/ufhpc/sangdon/Roms/Build/def_var.f90:427: undefined reference to `netcdf_mp_nf90_put_att_one_fourbyteint_'
/scratch/ufhpc/sangdon/Roms/Build/def_var.f90:430: undefined reference to `netcdf_mp_nf90_put_att_one_fourbytereal_'
/scratch/ufhpc/sangdon/Roms/Build/def_var.f90:433: undefined reference to `netcdf_mp_nf90_put_att_one_eightbytereal_'
/scratch/ufhpc/sangdon/Roms/Build/def_var.f90:453: undefined reference to `netcdf_mp_nf90_put_att_one_fourbyteint_'
/scratch/ufhpc/sangdon/Roms/Build/def_var.f90:456: undefined reference to `netcdf_mp_nf90_put_att_one_fourbytereal_'
/scratch/ufhpc/sangdon/Roms/Build/def_var.f90:459: undefined reference to `netcdf_mp_nf90_put_att_one_eightbytereal_'
/scratch/ufhpc/sangdon/Roms/Build/def_var.f90:479: undefined reference to `netcdf_mp_nf90_put_att_one_fourbyteint_'
/scratch/ufhpc/sangdon/Roms/Build/def_var.f90:482: undefined reference to `netcdf_mp_nf90_put_att_one_fourbytereal_'
/scratch/ufhpc/sangdon/Roms/Build/def_var.f90:485: undefined reference to `netcdf_mp_nf90_put_att_one_eightbytereal_'
/scratch/ufhpc/sangdon/Roms/Build/def_var.f90:504: undefined reference to `netcdf_mp_nf90_put_att_text_'
/scratch/ufhpc/sangdon/Roms/Build/def_var.f90:521: undefined reference to `netcdf_mp_nf90_put_att_text_'
/scratch/ufhpc/sangdon/Roms/Build/def_var.f90:588: undefined reference to `netcdf_mp_nf90_put_att_text_'
/scratch/ufhpc/sangdon/Roms/Build/def_var.f90:606: undefined reference to `netcdf_mp_nf90_put_att_text_'
/scratch/ufhpc/sangdon/Roms/Build/def_var.f90:623: undefined reference to `netcdf_mp_nf90_put_att_text_'
Build/libUTIL.a(nf_fread2d.o): In function `nf_fread2d':
/scratch/ufhpc/sangdon/Roms/Build/nf_fread2d.f90:213: undefined reference to `netcdf_mp_nf90_get_var_1d_eightbytereal_'
Build/libUTIL.a(nf_fread3d.o): In function `nf_fread3d':
/scratch/ufhpc/sangdon/Roms/Build/nf_fread3d.f90:200: undefined reference to `netcdf_mp_nf90_get_var_1d_eightbytereal_'
Build/libUTIL.a(nf_fread4d.o): In function `nf_fread4d':
/scratch/ufhpc/sangdon/Roms/Build/nf_fread4d.f90:203: undefined reference to `netcdf_mp_nf90_get_var_1d_eightbytereal_'
Build/libUTIL.a(nf_fwrite2d.o): In function `nf_fwrite2d':

User avatar
kate
Posts: 4091
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: Compiling error

#2 Unread post by kate »

Did you compile netcdf with the ifort compiler? The only strerror is in the netcdf library. Here's one test you can make in the Build directory:

Code: Select all

pacman1 495% nm close_io.o | grep strerror
                 U netcdf_nf90_strerror_
So mine is different, but then I'm using pgi, not ifort. Or are you using a flag that would generate that _mp_ for ROMS and not for netcdf? It's all about being consistent.

sdsjkj
Posts: 16
Joined: Wed Feb 03, 2010 6:59 pm
Location: University of Florida

Re: Compiling error

#3 Unread post by sdsjkj »

Thank you Kate!
I compiled it with the ifort compiler and don't have pgi compilers. The result of the test is:
U netcdf_mp_nf90_strerror_
The flags in .bash_profile to build NetCDF and Roms are as follows.

export F77=ifort
export F90=ifort
export FC=ifort
export FFLAGS='-g -O3 -no-prec-div -fPIC'
export FCFLAGS='-g -O3 -no-prec-div -fPIC'
export CC=icc
export CXX=icpc
export CFLAGS='-g -O3 -no-prec-div -fPIC'
export CXXFLAGS='-g -O3 -no-prec-div -fPIC'
export CPP='icc -E'
export CXXCPP='icpc -E'

Best,
Don

User avatar
kate
Posts: 4091
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: Compiling error

#4 Unread post by kate »

OK, now go here: /home/sangdon/local/softwares/a/app/netcdf-4.1.1/lib
and run that same nm command on libnetcdf.a. Perhaps there's also libnetcdff.a? If so, and if it has the missing symbols, add that to your ROMS link command. Or does libnetcdf.a have nf90_strerror of another flavor?

sdsjkj
Posts: 16
Joined: Wed Feb 03, 2010 6:59 pm
Location: University of Florida

Re: Compiling error

#5 Unread post by sdsjkj »

Dear, Kate;

The results are as follows.
> nm libnetcdf.a | grep strerror
U nc3_strerror
00000000000002a0 T nc_strerror
0000000000000000 T nc3_strerror
U strerror
U nc_strerror
>nm libnetcdff.a | grep strerror
U nc_strerror
0000000000000130 T nf_strerror_
0000000000063660 T netcdf_mp_nf90_strerror_
U nf_strerror_

What is the missing symbols?
And how to add those to my ROMS link?

Sincerely yours,
Don

User avatar
kate
Posts: 4091
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: Compiling error

#6 Unread post by kate »

In the file you are using in the Compilers directory, add -lnetcdff before -lnetcdf:

Code: Select all

LIBS := -L$(NETCDF_LIBDIR) -lnetcdff -lnetcdf
It's an annoyance with evolution of NetCDF - sometimes that second library now gets split out, sometimes not.

sdsjkj
Posts: 16
Joined: Wed Feb 03, 2010 6:59 pm
Location: University of Florida

Re: Compiling error

#7 Unread post by sdsjkj »

Dear, Kate;
It works, and I got the executable file.
I really appreciate it.
But I got Warning as follows.

/opt/intel/fc/11.1.064/lib/intel64/libimf.so: warning: warning: feupdateenv is not implemented and will always fail.

Could I ignore the warnig?

Best regards,
Don

User avatar
kate
Posts: 4091
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: Compiling error

#8 Unread post by kate »

Ignore it until it bites you. :twisted:
Again, it looks ifort specific, so I can't answer.

sdsjkj
Posts: 16
Joined: Wed Feb 03, 2010 6:59 pm
Location: University of Florida

Re: Compiling error

#9 Unread post by sdsjkj »

I appreciate it. :D

Best regards,
Don

fereshteh
Posts: 79
Joined: Sun Dec 30, 2012 2:58 pm
Location: inio:Iranian National Institute for Oceanography

Re: Compiling error

#10 Unread post by fereshteh »

hi
i choose IFORT as compiler i my test and netcdf4 libries. I have problem with build.bash which appear following errors:


/opt/intel/Compiler/11.1/080/bin/ia32/ifort -heap-arrays -fp-model precise -g -check uninit -ftrapuv -traceback /home/fkomijani/projects/upwelling/Build/roms_import.o /home/fkomijani/projects/upwelling/Build/propagator.o /home/fkomijani/projects/upwelling/Build/master.o /home/fkomijani/projects/upwelling/Build/roms_export.o /home/fkomijani/projects/upwelling/Build/ocean_coupler.o /home/fkomijani/projects/upwelling/Build/esmf_roms.o /home/fkomijani/projects/upwelling/Build/ocean_control.o -o /home/fkomijani/projects/upwelling/oceanG /home/fkomijani/projects/upwelling/Build/libUTIL.a /home/fkomijani/projects/upwelling/Build/libNLM.a /home/fkomijani/projects/upwelling/Build/libNLM_bio.a /home/fkomijani/projects/upwelling/Build/libNLM_sed.a /home/fkomijani/projects/upwelling/Build/libANA.a /home/fkomijani/projects/upwelling/Build/libUTIL.a /home/fkomijani/projects/upwelling/Build/libMODS.a
/home/fkomijani/projects/upwelling/Build/libUTIL.a(close_io.o): In function `close_out':
/home/fkomijani/projects/upwelling/Build/close_io.f90:170: undefined reference to `netcdf_mp_nf90_strerror_'
/home/fkomijani/projects/upwelling/Build/close_io.f90:172: undefined reference to `netcdf_mp_nf90_strerror_'
/home/fkomijani/projects/upwelling/Build/libUTIL.a(lbc.o): In function `lbc_getatt':
/home/fkomijani/projects/upwelling/Build/lbc.f90:84: undefined reference to `netcdf_mp_nf90_get_att_text_'
/home/fkomijani/projects/upwelling/Build/libUTIL.a(lbc.o): In function `lbc_putatt':
/home/fkomijani/projects/upwelling/Build/lbc.f90:423: undefined reference to `netcdf_mp_nf90_put_att_text_'
/home/fkomijani/projects/upwelling/Build/libUTIL.a(nf_fwrite3d.o): In function `nf_fwrite3d':
/home/fkomijani/projects/upwelling/Build/nf_fwrite3d.f90:155: undefined reference to `netcdf_mp_nf90_put_var_1d_eightbytereal_'
/home/fkomijani/projects/upwelling/Build/libUTIL.a(nf_fwrite2d.o): In function `nf_fwrite2d':
/home/fkomijani/projects/upwelling/Build/nf_fwrite2d.f90:143: undefined reference to `netcdf_mp_nf90_put_var_1d_eightbytereal_'
/home/fkomijani/projects/upwelling/Build/libUTIL.a(def_info.o): In function `def_info':
/home/fkomijani/projects/upwelling/Build/def_info.f90:156: undefined reference to `netcdf_mp_nf90_put_att_text_'
/home/fkomijani/projects/upwelling/Build/def_info.f90:168: undefined reference to `netcdf_mp_nf90_put_att_text_'
/home/fkomijani/projects/upwelling/Build/def_info.f90:182: undefined reference to `netcdf_mp_nf90_put_att_text_'
/home/fkomijani/projects/upwelling/Build/def_info.f90:231: undefined reference to `netcdf_mp_nf90_put_att_text_'
/home/fkomijani/projects/upwelling/Build/def_info.f90:243: undefined reference to `netcdf_mp_nf90_put_att_text_'
/home/fkomijani/projects/upwelling/Build/libUTIL.a(def_info.o):/home/fkomijani/projects/upwelling/Build/def_info.f90:252: more undefined references to `netcdf_mp_nf90_put_att_text_' follow
/home/fkomijani/projects/upwelling/Build/libUTIL.a(def_var.o): In function `def_var':
/home/fkomijani/projects/upwelling/Build/def_var.f90:112: undefined reference to `netcdf_mp_nf90_def_var_scalar_'
/home/fkomijani/projects/upwelling/Build/def_var.f90:115: undefined reference to `netcdf_mp_nf90_def_var_manydims_'
/home/fkomijani/projects/upwelling/Build/def_var.f90:132: undefined reference to `netcdf_mp_nf90_put_att_text_'
/home/fkomijani/projects/upwelling/Build/def_var.f90:149: undefined reference to `netcdf_mp_nf90_put_att_text_'
/home/fkomijani/projects/upwelling/Build/def_var.f90:167: undefined reference to `netcdf_mp_nf90_put_att_text_'
/home/fkomijani/projects/upwelling/Build/def_var.f90:185: undefined reference to `netcdf_mp_nf90_put_att_text_'
/home/fkomijani/projects/upwelling/Build/def_var.f90:203: undefined reference to `netcdf_mp_nf90_put_att_one_fourbyteint_'
/home/fkomijani/projects/upwelling/Build/def_var.f90:206: undefined reference to `netcdf_mp_nf90_put_att_one_fourbytereal_'
/home/fkomijani/projects/upwelling/Build/def_var.f90:209: undefined reference to `netcdf_mp_nf90_put_att_one_eightbytereal_'
/home/fkomijani/projects/upwelling/Build/def_var.f90:229: undefined reference to `netcdf_mp_nf90_put_att_one_fourbyteint_'
/home/fkomijani/projects/upwelling/Build/def_var.f90:232: undefined reference to `netcdf_mp_nf90_put_att_one_fourbytereal_'
/home/fkomijani/projects/upwelling/Build/def_var.f90:235: undefined reference to `netcdf_mp_nf90_put_att_one_eightbytereal_'
/home/fkomijani/projects/upwelling/Build/def_var.f90:257: undefined reference to `netcdf_mp_nf90_put_att_text_'
/home/fkomijani/projects/upwelling/Build/def_var.f90:262: undefined reference to `netcdf_mp_nf90_put_att_text_'
/home/fkomijani/projects/upwelling/Build/def_var.f90:288: undefined reference to `netcdf_mp_nf90_put_att_fourbyteint_'
/home/fkomijani/projects/upwelling/Build/def_var.f90:291: undefined reference to `netcdf_mp_nf90_put_att_fourbytereal_'
/home/fkomijani/projects/upwelling/Build/def_var.f90:294: undefined reference to `netcdf_mp_nf90_put_att_eightbytereal_'
/home/fkomijani/projects/upwelling/Build/def_var.f90:300: undefined reference to `netcdf_mp_nf90_put_att_text_'
/home/fkomijani/projects/upwelling/Build/def_var.f90:324: undefined reference to `netcdf_mp_nf90_put_att_text_'
/home/fkomijani/projects/upwelling/Build/def_var.f90:341: undefined reference to `netcdf_mp_nf90_put_att_text_'
/home/fkomijani/projects/upwelling/Build/def_var.f90:358: undefined reference to `netcdf_mp_nf90_put_att_text_'
/home/fkomijani/projects/upwelling/Build/def_var.f90:375: undefined reference to `netcdf_mp_nf90_put_att_text_'
/home/fkomijani/projects/upwelling/Build/libUTIL.a(def_var.o):/home/fkomijani/projects/upwelling/Build/def_var.f90:392: more undefined references to `netcdf_mp_nf90_put_att_text_' follow
/home/fkomijani/projects/upwelling/Build/libUTIL.a(def_var.o): In function `def_var':
/home/fkomijani/projects/upwelling/Build/def_var.f90:427: undefined reference to `netcdf_mp_nf90_put_att_one_fourbyteint_'
/home/fkomijani/projects/upwelling/Build/def_var.f90:430: undefined reference to `netcdf_mp_nf90_put_att_one_fourbytereal_'
/home/fkomijani/projects/upwelling/Build/def_var.f90:433: undefined reference to `netcdf_mp_nf90_put_att_one_eightbytereal_'
/home/fkomijani/projects/upwelling/Build/def_var.f90:453: undefined reference to `netcdf_mp_nf90_put_att_one_fourbyteint_'
/home/fkomijani/projects/upwelling/Build/def_var.f90:456: undefined reference to `netcdf_mp_nf90_put_att_one_fourbytereal_'
/home/fkomijani/projects/upwelling/Build/def_var.f90:459: undefined reference to `netcdf_mp_nf90_put_att_one_eightbytereal_'
/home/fkomijani/projects/upwelling/Build/def_var.f90:479: undefined reference to `netcdf_mp_nf90_put_att_one_fourbyteint_'
/home/fkomijani/projects/upwelling/Build/def_var.f90:482: undefined reference to `netcdf_mp_nf90_put_att_one_fourbytereal_'
/home/fkomijani/projects/upwelling/Build/def_var.f90:485: undefined reference to `netcdf_mp_nf90_put_att_one_eightbytereal_'
/home/fkomijani/projects/upwelling/Build/def_var.f90:504: undefined reference to `netcdf_mp_nf90_put_att_text_'
/home/fkomijani/projects/upwelling/Build/def_var.f90:521: undefined reference to `netcdf_mp_nf90_put_att_text_'
/home/fkomijani/projects/upwelling/Build/def_var.f90:596: undefined reference to `netcdf_mp_nf90_put_att_text_'
/home/fkomijani/projects/upwelling/Build/def_var.f90:614: undefined reference to `netcdf_mp_nf90_put_att_text_'
/home/fkomijani/projects/upwelling/Build/def_var.f90:631: undefined reference to `netcdf_mp_nf90_put_att_text_'
/home/fkomijani/projects/upwelling/Build/libUTIL.a(def_dim.o): In function `def_dim':
/home/fkomijani/projects/upwelling/Build/def_dim.f90:56: undefined reference to `netcdf_mp_nf90_def_dim_'
/home/fkomijani/projects/upwelling/Build/libUTIL.a(nf_fread2d.o): In function `nf_fread2d':
/home/fkomijani/projects/upwelling/Build/nf_fread2d.f90:213: undefined reference to `netcdf_mp_nf90_get_var_1d_eightbytereal_'
/home/fkomijani/projects/upwelling/Build/libUTIL.a(nf_fread4d.o): In function `nf_fread4d':
/home/fkomijani/projects/upwelling/Build/nf_fread4d.f90:203: undefined reference to `netcdf_mp_nf90_get_var_1d_eightbytereal_'
/home/fkomijani/projects/upwelling/Build/libUTIL.a(nf_fread3d.o): In function `nf_fread3d':
/home/fkomijani/projects/upwelling/Build/nf_fread3d.f90:200: undefined reference to `netcdf_mp_nf90_get_var_1d_eightbytereal_'
/home/fkomijani/projects/upwelling/Build/libMODS.a(mod_netcdf.o): In function `netcdf_get_dim':
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:212: undefined reference to `netcdf_mp_nf90_inquire_'
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:221: undefined reference to `netcdf_mp_nf90_inquire_dimension_'
/home/fkomijani/projects/upwelling/Build/libMODS.a(mod_netcdf.o): In function `netcdf_inq_var':
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:706: undefined reference to `netcdf_mp_nf90_inquire_'
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:715: undefined reference to `netcdf_mp_nf90_inquire_variable_'
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:721: undefined reference to `netcdf_mp_nf90_inq_attname_'
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:809: undefined reference to `netcdf_mp_nf90_inquire_dimension_'
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:821: undefined reference to `netcdf_mp_nf90_inq_attname_'
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:823: undefined reference to `netcdf_mp_nf90_inquire_attribute_'
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:830: undefined reference to `netcdf_mp_nf90_get_att_one_fourbyteint_'
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:846: undefined reference to `netcdf_mp_nf90_get_att_one_eightbytereal_'
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:860: undefined reference to `netcdf_mp_nf90_get_att_text_'
/home/fkomijani/projects/upwelling/Build/libMODS.a(mod_netcdf.o): In function `netcdf_inq_varid':
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:982: undefined reference to `netcdf_mp_nf90_inq_varid_'
/home/fkomijani/projects/upwelling/Build/libMODS.a(mod_netcdf.o): In function `netcdf_get_fatt':
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:1065: undefined reference to `netcdf_mp_nf90_inquire_variable_'
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:1070: undefined reference to `netcdf_mp_nf90_inq_attname_'
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:1074: undefined reference to `netcdf_mp_nf90_get_att_one_eightbytereal_'
/home/fkomijani/projects/upwelling/Build/libMODS.a(mod_netcdf.o): In function `netcdf_get_fvar_0d':
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:1197: undefined reference to `netcdf_mp_nf90_inq_varid_'
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:1200: undefined reference to `netcdf_mp_nf90_get_var_1d_eightbytereal_'
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:1203: undefined reference to `netcdf_mp_nf90_get_var_eightbytereal_'
/home/fkomijani/projects/upwelling/Build/libMODS.a(mod_netcdf.o): In function `netcdf_get_fvar_1d':
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:1330: undefined reference to `netcdf_mp_nf90_inq_varid_'
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:1333: undefined reference to `netcdf_mp_nf90_get_var_1d_eightbytereal_'
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:1335: undefined reference to `netcdf_mp_nf90_get_var_1d_eightbytereal_'
/home/fkomijani/projects/upwelling/Build/libMODS.a(mod_netcdf.o): In function `netcdf_get_fvar_2d':
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:1504: undefined reference to `netcdf_mp_nf90_inq_varid_'
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:1507: undefined reference to `netcdf_mp_nf90_get_var_2d_eightbytereal_'
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:1509: undefined reference to `netcdf_mp_nf90_get_var_2d_eightbytereal_'
/home/fkomijani/projects/upwelling/Build/libMODS.a(mod_netcdf.o): In function `netcdf_get_fvar_3d':
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:1678: undefined reference to `netcdf_mp_nf90_inq_varid_'
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:1681: undefined reference to `netcdf_mp_nf90_get_var_3d_eightbytereal_'
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:1683: undefined reference to `netcdf_mp_nf90_get_var_3d_eightbytereal_'
/home/fkomijani/projects/upwelling/Build/libMODS.a(mod_netcdf.o): In function `netcdf_get_fvar_4d':
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:1857: undefined reference to `netcdf_mp_nf90_inq_varid_'
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:1860: undefined reference to `netcdf_mp_nf90_get_var_4d_eightbytereal_'
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:1862: undefined reference to `netcdf_mp_nf90_get_var_4d_eightbytereal_'
/home/fkomijani/projects/upwelling/Build/libMODS.a(mod_netcdf.o): In function `netcdf_get_lvar_0d':
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:2022: undefined reference to `netcdf_mp_nf90_inq_varid_'
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:2024: undefined reference to `netcdf_mp_nf90_inquire_variable_'
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:2029: undefined reference to `netcdf_mp_nf90_get_var_1d_fourbyteint_'
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:2032: undefined reference to `netcdf_mp_nf90_get_var_fourbyteint_'
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:2043: undefined reference to `netcdf_mp_nf90_get_var_text_'
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:2045: undefined reference to `netcdf_mp_nf90_get_var_text_'
/home/fkomijani/projects/upwelling/Build/libMODS.a(mod_netcdf.o): In function `netcdf_get_lvar_1d':
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:2162: undefined reference to `netcdf_mp_nf90_inq_varid_'
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:2164: undefined reference to `netcdf_mp_nf90_inquire_variable_'
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:2169: undefined reference to `netcdf_mp_nf90_get_var_1d_fourbyteint_'
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:2171: undefined reference to `netcdf_mp_nf90_get_var_1d_fourbyteint_'
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:2184: undefined reference to `netcdf_mp_nf90_get_var_1d_text_'
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:2186: undefined reference to `netcdf_mp_nf90_get_var_1d_text_'
/home/fkomijani/projects/upwelling/Build/libMODS.a(mod_netcdf.o): In function `netcdf_get_ivar_0d':
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:2301: undefined reference to `netcdf_mp_nf90_inq_varid_'
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:2304: undefined reference to `netcdf_mp_nf90_get_var_1d_fourbyteint_'
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:2307: undefined reference to `netcdf_mp_nf90_get_var_fourbyteint_'
/home/fkomijani/projects/upwelling/Build/libMODS.a(mod_netcdf.o): In function `netcdf_get_ivar_1d':
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:2404: undefined reference to `netcdf_mp_nf90_inq_varid_'
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:2407: undefined reference to `netcdf_mp_nf90_get_var_1d_fourbyteint_'
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:2409: undefined reference to `netcdf_mp_nf90_get_var_1d_fourbyteint_'
/home/fkomijani/projects/upwelling/Build/libMODS.a(mod_netcdf.o): In function `netcdf_get_ivar_2d':
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:2507: undefined reference to `netcdf_mp_nf90_inq_varid_'
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:2510: undefined reference to `netcdf_mp_nf90_get_var_2d_fourbyteint_'
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:2512: undefined reference to `netcdf_mp_nf90_get_var_2d_fourbyteint_'
/home/fkomijani/projects/upwelling/Build/libMODS.a(mod_netcdf.o): In function `netcdf_get_svar_0d':
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:2608: undefined reference to `netcdf_mp_nf90_inq_varid_'
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:2611: undefined reference to `netcdf_mp_nf90_get_var_text_'
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:2613: undefined reference to `netcdf_mp_nf90_get_var_text_'
/home/fkomijani/projects/upwelling/Build/libMODS.a(mod_netcdf.o): In function `netcdf_get_svar_1d':
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:2710: undefined reference to `netcdf_mp_nf90_inq_varid_'
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:2713: undefined reference to `netcdf_mp_nf90_get_var_1d_text_'
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:2715: undefined reference to `netcdf_mp_nf90_get_var_1d_text_'
/home/fkomijani/projects/upwelling/Build/libMODS.a(mod_netcdf.o): In function `netcdf_put_fvar_0d':
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:2812: undefined reference to `netcdf_mp_nf90_inq_varid_'
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:2827: undefined reference to `netcdf_mp_nf90_put_var_eightbytereal_'
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:2830: undefined reference to `netcdf_mp_nf90_put_var_1d_eightbytereal_'
/home/fkomijani/projects/upwelling/Build/libMODS.a(mod_netcdf.o): In function `netcdf_put_fvar_1d':
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:2921: undefined reference to `netcdf_mp_nf90_inq_varid_'
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:2935: undefined reference to `netcdf_mp_nf90_put_var_1d_eightbytereal_'
/home/fkomijani/projects/upwelling/Build/libMODS.a(mod_netcdf.o): In function `netcdf_put_fvar_2d':
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:3025: undefined reference to `netcdf_mp_nf90_inq_varid_'
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:3039: undefined reference to `netcdf_mp_nf90_put_var_2d_eightbytereal_'
/home/fkomijani/projects/upwelling/Build/libMODS.a(mod_netcdf.o): In function `netcdf_put_fvar_3d':
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:3129: undefined reference to `netcdf_mp_nf90_inq_varid_'
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:3143: undefined reference to `netcdf_mp_nf90_put_var_3d_eightbytereal_'
/home/fkomijani/projects/upwelling/Build/libMODS.a(mod_netcdf.o): In function `netcdf_put_fvar_4d':
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:3233: undefined reference to `netcdf_mp_nf90_inq_varid_'
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:3247: undefined reference to `netcdf_mp_nf90_put_var_4d_eightbytereal_'
/home/fkomijani/projects/upwelling/Build/libMODS.a(mod_netcdf.o): In function `netcdf_put_ivar_0d':
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:3338: undefined reference to `netcdf_mp_nf90_inq_varid_'
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:3353: undefined reference to `netcdf_mp_nf90_put_var_fourbyteint_'
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:3356: undefined reference to `netcdf_mp_nf90_put_var_1d_fourbyteint_'
/home/fkomijani/projects/upwelling/Build/libMODS.a(mod_netcdf.o): In function `netcdf_put_ivar_1d':
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:3447: undefined reference to `netcdf_mp_nf90_inq_varid_'
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:3461: undefined reference to `netcdf_mp_nf90_put_var_1d_fourbyteint_'
/home/fkomijani/projects/upwelling/Build/libMODS.a(mod_netcdf.o): In function `netcdf_put_ivar_2d':
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:3551: undefined reference to `netcdf_mp_nf90_inq_varid_'
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:3565: undefined reference to `netcdf_mp_nf90_put_var_2d_fourbyteint_'
/home/fkomijani/projects/upwelling/Build/libMODS.a(mod_netcdf.o): In function `netcdf_put_lvar_0d':
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:3660: undefined reference to `netcdf_mp_nf90_inq_varid_'
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:3684: undefined reference to `netcdf_mp_nf90_put_var_fourbyteint_'
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:3687: undefined reference to `netcdf_mp_nf90_put_var_1d_fourbyteint_'
/home/fkomijani/projects/upwelling/Build/libMODS.a(mod_netcdf.o): In function `netcdf_put_lvar_1d':
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:3782: undefined reference to `netcdf_mp_nf90_inq_varid_'
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:3807: undefined reference to `netcdf_mp_nf90_put_var_1d_fourbyteint_'
/home/fkomijani/projects/upwelling/Build/libMODS.a(mod_netcdf.o): In function `netcdf_put_lvar_2d':
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:3901: undefined reference to `netcdf_mp_nf90_inq_varid_'
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:3928: undefined reference to `netcdf_mp_nf90_put_var_2d_fourbyteint_'
/home/fkomijani/projects/upwelling/Build/libMODS.a(mod_netcdf.o): In function `netcdf_put_svar_0d':
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:4019: undefined reference to `netcdf_mp_nf90_inq_varid_'
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:4035: undefined reference to `netcdf_mp_nf90_put_var_text_'
/home/fkomijani/projects/upwelling/Build/libMODS.a(mod_netcdf.o): In function `netcdf_put_svar_1d':
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:4126: undefined reference to `netcdf_mp_nf90_inq_varid_'
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:4144: undefined reference to `netcdf_mp_nf90_put_var_1d_text_'
/home/fkomijani/projects/upwelling/Build/libMODS.a(mod_netcdf.o): In function `netcdf_close':
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:4217: undefined reference to `netcdf_mp_nf90_get_att_text_'
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:4225: undefined reference to `netcdf_mp_nf90_close_'
/home/fkomijani/projects/upwelling/Build/libMODS.a(mod_netcdf.o): In function `netcdf_create':
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:4283: undefined reference to `netcdf_mp_nf90_create_'
/home/fkomijani/projects/upwelling/Build/libMODS.a(mod_netcdf.o): In function `netcdf_enddef':
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:4335: undefined reference to `netcdf_mp_nf90_enddef_'
/home/fkomijani/projects/upwelling/Build/libMODS.a(mod_netcdf.o): In function `netcdf_open':
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:4392: undefined reference to `netcdf_mp_nf90_open_'
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:4394: undefined reference to `netcdf_mp_nf90_open_'
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:4396: undefined reference to `netcdf_mp_nf90_open_'
/home/fkomijani/projects/upwelling/Build/libMODS.a(mod_netcdf.o): In function `netcdf_redef':
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:4448: undefined reference to `netcdf_mp_nf90_redef_'
/home/fkomijani/projects/upwelling/Build/libMODS.a(mod_netcdf.o): In function `netcdf_sync':
/home/fkomijani/projects/upwelling/Build/mod_netcdf.f90:4502: undefined reference to `netcdf_mp_nf90_sync_'
make: *** [/home/fkomijani/projects/upwelling/oceanG] Error 1

i need you idea for solving those errors
thank for your kindness
best regard
fereshte

User avatar
kate
Posts: 4091
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: Compiling error

#11 Unread post by kate »

/opt/intel/Compiler/11.1/080/bin/ia32/ifort -heap-arrays -fp-model precise -g -check uninit -ftrapuv -traceback /home/fkomijani/projects/upwelling/Build/roms_import.o /home/fkomijani/projects/upwelling/Build/propagator.o /home/fkomijani/projects/upwelling/Build/master.o /home/fkomijani/projects/upwelling/Build/roms_export.o /home/fkomijani/projects/upwelling/Build/ocean_coupler.o /home/fkomijani/projects/upwelling/Build/esmf_roms.o /home/fkomijani/projects/upwelling/Build/ocean_control.o -o /home/fkomijani/projects/upwelling/oceanG /home/fkomijani/projects/upwelling/Build/libUTIL.a /home/fkomijani/projects/upwelling/Build/libNLM.a /home/fkomijani/projects/upwelling/Build/libNLM_bio.a /home/fkomijani/projects/upwelling/Build/libNLM_sed.a /home/fkomijani/projects/upwelling/Build/libANA.a /home/fkomijani/projects/upwelling/Build/libUTIL.a /home/fkomijani/projects/upwelling/Build/libMODS.a
This link command needs to be pointing to your NetCDF libraries. Did you opt for USE_NETCDF4 in the build? I don't have time to update the FAQ on the wiki to say all there is to say about nc-config, but it's been posted in here. What do you get from "nc-config --flibs"? That should produce the list of libraries you need on your link statement.

fereshteh
Posts: 79
Joined: Sun Dec 30, 2012 2:58 pm
Location: inio:Iranian National Institute for Oceanography

Re: Compiling error

#12 Unread post by fereshteh »

Dear kate
i have opted USE_NETCDF4=on and with regard that i execute in serial version, i have determined its required address as below:
export NC_CONFIG=/usr/bin/nc-config
export NETCDF_INCDIR=/home/fkomijani/NETCDF/include
because when i located nc-confige in home directory, Its reply was in /usr/bin/nc-config

and then executed again, but i have same errors.
I am waiting your guidance
thanks in advance
fereshte

User avatar
rdussin
Posts: 8
Joined: Wed Jul 13, 2011 12:37 pm
Location: IMCS Rutgers

Re: Compiling error

#13 Unread post by rdussin »

hi,

I think your /usr/bin/nc-config does not belong to the netcdf you have compiled with ifort in /home/fkomijani/NETCDF/

I bet it comes from a precompiled linux package you have installed with apt-get/yum/...
most linux distributions have netcdf packages (including dev files) compiled with gcc/gfortran,
so trying to link them with ifort compiler will fail.

running /usr/bin/nc-config --includedir will output a directory which is not the one you want (e.g. different from /home/fkomijani/NETCDF/include), but rather /usr/include

hence you should use the nc-config that is relevant for your intel-compiled netcdf lib. You should find it in /home/fkomijani/NETCDF/bin

informations on nc-config can be found here :

http://www.unidata.ucar.edu/software/ne ... onfig.html

be careful when using "which nc-config" command, it outputs the nc-config that comes first in your PATH but not necessarily the one you should use for a given compilation.

good luck,
raphael

fereshteh
Posts: 79
Joined: Sun Dec 30, 2012 2:58 pm
Location: inio:Iranian National Institute for Oceanography

Re: Compiling error

#14 Unread post by fereshteh »

Dear Raphael
first of all, thanks for your information , it help me to understand some details.
I utilize netcdf 4.0 and linux fedora 16, and i like to say that linux have not been installed with yum command but rather with cd.
Also I check /home/fkomijani/NETCDF/bin, It just has 2 files:ncdump and ncgen and it has not nc-config. with regar to your reply it seems that installed linux dose not have dev files. now what is the best option to do? Change my linux or install other version of netcdf? Or you have anothe recommend for me? :?:
Thanks again
sincerely yours
fereshte

User avatar
kate
Posts: 4091
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: Compiling error

#15 Unread post by kate »

nc-config was not in NetCDF 4.0, but has been in every version since. One option would be to download the current version and compile it, along with the now-separate NetCDF-Fortran package.

If that seems like too much trouble, you can search in these forums for Mark Hadfield's version of nc-config and use it instead.

fereshteh
Posts: 79
Joined: Sun Dec 30, 2012 2:58 pm
Location: inio:Iranian National Institute for Oceanography

Re: Compiling error

#16 Unread post by fereshteh »

hi
Dear kate
Generally, your answer help me always and I am appreciate for this. I decided to use Mark Hadfield's version of nc_config and search it in forum, but I have not found it.
please tell me where it is :oops:
thanks
fereshte

User avatar
kate
Posts: 4091
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: Compiling error

#17 Unread post by kate »

I'm traveling right now. Perhaps someone else can point you to it, but really, it's not that hard to compile NetCDF. Yes, if you want to use ifort for ROMS, you need to use it for NetCDF too.

p.heidary

Re: Compiling error

#18 Unread post by p.heidary »

Hi fereshte
It seems you have a problem with netcdf.
There is a following code in compiler/Linux-ifort.mk .

Code: Select all

ifdef USE_NETCDF4
        NC_CONFIG ?= nc-config
    NETCDF_INCDIR ?= $(shell $(NC_CONFIG) --prefix)/include
             LIBS := $(shell $(NC_CONFIG) --flibs)
else
    NETCDF_INCDIR ?= /opt/netcdf/intel-3.6.3/include
    NETCDF_LIBDIR ?= /opt/netcdf/intel-3.6.3/lib64
             LIBS := -L$(NETCDF_LIBDIR) -lnetcdf
endif
which automatically sets lib and include directory according to nc-config. Unless you have defined NETCDF_INCDIR or NETCDF_LIBDIR somewhere which means ?= does not work.
You can use following code, however, before it.

Code: Select all

unexport NETCDF_LIBDIR
unexport NETCDF_INCDIR
You 'd better compile netcdf from source. I have multiple netcdf installation in terms of compiler, MPI, version and dynamic or static.

Moreover if you want to engage with further development such as coupling ( for example coawst: Roms + swan + wrf ) and have installed netcdf with package manager you are in big trouble. It would be very messy as each of them may need their own version.

Post Reply