upwelling - linux-ifort.mk compilation error

Discussion on computers, ROMS installation and compiling

Moderators: arango, robertson

Post Reply
Message
Author
briskbamboo
Posts: 20
Joined: Thu Aug 20, 2020 1:24 pm
Location: University of Tsukuba

upwelling - linux-ifort.mk compilation error

#1 Post by briskbamboo »

I try to compile upwelling with linux-ifort.mk with setting in build_roms.csh

Code: Select all

 setenv USE_MPI             on          # distributed-memory parallelism
#setenv USE_MPIF90          on          # compile with mpif90 script
 setenv which_MPI           mpich       # compile with MPICH library
#setenv which_MPI           mpich2      # compile with MPICH2 library
#setenv which_MPI           openmpi     # compile with OpenMPI library

#setenv USE_OpenMP          on          # shared-memory parallelism

 setenv FORT                ifort
#setenv FORT                gfortran
#setenv FORT                pgi

#setenv USE_DEBUG           on          # use Fortran debugging flags
 setenv USE_LARGE           on          # activate 64-bit compilation
#setenv USE_NETCDF4         on          # compile with NetCDF-4 library
#setenv USE_HDF5            on          # compile with HDF5 library
#setenv USE_PARALLEL_IO     on          # Parallel I/O with NetCDF-4/HDF5
I have installed Netcdf-3.6.1 and Mpich-3.4.1 with ifort. I try to compile by running the ./build_roms.csh -j 4
then I have this error

Code: Select all

/home/bangdt/210307/test/upwelling/Build_roms/libNLM.a          -L/home/bangdt/netcdf-3.6.1/lib -lnetcdf -lfmpi-pgi -lmpi-pgi
ld: cannot find -lfmpi-pgi
ld: cannot find -lmpi-pgi
make: *** [Master/Module.mk:22: /home/bangdt/210307/test/upwelling/romsM] Error 1
In linux-ifort.mk I have

Code: Select all

ifdef USE_MPI
         CPPFLAGS += -DMPI
 ifdef USE_MPIF90
               FC := mpif90
 else
             LIBS += -lfmpi-pgi -lmpi-pgi
 endif
endif
so I think
LIBS += -lfmpi-pgi -lmpi-pgi
is the config for pgi then could u please help me the setting for ifort please.

Thanks.

Regard.

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

Re: upwelling - linux-ifort.mk compilation error

#2 Post by kate »

I think you want to have USE_MPIF90 turned on.

briskbamboo
Posts: 20
Joined: Thu Aug 20, 2020 1:24 pm
Location: University of Tsukuba

Re: upwelling - linux-ifort.mk compilation error

#3 Post by briskbamboo »

Thank you Kate for the suggestion
I change to mpif90 then it show this error

Code: Select all

/home/bangdt/210307/test/upwelling/Build_roms/libNLM.a          -L/home/bangdt/netcdf-3.6.1/lib -lnetcdf
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_inq_libvers_':
netcdf.f90:(.text+0x25): undefined reference to `nf_inq_libvers_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_inq_base_pe_':
netcdf.f90:(.text+0x73): undefined reference to `nf_inq_base_pe_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_set_base_pe_':
netcdf.f90:(.text+0x83): undefined reference to `nf_set_base_pe_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_create_':
netcdf.f90:(.text+0xc7): undefined reference to `nf_create_'
ld: netcdf.f90:(.text+0x108): undefined reference to `nf__create_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_create_mp_':
netcdf.f90:(.text+0x123): undefined reference to `nf__create_mp_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_open_':
netcdf.f90:(.text+0x141): undefined reference to `nf__open_'
ld: netcdf.f90:(.text+0x14e): undefined reference to `nf_open_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_open_mp_':
netcdf.f90:(.text+0x163): undefined reference to `nf__open_mp_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_set_fill_':
netcdf.f90:(.text+0x173): undefined reference to `nf_set_fill_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_redef_':
netcdf.f90:(.text+0x183): undefined reference to `nf_redef_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_enddef_':
netcdf.f90:(.text+0x23b): undefined reference to `nf__enddef_'
ld: netcdf.f90:(.text+0x247): undefined reference to `nf_enddef_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_sync_':
netcdf.f90:(.text+0x253): undefined reference to `nf_sync_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_close_':
netcdf.f90:(.text+0x263): undefined reference to `nf_close_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_delete_':
netcdf.f90:(.text+0x273): undefined reference to `nf_delete_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_inquire_':
netcdf.f90:(.text+0x2b7): undefined reference to `nf_inq_'
ld: netcdf.f90:(.text+0x2fb): undefined reference to `nf_inq_format_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_def_dim_':
netcdf.f90:(.text+0x323): undefined reference to `nf_def_dim_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_inq_dimid_':
netcdf.f90:(.text+0x333): undefined reference to `nf_inq_dimid_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_rename_dim_':
netcdf.f90:(.text+0x343): undefined reference to `nf_rename_dim_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_inquire_dimension_':
netcdf.f90:(.text+0x37e): undefined reference to `nf_inq_dim_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_copy_att_':
netcdf.f90:(.text+0x3e3): undefined reference to `nf_copy_att_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_rename_att_':
netcdf.f90:(.text+0x3f3): undefined reference to `nf_rename_att_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_del_att_':
netcdf.f90:(.text+0x403): undefined reference to `nf_del_att_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_inq_attname_':
netcdf.f90:(.text+0x413): undefined reference to `nf_inq_attname_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_inquire_attribute_':
netcdf.f90:(.text+0x454): undefined reference to `nf_inq_attid_'
ld: netcdf.f90:(.text+0x472): undefined reference to `nf_inq_att_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_put_att_text_':
netcdf.f90:(.text+0x524): undefined reference to `nf_put_att_text_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_get_att_text_':
netcdf.f90:(.text+0x553): undefined reference to `nf_get_att_text_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_put_att_onebyteint_':
netcdf.f90:(.text+0x68a): undefined reference to `nf_put_att_int1_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_put_att_one_onebyteint_':
netcdf.f90:(.text+0x6e1): undefined reference to `nf_put_att_int1_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_get_att_onebyteint_':
netcdf.f90:(.text+0x809): undefined reference to `nf_get_att_int1_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_get_att_one_onebyteint_':
netcdf.f90:(.text+0x92d): undefined reference to `nf_get_att_int1_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_put_att_twobyteint_':
netcdf.f90:(.text+0xa73): undefined reference to `nf_put_att_int2_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_put_att_one_twobyteint_':
netcdf.f90:(.text+0xac6): undefined reference to `nf_put_att_int2_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_get_att_twobyteint_':
netcdf.f90:(.text+0xbfa): undefined reference to `nf_get_att_int2_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_get_att_one_twobyteint_':
netcdf.f90:(.text+0xd1d): undefined reference to `nf_get_att_int2_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_put_att_fourbyteint_':
netcdf.f90:(.text+0xe4d): undefined reference to `nf_put_att_int_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_put_att_one_fourbyteint_':
netcdf.f90:(.text+0xea4): undefined reference to `nf_put_att_int_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_get_att_fourbyteint_':
netcdf.f90:(.text+0xef4): undefined reference to `nf_get_att_int_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_get_att_one_fourbyteint_':
netcdf.f90:(.text+0xffd): undefined reference to `nf_get_att_int_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_put_att_eightbyteint_':
netcdf.f90:(.text+0x11de): undefined reference to `nf_put_att_int_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_put_att_one_eightbyteint_':
netcdf.f90:(.text+0x1234): undefined reference to `nf_put_att_int_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_get_att_eightbyteint_':
netcdf.f90:(.text+0x1286): undefined reference to `nf_get_att_int_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_get_att_one_eightbyteint_':
netcdf.f90:(.text+0x143d): undefined reference to `nf_get_att_int_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_put_att_fourbytereal_':
netcdf.f90:(.text+0x157d): undefined reference to `nf_put_att_real_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_put_att_one_fourbytereal_':
netcdf.f90:(.text+0x15d4): undefined reference to `nf_put_att_real_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_get_att_fourbytereal_':
netcdf.f90:(.text+0x16fd): undefined reference to `nf_get_att_real_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_get_att_one_fourbytereal_':
netcdf.f90:(.text+0x181d): undefined reference to `nf_get_att_real_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_put_att_eightbytereal_':
netcdf.f90:(.text+0x1951): undefined reference to `nf_put_att_double_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_put_att_one_eightbytereal_':
netcdf.f90:(.text+0x19a6): undefined reference to `nf_put_att_double_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_get_att_eightbytereal_':
netcdf.f90:(.text+0x1ab6): undefined reference to `nf_get_att_double_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_get_att_one_eightbytereal_':
netcdf.f90:(.text+0x1bdd): undefined reference to `nf_get_att_double_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_def_var_scalar_':
netcdf.f90:(.text+0x1c09): undefined reference to `nf_def_var_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_def_var_onedim_':
netcdf.f90:(.text+0x1c46): undefined reference to `nf_def_var_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_def_var_manydims_':
netcdf.f90:(.text+0x1d89): undefined reference to `nf_def_var_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_inq_varid_':
netcdf.f90:(.text+0x1dc3): undefined reference to `nf_inq_varid_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_inquire_variable_':
netcdf.f90:(.text+0x1e19): undefined reference to `nf_inq_var_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_rename_var_':
netcdf.f90:(.text+0x1fc3): undefined reference to `nf_rename_var_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_put_var_text_':
netcdf.f90:(.text+0x2402): undefined reference to `nf_put_vars_text_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_get_var_text_':
netcdf.f90:(.text+0x27ff): undefined reference to `nf_get_vars_text_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_put_var_1d_text_':
netcdf.f90:(.text+0x2c86): undefined reference to `nf_put_varm_text_'
ld: netcdf.f90:(.text+0x2ce2): undefined reference to `nf_put_vars_text_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_put_var_2d_text_':
netcdf.f90:(.text+0x318b): undefined reference to `nf_put_varm_text_'
ld: netcdf.f90:(.text+0x31e7): undefined reference to `nf_put_vars_text_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_put_var_3d_text_':
netcdf.f90:(.text+0x36be): undefined reference to `nf_put_varm_text_'
ld: netcdf.f90:(.text+0x371a): undefined reference to `nf_put_vars_text_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_put_var_4d_text_':
netcdf.f90:(.text+0x3c36): undefined reference to `nf_put_varm_text_'
ld: netcdf.f90:(.text+0x3c93): undefined reference to `nf_put_vars_text_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_put_var_5d_text_':
netcdf.f90:(.text+0x41fb): undefined reference to `nf_put_varm_text_'
ld: netcdf.f90:(.text+0x4258): undefined reference to `nf_put_vars_text_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_put_var_6d_text_':
netcdf.f90:(.text+0x486c): undefined reference to `nf_put_varm_text_'
ld: netcdf.f90:(.text+0x48c8): undefined reference to `nf_put_vars_text_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_put_var_7d_text_':
netcdf.f90:(.text+0x4ead): undefined reference to `nf_put_varm_text_'
ld: netcdf.f90:(.text+0x4f06): undefined reference to `nf_put_vars_text_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_get_var_1d_text_':
netcdf.f90:(.text+0x5376): undefined reference to `nf_get_varm_text_'
ld: netcdf.f90:(.text+0x53d2): undefined reference to `nf_get_vars_text_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_get_var_2d_text_':
netcdf.f90:(.text+0x587b): undefined reference to `nf_get_varm_text_'
ld: netcdf.f90:(.text+0x58d7): undefined reference to `nf_get_vars_text_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_get_var_3d_text_':
netcdf.f90:(.text+0x5dae): undefined reference to `nf_get_varm_text_'
ld: netcdf.f90:(.text+0x5e0a): undefined reference to `nf_get_vars_text_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_get_var_4d_text_':
netcdf.f90:(.text+0x6326): undefined reference to `nf_get_varm_text_'
ld: netcdf.f90:(.text+0x6383): undefined reference to `nf_get_vars_text_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_get_var_5d_text_':
netcdf.f90:(.text+0x68eb): undefined reference to `nf_get_varm_text_'
ld: netcdf.f90:(.text+0x6948): undefined reference to `nf_get_vars_text_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_get_var_6d_text_':
netcdf.f90:(.text+0x6f5c): undefined reference to `nf_get_varm_text_'
ld: netcdf.f90:(.text+0x6fb8): undefined reference to `nf_get_vars_text_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_get_var_7d_text_':
netcdf.f90:(.text+0x759d): undefined reference to `nf_get_varm_text_'
ld: netcdf.f90:(.text+0x75f6): undefined reference to `nf_get_vars_text_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_put_var_onebyteint_':
netcdf.f90:(.text+0x7727): undefined reference to `nf_put_var1_int1_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_put_var_twobyteint_':
netcdf.f90:(.text+0x7867): undefined reference to `nf_put_var1_int2_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_put_var_fourbyteint_':
netcdf.f90:(.text+0x79a9): undefined reference to `nf_put_var1_int_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_put_var_eightbyteint_':
netcdf.f90:(.text+0x7ae9): undefined reference to `nf_put_var1_int_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_put_var_fourbytereal_':
netcdf.f90:(.text+0x7c27): undefined reference to `nf_put_var1_real_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_put_var_eightbytereal_':
netcdf.f90:(.text+0x7d67): undefined reference to `nf_put_var1_double_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_get_var_onebyteint_':
netcdf.f90:(.text+0x7ea7): undefined reference to `nf_get_var1_int1_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_get_var_twobyteint_':
netcdf.f90:(.text+0x7fe7): undefined reference to `nf_get_var1_int2_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_get_var_fourbyteint_':
netcdf.f90:(.text+0x8126): undefined reference to `nf_get_var1_int_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_get_var_eightbyteint_':
netcdf.f90:(.text+0x8266): undefined reference to `nf_get_var1_int_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_get_var_fourbytereal_':
netcdf.f90:(.text+0x83a7): undefined reference to `nf_get_var1_real_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_get_var_eightbytereal_':
netcdf.f90:(.text+0x84e7): undefined reference to `nf_get_var1_double_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_put_var_1d_onebyteint_':
netcdf.f90:(.text+0x8aa9): undefined reference to `nf_put_varm_int1_'
ld: netcdf.f90:(.text+0x8bd5): undefined reference to `nf_put_vars_int1_'
ld: netcdf.f90:(.text+0x8cd7): undefined reference to `nf_put_vara_int1_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_put_var_2d_onebyteint_':
netcdf.f90:(.text+0x942a): undefined reference to `nf_put_varm_int1_'
ld: netcdf.f90:(.text+0x9664): undefined reference to `nf_put_vars_int1_'
ld: netcdf.f90:(.text+0x9880): undefined reference to `nf_put_vara_int1_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_put_var_3d_onebyteint_':
netcdf.f90:(.text+0xa146): undefined reference to `nf_put_varm_int1_'
ld: netcdf.f90:(.text+0xa4f9): undefined reference to `nf_put_vars_int1_'
ld: netcdf.f90:(.text+0xa89f): undefined reference to `nf_put_vara_int1_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_put_var_4d_onebyteint_':
netcdf.f90:(.text+0xae08): undefined reference to `nf_put_varm_int1_'
ld: netcdf.f90:(.text+0xae77): undefined reference to `nf_put_vars_int1_'
ld: netcdf.f90:(.text+0xaeaa): undefined reference to `nf_put_vara_int1_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_put_var_5d_onebyteint_':
netcdf.f90:(.text+0xb42b): undefined reference to `nf_put_varm_int1_'
ld: netcdf.f90:(.text+0xb49a): undefined reference to `nf_put_vars_int1_'
ld: netcdf.f90:(.text+0xb4cd): undefined reference to `nf_put_vara_int1_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_put_var_6d_onebyteint_':
netcdf.f90:(.text+0xba93): undefined reference to `nf_put_varm_int1_'
ld: netcdf.f90:(.text+0xbb02): undefined reference to `nf_put_vars_int1_'
ld: netcdf.f90:(.text+0xbb35): undefined reference to `nf_put_vara_int1_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_put_var_7d_onebyteint_':
netcdf.f90:(.text+0xc176): undefined reference to `nf_put_varm_int1_'
ld: netcdf.f90:(.text+0xc1ca): undefined reference to `nf_put_vars_int1_'
ld: netcdf.f90:(.text+0xc1fc): undefined reference to `nf_put_vara_int1_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_put_var_1d_twobyteint_':
netcdf.f90:(.text+0xc7c4): undefined reference to `nf_put_varm_int2_'
ld: netcdf.f90:(.text+0xc8fb): undefined reference to `nf_put_vars_int2_'
ld: netcdf.f90:(.text+0xca08): undefined reference to `nf_put_vara_int2_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_put_var_2d_twobyteint_':
netcdf.f90:(.text+0xd18e): undefined reference to `nf_put_varm_int2_'
ld: netcdf.f90:(.text+0xd3fb): undefined reference to `nf_put_vars_int2_'
ld: netcdf.f90:(.text+0xd648): undefined reference to `nf_put_vara_int2_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_put_var_3d_twobyteint_':
netcdf.f90:(.text+0xdf26): undefined reference to `nf_put_varm_int2_'
ld: netcdf.f90:(.text+0xe2f9): undefined reference to `nf_put_vars_int2_'
ld: netcdf.f90:(.text+0xe6b7): undefined reference to `nf_put_vara_int2_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_put_var_4d_twobyteint_':
netcdf.f90:(.text+0xec28): undefined reference to `nf_put_varm_int2_'
ld: netcdf.f90:(.text+0xec97): undefined reference to `nf_put_vars_int2_'
ld: netcdf.f90:(.text+0xecca): undefined reference to `nf_put_vara_int2_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_put_var_5d_twobyteint_':
netcdf.f90:(.text+0xf24b): undefined reference to `nf_put_varm_int2_'
ld: netcdf.f90:(.text+0xf2ba): undefined reference to `nf_put_vars_int2_'
ld: netcdf.f90:(.text+0xf2ed): undefined reference to `nf_put_vara_int2_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_put_var_6d_twobyteint_':
netcdf.f90:(.text+0xf8b3): undefined reference to `nf_put_varm_int2_'
ld: netcdf.f90:(.text+0xf922): undefined reference to `nf_put_vars_int2_'
ld: netcdf.f90:(.text+0xf955): undefined reference to `nf_put_vara_int2_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_put_var_7d_twobyteint_':
netcdf.f90:(.text+0xff96): undefined reference to `nf_put_varm_int2_'
ld: netcdf.f90:(.text+0xffea): undefined reference to `nf_put_vars_int2_'
ld: netcdf.f90:(.text+0x1001c): undefined reference to `nf_put_vara_int2_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_put_var_1d_fourbyteint_':
netcdf.f90:(.text+0x105c3): undefined reference to `nf_put_varm_int_'
ld: netcdf.f90:(.text+0x106d8): undefined reference to `nf_put_vars_int_'
ld: netcdf.f90:(.text+0x107c4): undefined reference to `nf_put_vara_int_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_put_var_2d_fourbyteint_':
netcdf.f90:(.text+0x10f1b): undefined reference to `nf_put_varm_int_'
ld: netcdf.f90:(.text+0x11154): undefined reference to `nf_put_vars_int_'
ld: netcdf.f90:(.text+0x1136e): undefined reference to `nf_put_vara_int_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_put_var_3d_fourbyteint_':
netcdf.f90:(.text+0x11c6a): undefined reference to `nf_put_varm_int_'
ld: netcdf.f90:(.text+0x1201e): undefined reference to `nf_put_vars_int_'
ld: netcdf.f90:(.text+0x123b2): undefined reference to `nf_put_vara_int_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_put_var_4d_fourbyteint_':
netcdf.f90:(.text+0x12de4): undefined reference to `nf_put_varm_int_'
ld: netcdf.f90:(.text+0x13271): undefined reference to `nf_put_vars_int_'
ld: netcdf.f90:(.text+0x136eb): undefined reference to `nf_put_vara_int_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_put_var_5d_fourbyteint_':
netcdf.f90:(.text+0x142e4): undefined reference to `nf_put_varm_int_'
ld: netcdf.f90:(.text+0x14897): undefined reference to `nf_put_vars_int_'
ld: netcdf.f90:(.text+0x14dfc): undefined reference to `nf_put_vara_int_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_put_var_6d_fourbyteint_':
netcdf.f90:(.text+0x15ace): undefined reference to `nf_put_varm_int_'
ld: netcdf.f90:(.text+0x16156): undefined reference to `nf_put_vars_int_'
ld: netcdf.f90:(.text+0x167a7): undefined reference to `nf_put_vara_int_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_put_var_7d_fourbyteint_':
netcdf.f90:(.text+0x1760a): undefined reference to `nf_put_varm_int_'
ld: netcdf.f90:(.text+0x17daa): undefined reference to `nf_put_vars_int_'
ld: netcdf.f90:(.text+0x1850f): undefined reference to `nf_put_vara_int_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_put_var_1d_eightbyteint_':
netcdf.f90:(.text+0x18b8b): undefined reference to `nf_put_varm_int_'
ld: netcdf.f90:(.text+0x18d6e): undefined reference to `nf_put_vars_int_'
ld: netcdf.f90:(.text+0x18f24): undefined reference to `nf_put_vara_int_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_put_var_2d_eightbyteint_':
netcdf.f90:(.text+0x196c0): undefined reference to `nf_put_varm_int_'
ld: netcdf.f90:(.text+0x19943): undefined reference to `nf_put_vars_int_'
ld: netcdf.f90:(.text+0x19ba5): undefined reference to `nf_put_vara_int_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_put_var_3d_eightbyteint_':
netcdf.f90:(.text+0x1a4dc): undefined reference to `nf_put_varm_int_'
ld: netcdf.f90:(.text+0x1a8de): undefined reference to `nf_put_vars_int_'
ld: netcdf.f90:(.text+0x1acbe): undefined reference to `nf_put_vara_int_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_put_var_4d_eightbyteint_':
netcdf.f90:(.text+0x1b744): undefined reference to `nf_put_varm_int_'
ld: netcdf.f90:(.text+0x1bc21): undefined reference to `nf_put_vars_int_'
ld: netcdf.f90:(.text+0x1c0e9): undefined reference to `nf_put_vara_int_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_put_var_5d_eightbyteint_':
netcdf.f90:(.text+0x1cd2e): undefined reference to `nf_put_varm_int_'
ld: netcdf.f90:(.text+0x1d32d): undefined reference to `nf_put_vars_int_'
ld: netcdf.f90:(.text+0x1d8d6): undefined reference to `nf_put_vara_int_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_put_var_6d_eightbyteint_':
netcdf.f90:(.text+0x1e603): undefined reference to `nf_put_varm_int_'
ld: netcdf.f90:(.text+0x1ecde): undefined reference to `nf_put_vars_int_'
ld: netcdf.f90:(.text+0x1f375): undefined reference to `nf_put_vara_int_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_put_var_7d_eightbyteint_':
netcdf.f90:(.text+0x2022f): undefined reference to `nf_put_varm_int_'
ld: netcdf.f90:(.text+0x20a20): undefined reference to `nf_put_vars_int_'
ld: netcdf.f90:(.text+0x211ef): undefined reference to `nf_put_vara_int_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_put_var_1d_fourbytereal_':
netcdf.f90:(.text+0x217bb): undefined reference to `nf_put_varm_real_'
ld: netcdf.f90:(.text+0x218e9): undefined reference to `nf_put_vars_real_'
ld: netcdf.f90:(.text+0x219ed): undefined reference to `nf_put_vara_real_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_put_var_2d_fourbytereal_':
netcdf.f90:(.text+0x22162): undefined reference to `nf_put_varm_real_'
ld: netcdf.f90:(.text+0x223c3): undefined reference to `nf_put_vars_real_'
ld: netcdf.f90:(.text+0x22604): undefined reference to `nf_put_vara_real_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_put_var_3d_fourbytereal_':
netcdf.f90:(.text+0x22eda): undefined reference to `nf_put_varm_real_'
ld: netcdf.f90:(.text+0x232a1): undefined reference to `nf_put_vars_real_'
ld: netcdf.f90:(.text+0x23653): undefined reference to `nf_put_vara_real_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_put_var_4d_fourbytereal_':
netcdf.f90:(.text+0x23bb8): undefined reference to `nf_put_varm_real_'
ld: netcdf.f90:(.text+0x23c27): undefined reference to `nf_put_vars_real_'
ld: netcdf.f90:(.text+0x23c5a): undefined reference to `nf_put_vara_real_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_put_var_5d_fourbytereal_':
netcdf.f90:(.text+0x241db): undefined reference to `nf_put_varm_real_'
ld: netcdf.f90:(.text+0x2424a): undefined reference to `nf_put_vars_real_'
ld: netcdf.f90:(.text+0x2427d): undefined reference to `nf_put_vara_real_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_put_var_6d_fourbytereal_':
netcdf.f90:(.text+0x24843): undefined reference to `nf_put_varm_real_'
ld: netcdf.f90:(.text+0x248b2): undefined reference to `nf_put_vars_real_'
ld: netcdf.f90:(.text+0x248e5): undefined reference to `nf_put_vara_real_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_put_var_7d_fourbytereal_':
netcdf.f90:(.text+0x24f26): undefined reference to `nf_put_varm_real_'
ld: netcdf.f90:(.text+0x24f7a): undefined reference to `nf_put_vars_real_'
ld: netcdf.f90:(.text+0x24fac): undefined reference to `nf_put_vara_real_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_put_var_1d_eightbytereal_':
netcdf.f90:(.text+0x2556b): undefined reference to `nf_put_varm_double_'
ld: netcdf.f90:(.text+0x2569d): undefined reference to `nf_put_vars_double_'
ld: netcdf.f90:(.text+0x257a5): undefined reference to `nf_put_vara_double_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_put_var_2d_eightbytereal_':
netcdf.f90:(.text+0x25f1c): undefined reference to `nf_put_varm_double_'
ld: netcdf.f90:(.text+0x2617c): undefined reference to `nf_put_vars_double_'
ld: netcdf.f90:(.text+0x263bd): undefined reference to `nf_put_vara_double_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_put_var_3d_eightbytereal_':
netcdf.f90:(.text+0x26c9d): undefined reference to `nf_put_varm_double_'
ld: netcdf.f90:(.text+0x2706e): undefined reference to `nf_put_vars_double_'
ld: netcdf.f90:(.text+0x27432): undefined reference to `nf_put_vara_double_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_put_var_4d_eightbytereal_':
netcdf.f90:(.text+0x279a8): undefined reference to `nf_put_varm_double_'
ld: netcdf.f90:(.text+0x27a17): undefined reference to `nf_put_vars_double_'
ld: netcdf.f90:(.text+0x27a4a): undefined reference to `nf_put_vara_double_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_put_var_5d_eightbytereal_':
netcdf.f90:(.text+0x27fcb): undefined reference to `nf_put_varm_double_'
ld: netcdf.f90:(.text+0x2803a): undefined reference to `nf_put_vars_double_'
ld: netcdf.f90:(.text+0x2806d): undefined reference to `nf_put_vara_double_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_put_var_6d_eightbytereal_':
netcdf.f90:(.text+0x28633): undefined reference to `nf_put_varm_double_'
ld: netcdf.f90:(.text+0x286a2): undefined reference to `nf_put_vars_double_'
ld: netcdf.f90:(.text+0x286d5): undefined reference to `nf_put_vara_double_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_put_var_7d_eightbytereal_':
netcdf.f90:(.text+0x28d16): undefined reference to `nf_put_varm_double_'
ld: netcdf.f90:(.text+0x28d6a): undefined reference to `nf_put_vars_double_'
ld: netcdf.f90:(.text+0x28d9c): undefined reference to `nf_put_vara_double_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_get_var_1d_onebyteint_':
netcdf.f90:(.text+0x29390): undefined reference to `nf_get_varm_int1_'
ld: netcdf.f90:(.text+0x295c2): undefined reference to `nf_get_vars_int1_'
ld: netcdf.f90:(.text+0x297da): undefined reference to `nf_get_vara_int1_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_get_var_2d_onebyteint_':
netcdf.f90:(.text+0x2a06e): undefined reference to `nf_get_varm_int1_'
ld: netcdf.f90:(.text+0x2a4ac): undefined reference to `nf_get_vars_int1_'
ld: netcdf.f90:(.text+0x2a8c8): undefined reference to `nf_get_vara_int1_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_get_var_3d_onebyteint_':
netcdf.f90:(.text+0x2b3a5): undefined reference to `nf_get_varm_int1_'
ld: netcdf.f90:(.text+0x2bac8): undefined reference to `nf_get_vars_int1_'
ld: netcdf.f90:(.text+0x2c205): undefined reference to `nf_get_vara_int1_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_get_var_4d_onebyteint_':
netcdf.f90:(.text+0x2cad8): undefined reference to `nf_get_varm_int1_'
ld: netcdf.f90:(.text+0x2cb47): undefined reference to `nf_get_vars_int1_'
ld: netcdf.f90:(.text+0x2cb7a): undefined reference to `nf_get_vara_int1_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_get_var_5d_onebyteint_':
netcdf.f90:(.text+0x2d0fb): undefined reference to `nf_get_varm_int1_'
ld: netcdf.f90:(.text+0x2d16a): undefined reference to `nf_get_vars_int1_'
ld: netcdf.f90:(.text+0x2d19d): undefined reference to `nf_get_vara_int1_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_get_var_6d_onebyteint_':
netcdf.f90:(.text+0x2d763): undefined reference to `nf_get_varm_int1_'
ld: netcdf.f90:(.text+0x2d7d2): undefined reference to `nf_get_vars_int1_'
ld: netcdf.f90:(.text+0x2d805): undefined reference to `nf_get_vara_int1_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_get_var_7d_onebyteint_':
netcdf.f90:(.text+0x2de46): undefined reference to `nf_get_varm_int1_'
ld: netcdf.f90:(.text+0x2de9a): undefined reference to `nf_get_vars_int1_'
ld: netcdf.f90:(.text+0x2decc): undefined reference to `nf_get_vara_int1_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_get_var_1d_twobyteint_':
netcdf.f90:(.text+0x2e4cb): undefined reference to `nf_get_varm_int2_'
ld: netcdf.f90:(.text+0x2e710): undefined reference to `nf_get_vars_int2_'
ld: netcdf.f90:(.text+0x2e940): undefined reference to `nf_get_vara_int2_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_get_var_2d_twobyteint_':
netcdf.f90:(.text+0x2f20c): undefined reference to `nf_get_varm_int2_'
ld: netcdf.f90:(.text+0x2f68b): undefined reference to `nf_get_vars_int2_'
ld: netcdf.f90:(.text+0x2faee): undefined reference to `nf_get_vara_int2_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_get_var_3d_twobyteint_':
netcdf.f90:(.text+0x3060f): undefined reference to `nf_get_varm_int2_'
ld: netcdf.f90:(.text+0x30d6f): undefined reference to `nf_get_vars_int2_'
ld: netcdf.f90:(.text+0x314ce): undefined reference to `nf_get_vara_int2_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_get_var_4d_twobyteint_':
netcdf.f90:(.text+0x31d88): undefined reference to `nf_get_varm_int2_'
ld: netcdf.f90:(.text+0x31df7): undefined reference to `nf_get_vars_int2_'
ld: netcdf.f90:(.text+0x31e2a): undefined reference to `nf_get_vara_int2_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_get_var_5d_twobyteint_':
netcdf.f90:(.text+0x323ab): undefined reference to `nf_get_varm_int2_'
ld: netcdf.f90:(.text+0x3241a): undefined reference to `nf_get_vars_int2_'
ld: netcdf.f90:(.text+0x3244d): undefined reference to `nf_get_vara_int2_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_get_var_6d_twobyteint_':
netcdf.f90:(.text+0x32a13): undefined reference to `nf_get_varm_int2_'
ld: netcdf.f90:(.text+0x32a82): undefined reference to `nf_get_vars_int2_'
ld: netcdf.f90:(.text+0x32ab5): undefined reference to `nf_get_vara_int2_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_get_var_7d_twobyteint_':
netcdf.f90:(.text+0x330f6): undefined reference to `nf_get_varm_int2_'
ld: netcdf.f90:(.text+0x3314a): undefined reference to `nf_get_vars_int2_'
ld: netcdf.f90:(.text+0x3317c): undefined reference to `nf_get_vara_int2_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_get_var_1d_fourbyteint_':
netcdf.f90:(.text+0x3368a): undefined reference to `nf_get_varm_int_'
ld: netcdf.f90:(.text+0x338c3): undefined reference to `nf_get_vars_int_'
ld: netcdf.f90:(.text+0x338e8): undefined reference to `nf_get_vara_int_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_get_var_2d_fourbyteint_':
netcdf.f90:(.text+0x33e1e): undefined reference to `nf_get_varm_int_'
ld: netcdf.f90:(.text+0x3427a): undefined reference to `nf_get_vars_int_'
ld: netcdf.f90:(.text+0x3429f): undefined reference to `nf_get_vara_int_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_get_var_3d_fourbyteint_':
netcdf.f90:(.text+0x3480f): undefined reference to `nf_get_varm_int_'
ld: netcdf.f90:(.text+0x34e54): undefined reference to `nf_get_vars_int_'
ld: netcdf.f90:(.text+0x34e7c): undefined reference to `nf_get_vara_int_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_get_var_4d_fourbyteint_':
netcdf.f90:(.text+0x35417): undefined reference to `nf_get_varm_int_'
ld: netcdf.f90:(.text+0x35c3b): undefined reference to `nf_get_vars_int_'
ld: netcdf.f90:(.text+0x35c63): undefined reference to `nf_get_vara_int_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_get_var_5d_fourbyteint_':
netcdf.f90:(.text+0x3623e): undefined reference to `nf_get_varm_int_'
ld: netcdf.f90:(.text+0x36c00): undefined reference to `nf_get_vars_int_'
ld: netcdf.f90:(.text+0x36c33): undefined reference to `nf_get_vara_int_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_get_var_6d_fourbyteint_':
netcdf.f90:(.text+0x3727b): undefined reference to `nf_get_varm_int_'
ld: netcdf.f90:(.text+0x37e5e): undefined reference to `nf_get_vars_int_'
ld: netcdf.f90:(.text+0x37e91): undefined reference to `nf_get_vara_int_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_get_var_7d_fourbyteint_':
netcdf.f90:(.text+0x3853a): undefined reference to `nf_get_varm_int_'
ld: netcdf.f90:(.text+0x3936d): undefined reference to `nf_get_vars_int_'
ld: netcdf.f90:(.text+0x393a7): undefined reference to `nf_get_vara_int_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_get_var_1d_eightbyteint_':
netcdf.f90:(.text+0x398ba): undefined reference to `nf_get_varm_int_'
ld: netcdf.f90:(.text+0x39b37): undefined reference to `nf_get_vars_int_'
ld: netcdf.f90:(.text+0x39b5c): undefined reference to `nf_get_vara_int_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_get_var_2d_eightbyteint_':
netcdf.f90:(.text+0x3a092): undefined reference to `nf_get_varm_int_'
ld: netcdf.f90:(.text+0x3a4eb): undefined reference to `nf_get_vars_int_'
ld: netcdf.f90:(.text+0x3a510): undefined reference to `nf_get_vara_int_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_get_var_3d_eightbyteint_':
netcdf.f90:(.text+0x3aa85): undefined reference to `nf_get_varm_int_'
ld: netcdf.f90:(.text+0x3b0a3): undefined reference to `nf_get_vars_int_'
ld: netcdf.f90:(.text+0x3b0cb): undefined reference to `nf_get_vara_int_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_get_var_4d_eightbyteint_':
netcdf.f90:(.text+0x3b667): undefined reference to `nf_get_varm_int_'
ld: netcdf.f90:(.text+0x3bea8): undefined reference to `nf_get_vars_int_'
ld: netcdf.f90:(.text+0x3bed0): undefined reference to `nf_get_vara_int_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_get_var_5d_eightbyteint_':
netcdf.f90:(.text+0x3c4a0): undefined reference to `nf_get_varm_int_'
ld: netcdf.f90:(.text+0x3ce89): undefined reference to `nf_get_vars_int_'
ld: netcdf.f90:(.text+0x3cebc): undefined reference to `nf_get_vara_int_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_get_var_6d_eightbyteint_':
netcdf.f90:(.text+0x3d4fb): undefined reference to `nf_get_varm_int_'
ld: netcdf.f90:(.text+0x3e0c0): undefined reference to `nf_get_vars_int_'
ld: netcdf.f90:(.text+0x3e0f3): undefined reference to `nf_get_vara_int_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_get_var_7d_eightbyteint_':
netcdf.f90:(.text+0x3e7a9): undefined reference to `nf_get_varm_int_'
ld: netcdf.f90:(.text+0x3f59d): undefined reference to `nf_get_vars_int_'
ld: netcdf.f90:(.text+0x3f5d7): undefined reference to `nf_get_vara_int_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_get_var_1d_fourbytereal_':
netcdf.f90:(.text+0x3fbd2): undefined reference to `nf_get_varm_real_'
ld: netcdf.f90:(.text+0x3fe02): undefined reference to `nf_get_vars_real_'
ld: netcdf.f90:(.text+0x40019): undefined reference to `nf_get_vara_real_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_get_var_2d_fourbytereal_':
netcdf.f90:(.text+0x408d4): undefined reference to `nf_get_varm_real_'
ld: netcdf.f90:(.text+0x40d37): undefined reference to `nf_get_vars_real_'
ld: netcdf.f90:(.text+0x4117e): undefined reference to `nf_get_vara_real_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_get_var_3d_fourbytereal_':
netcdf.f90:(.text+0x41c83): undefined reference to `nf_get_varm_real_'
ld: netcdf.f90:(.text+0x423c5): undefined reference to `nf_get_vars_real_'
ld: netcdf.f90:(.text+0x42b10): undefined reference to `nf_get_vara_real_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_get_var_4d_fourbytereal_':
netcdf.f90:(.text+0x433b8): undefined reference to `nf_get_varm_real_'
ld: netcdf.f90:(.text+0x43427): undefined reference to `nf_get_vars_real_'
ld: netcdf.f90:(.text+0x4345a): undefined reference to `nf_get_vara_real_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_get_var_5d_fourbytereal_':
netcdf.f90:(.text+0x439db): undefined reference to `nf_get_varm_real_'
ld: netcdf.f90:(.text+0x43a4a): undefined reference to `nf_get_vars_real_'
ld: netcdf.f90:(.text+0x43a7d): undefined reference to `nf_get_vara_real_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_get_var_6d_fourbytereal_':
netcdf.f90:(.text+0x44043): undefined reference to `nf_get_varm_real_'
ld: netcdf.f90:(.text+0x440b2): undefined reference to `nf_get_vars_real_'
ld: netcdf.f90:(.text+0x440e5): undefined reference to `nf_get_vara_real_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_get_var_7d_fourbytereal_':
netcdf.f90:(.text+0x44726): undefined reference to `nf_get_varm_real_'
ld: netcdf.f90:(.text+0x4477a): undefined reference to `nf_get_vars_real_'
ld: netcdf.f90:(.text+0x447ac): undefined reference to `nf_get_vara_real_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_get_var_1d_eightbytereal_':
netcdf.f90:(.text+0x44da1): undefined reference to `nf_get_varm_double_'
ld: netcdf.f90:(.text+0x44fe2): undefined reference to `nf_get_vars_double_'
ld: netcdf.f90:(.text+0x451fe): undefined reference to `nf_get_vara_double_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_get_var_2d_eightbytereal_':
netcdf.f90:(.text+0x45a97): undefined reference to `nf_get_varm_double_'
ld: netcdf.f90:(.text+0x45f14): undefined reference to `nf_get_vars_double_'
ld: netcdf.f90:(.text+0x46370): undefined reference to `nf_get_vara_double_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_get_var_3d_eightbytereal_':
netcdf.f90:(.text+0x46e9e): undefined reference to `nf_get_varm_double_'
ld: netcdf.f90:(.text+0x475ff): undefined reference to `nf_get_vars_double_'
ld: netcdf.f90:(.text+0x47d67): undefined reference to `nf_get_vara_double_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_get_var_4d_eightbytereal_':
netcdf.f90:(.text+0x48638): undefined reference to `nf_get_varm_double_'
ld: netcdf.f90:(.text+0x486a7): undefined reference to `nf_get_vars_double_'
ld: netcdf.f90:(.text+0x486da): undefined reference to `nf_get_vara_double_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_get_var_5d_eightbytereal_':
netcdf.f90:(.text+0x48c5b): undefined reference to `nf_get_varm_double_'
ld: netcdf.f90:(.text+0x48cca): undefined reference to `nf_get_vars_double_'
ld: netcdf.f90:(.text+0x48cfd): undefined reference to `nf_get_vara_double_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_get_var_6d_eightbytereal_':
netcdf.f90:(.text+0x492c3): undefined reference to `nf_get_varm_double_'
ld: netcdf.f90:(.text+0x49332): undefined reference to `nf_get_vars_double_'
ld: netcdf.f90:(.text+0x49365): undefined reference to `nf_get_vara_double_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_get_var_7d_eightbytereal_':
netcdf.f90:(.text+0x499a6): undefined reference to `nf_get_varm_double_'
ld: netcdf.f90:(.text+0x499fa): undefined reference to `nf_get_vars_double_'
ld: netcdf.f90:(.text+0x49a2c): undefined reference to `nf_get_vara_double_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_abort_':
netcdf.f90:(.text+0x49a43): undefined reference to `nf_abort_'
ld: /home/bangdt/netcdf-3.6.1/lib/libnetcdf.a(netcdf.o): in function `netcdf_mp_nf90_strerror_':
netcdf.f90:(.text+0x49a65): undefined reference to `nf_strerror_'
make: *** [Master/Module.mk:22: /home/bangdt/210307/test/upwelling/romsM] Error 1


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

Re: upwelling - linux-ifort.mk compilation error

#4 Post by kate »

Do you have USE_NETCDF4? Do you have netcdf installed properly?

User avatar
robertson
Site Admin
Posts: 174
Joined: Wed Feb 26, 2003 3:12 pm
Location: IMCS, Rutgers University

Re: upwelling - linux-ifort.mk compilation error

#5 Post by robertson »

If indeed this path is correct /home/bangdt/netcdf-3.6.1/lib then that is an incredibly old build of NetCDF (3.6.1 Released 02/26/2006). At any rate, either you didn't build the Fortran interface or you split the library and there is both a libnetcdf and libnetcdff in that lib directory. For the latter case you would need to add -lnetcdff after -lnetcdf for NETCDF_LIBS (line ~166). If it turns out you didn't build the Fortran interface then you will need to rebuild NetCDF with a Fortran interface and I suggest you use a much newer version.

briskbamboo
Posts: 20
Joined: Thu Aug 20, 2020 1:24 pm
Location: University of Tsukuba

Re: upwelling - linux-ifort.mk compilation error

#6 Post by briskbamboo »

Thank you robertson and Kate. I have successfully checked ifort compiler with netcdf (3.6.1) and mpich using openmpi for some other examples (test provided by netcdf and mpich packages) but still can not sure the problem. I reinstall the netcdf c and fortran with gfortran then now everything ok. I will double check the problem with ifort later (maybe with newer netcdf version).

Post Reply