Can anyone help me with this error?
Makefile: 235: INCLUDING FILE Build / make_macros.mk WHICH CONTAINS APPLICATION-DEPENDENT MAKE DEFINITIONS
/ Usr / bin / gfortran -frepack-arrays -O3 -ffast-math Build / roms_import.o Build / propagator.o Build / master.o Build / roms_export.o Build / ocean_coupler.o Build / esmf_roms.o Build / ocean_control. Or -o oceanS Build / libUTIL.a Build / libNLM.a Build / libNLM_bio.a Build / libNLM_sed.a Build / libANA.a Build / libUTIL.a Build / libMODS.a -L / usr / local / lib -lnetcdf
Build / libUTIL.a (lbc.o): in the `lbc_getatt_ 'function:
Lbc.f90: (.text + 0x2564): undefined reference to `__netcdf_MOD_nf90_get_att_text '
Build / libUTIL.a (lbc.o): in the `lbc_putatt_ 'function:
Lbc.f90: (.text + 0x2fa6): undefined reference to `__netcdf_MOD_nf90_put_att_text '
Build / libUTIL.a (close_io.o): in the `close_out_ 'function:
Close_io.f90: (. Text + 0x122f): undefined reference to `__netcdf_MOD_nf90_strerror '
Build / libUTIL.a (nf_fwrite3d.o): in the `__nf_fwrite3d_mod_MOD_nf_fwrite3d 'function:
Nf_fwrite3d.f90: (.text + 0x57d): undefined reference to `__netcdf_MOD_nf90_put_var_1d_eightbytereal '
Build / libUTIL.a (nf_fwrite2d.o): in the `__nf_fwrite2d_mod_MOD_nf_fwrite2d 'function:
Nf_fwrite2d.f90: (. Text + 0x463): undefined reference to `__netcdf_MOD_nf90_put_var_1d_eightbytereal '
Build / libUTIL.a (nf_fread3d.o): in the `__nf_fread3d_mod_MOD_nf_fread3d 'function:
Nf_fread3d.f90: (. Text + 0x989): undefined reference to `__netcdf_MOD_nf90_get_var_1d_eightbytereal '
Build / libUTIL.a (def_info.o): in the `def_info_ 'function:
Def_info.f90: (.text + 0xdcb7): undefined reference to `__netcdf_MOD_nf90_put_att_text '
Def_info.f90: (.text + 0xdd1a): undefined reference to `__netcdf_MOD_nf90_put_att_text '
Def_info.f90: (. Text + 0xdd7d): undefined reference to `__netcdf_MOD_nf90_put_att_text '
Def_info.f90: (.text + 0xdde0): undefined reference to `__netcdf_MOD_nf90_put_att_text '
Def_info.f90: (.text + 0xde43): undefined reference to `__netcdf_MOD_nf90_put_att_text '
Build / libUTIL.a (def_info.o): def_info.f90: (. Text + 0xdea6): more indefinite references to follow `__netcdf_MOD_nf90_put_att_text '
Build / libUTIL.a (def_var.o): in the `__def_var_mod_MOD_def_var 'function:
Def_var.f90: (. Text + 0x22b): undefined reference to `__netcdf_MOD_nf90_def_var_manydims'
Def_var.f90: (. Text + 0x2ee): undefined reference to `__netcdf_MOD_nf90_put_att_text '
Def_var.f90: (.text + 0x34e): undefined reference to `__netcdf_MOD_nf90_put_att_text '
Def_var.f90 .text + 0x3e7): undefined reference to `__netcdf_MOD_nf90_put_att_text '
Def_var.f90: (. Text + 0x487): undefined reference to `__netcdf_MOD_nf90_put_att_one_eightbytereal '
Def_var.f90: (.text + 0x54d): undefined reference to `__netcdf_MOD_nf90_put_att_one_eightbytereal '
Def_var.f90: (.text + 0x66a): undefined reference to `__netcdf_MOD_nf90_put_att_text '
Def_var.f90: (.text + 0x776): undefined reference to `__netcdf_MOD_nf90_put_att_eightbytereal '
Def_var.f90: (.text + 0x7f5): undefined reference to `__netcdf_MOD_nf90_put_att_text '
Def_var.f90: (. Text + 0x856): undefined reference to `__netcdf_MOD_nf90_put_att_text '
Def_var.f90: (. Text + 0x8b6): undefined reference to `__netcdf_MOD_nf90_put_att_text '
Def_var.f90: (. Text + 0x916): undefined reference to `__netcdf_MOD_nf90_put_att_text '
Def_var.f90: (. Text + 0x97c): undefined reference to `__netcdf_MOD_nf90_put_att_text '
Build / libUTIL.a (def_var.o): def_var.f90: (. Text + 0x9dd): more indefinite references to follow `__netcdf_MOD_nf90_put_att_text '
Build / libUTIL.a (def_var.o): in the `__def_var_mod_MOD_def_var 'function:
Def_var.f90: (.text + 0xa80): undefined reference to `__netcdf_MOD_nf90_put_att_one_eightbytereal '
Def_var.f90: (.text + 0xb6e): undefined reference to `__netcdf_MOD_nf90_put_att_one_eightbytereal '
Def_var.f90: (. Text + 0xc5d): undefined reference to `__netcdf_MOD_nf90_put_att_one_eightbytereal '
Def_var.f90: (.text + 0xce3): undefined reference to `__netcdf_MOD_nf90_put_att_text '
Def_var.f90: (. Text + 0xd43): undefined reference to `__netcdf_MOD_nf90_put_att_text '
Def_var.f90: (. Text + 0xf11): undefined reference to `__netcdf_MOD_nf90_put_att_text '
Def_var.f90: (.text + 0xf6d): undefined reference to `__netcdf_MOD_nf90_put_att_text '
Def_var.f90: (. Text + 0x109c): undefined reference to `__netcdf_MOD_nf90_put_att_text '
Build / libUTIL.a (def_var.o): def_var.f90: (. Text + 0x1146): more indefinite references to follow `__netcdf_MOD_nf90_put_att_text '
Build / libUTIL.a (def_var.o): in the `__def_var_mod_MOD_def_var 'function:
Def_var.f90: (. Text + 0x130d): undefined reference to `__netcdf_MOD_nf90_put_att_fourbyteint '
Def_var.f90: (. Text + 0x135b): undefined reference to `__netcdf_MOD_nf90_put_att_text '
Def_var.f90: (. Text + 0x14a3): undefined reference to `__netcdf_MOD_nf90_put_att_text '
Def_var.f90: (. Text + 0x15cd): undefined reference to `__netcdf_MOD_nf90_put_att_text '
Def_var.f90: (. Text + 0x16f5): undefined reference to `__netcdf_MOD_nf90_put_att_text '
Def_var.f90: (. Text + 0x1751): undefined reference to `__netcdf_MOD_nf90_put_att_text '
Build / libUTIL.a (def_var.o): def_var.f90 . Text + 0x179f): more undefined references
Build / libUTIL.a (def_var.o): in the `__def_var_mod_MOD_def_var 'function:
Def_var.f90: (.text + 0x276a): undefined reference to `__netcdf_MOD_nf90_def_var_scalar '
Def_var.f90: (.text + 0x2888): undefined reference to `__netcdf_MOD_nf90_put_att_one_fourbytereal '
Def_var.f90: (.text + 0x28ea): undefined reference to `__netcdf_MOD_nf90_put_att_one_fourbyteint '
Def_var.f90: (. Text + 0x2b1e): undefined reference to `__netcdf_MOD_nf90_put_att_text '
Def_var.f90: (. Text + 0x2d79): undefined reference to `__netcdf_MOD_nf90_put_att_text '
Def_var.f90 .text + 0x2dc9): undefined reference to `__netcdf_MOD_nf90_put_att_text '
Def_var.f90: (. Text + 0x2e17): undefined reference to `__netcdf_MOD_nf90_put_att_text '
Def_var.f90: (. Text + 0x2e65): undefined reference to `__netcdf_MOD_nf90_put_att_text '
Build / libUTIL.a (def_var.o): def_var.f90: (. Text + 0x30c8): more indefinite references to follow `__netcdf_MOD_nf90_put_att_text '
Build / libUTIL.a (def_var.o): in the `__def_var_mod_MOD_def_var 'function:
Def_var.f90: (.text + 0x3213): undefined reference to `__netcdf_MOD_nf90_put_att_one_fourbyteint '
Def_var.f90: (. Text + 0x324d): undefined reference to `__netcdf_MOD_nf90_put_att_text '
Def_var.f90: (.text + 0x32c0): undefined reference to `__netcdf_MOD_nf90_put_att_one_fourbytereal '
Def_var.f90: (. Text + 0x334d): undefined reference to `__netcdf_MOD_nf90_put_att_fourbytereal '
Def_var.f90: (.text + 0x33c6): undefined reference to `__netcdf_MOD_nf90_put_att_fourbyteint '
Def_var.f90: (. Text + 0x3515): undefined reference to `__netcdf_MOD_nf90_put_att_one_fourbytereal '
Def_var.f90: (.text + 0x3572): undefined reference to `__netcdf_MOD_nf90_put_att_one_fourbyteint '
Def_var.f90: (. Text + 0x35d8): undefined reference to `__netcdf_MOD_nf90_put_att_one_fourbytereal '
Def_var.f90: (. Text + 0x3aee): undefined reference to `__netcdf_MOD_nf90_put_att_one_fourbytereal '
Def_var.f90: (. Text + 0x3b51): undefined reference to `__netcdf_MOD_nf90_put_att_one_fourbyteint '
Def_var.f90: (. Text + 0x3cad): undefined reference to `__netcdf_MOD_nf90_put_att_one_fourbyteint '
Build / libUTIL.a (def_dim.o): in the `def_dim_ 'function:
Def_dim.f90: (.text + 0x69): undefined reference to `__netcdf_MOD_nf90_def_dim '
Build / libUTIL.a (nf_fread2d.o): in the `__nf_fread2d_mod_MOD_nf_fread2d 'function:
Nf_fread2d.f90 .text + 0x8da): undefined reference to `__netcdf_MOD_nf90_get_var_1d_eightbytereal '
Build / libMODS.a (mod_netcdf.o): in the `__mod_netcdf_MOD_netcdf_open.part.0 'function:
Mod_netcdf.f90: (. Text + 0x5b): undefined reference to `__netcdf_MOD_nf90_open '
Mod_netcdf.f90: (. Text + 0x152): undefined reference to `__netcdf_MOD_nf90_open '
Build / libMODS.a (mod_netcdf.o): in the `__mod_netcdf_MOD_netcdf_sync 'function:
Mod_netcdf.f90: (. Text + 0x1a7): undefined reference to `__netcdf_MOD_nf90_sync '
Build / libMODS.a (mod_netcdf.o): in the `__mod_netcdf_MOD_netcdf_redef 'function:
Mod_netcdf.f90: (. Text + 0x297): undefined reference to `__netcdf_MOD_nf90_redef '
Build / libMODS.a (mod_netcdf.o): in the `__mod_netcdf_MOD_netcdf_enddef 'function:
Mod_netcdf.f90: (.text + 0x3c0): undefined reference to `__netcdf_MOD_nf90_enddef '
Build / libMODS.a (mod_netcdf.o): in the `__mod_netcdf_MOD_netcdf_create 'function:
Mod_netcdf.f90: (. Text + 0x506): undefined reference to `__netcdf_MOD_nf90_create '
Build / libMODS.a (mod_netcdf.o): in the `__mod_netcdf_MOD_netcdf_close 'function:
Mod_netcdf.f90: (. Text + 0x6d4): undefined reference to `__netcdf_MOD_nf90_close '
Mod_netcdf.f90: (.text + 0x70d): undefined reference to `__netcdf_MOD_nf90_get_att_text '
Build / libMODS.a (mod_netcdf.o): in the `__mod_netcdf_MOD_netcdf_get_fvar_0d.constprop.2 'function:
Mod_netcdf.f90: (. Text + 0x8f2): indefinite reference to `__netcdf_MOD_nf90_inq_varid '
Mod_netcdf.f90: (. Text + 0x910): undefined reference to `__netcdf_MOD_nf90_get_var_eightbytereal '
Build / libMODS.a (mod_netcdf.o): in the `__mod_netcdf_MOD_netcdf_put_svar_1d 'function:
Mod_netcdf.f90: (.text + 0xe94): undefined reference to `__netcdf_MOD_nf90_put_var_1d_text '
Mod_netcdf.f90: (. Text + 0xfe0): undefined reference to `__netcdf_MOD_nf90_inq_varid '
Build / libMODS.a (mod_netcdf.o): in the `__mod_netcdf_MOD_netcdf_put_svar_0d 'function:
Mod_netcdf.f90: (. Text + 0x1321): undefined reference to `__netcdf_MOD_nf90_put_var_text '
Mod_netcdf.f90: (. Text + 0x144a): undefined reference to `__netcdf_MOD_nf90_inq_varid '
Build / libMODS.a (mod_netcdf.o): in the `__mod_netcdf_MOD_netcdf_put_lvar_2d 'function:
Mod_netcdf.f90: (. Text + 0x1a38): undefined reference to `__netcdf_MOD_nf90_put_var_2d_fourbyteint '
Mod_netcdf.f90: (. Text + 0x1b7a): undefined reference to `__netcdf_MOD_nf90_inq_varid '
Build / libMODS.a (mod_netcdf.o): in the `__mod_netcdf_MOD_netcdf_put_lvar_1d 'function:
Mod_netcdf.f90: (. Text + 0x21c5): undefined reference to `__netcdf_MOD_nf90_put_var_1d_fourbyteint '
Mod_netcdf.f90: (. Text + 0x22f3): undefined reference to `__netcdf_MOD_nf90_inq_varid '
Build / libMODS.a (mod_netcdf.o): in the `__mod_netcdf_MOD_netcdf_put_lvar_0d 'function:
Build / libMODS.a (mod_netcdf.o): in the `__mod_netcdf_MOD_netcdf_put_lvar_0d 'function:
Mod_netcdf.f90: (.text + 0x2751): undefined reference to `__netcdf_MOD_nf90_put_var_1d_fourbyteint '
Mod_netcdf.f90: (. Text + 0x2895): undefined reference to `__netcdf_MOD_nf90_inq_varid '
Mod_netcdf.f90: (. Text + 0x29e2): undefined reference to `__netcdf_MOD_nf90_put_var_fourbyteint '
Build / libMODS.a (mod_netcdf.o): in the `__mod_netcdf_MOD_netcdf_put_ivar_2d 'function:
Mod_netcdf.f90: (. Text + 0x2dcb): undefined reference to `__netcdf_MOD_nf90_put_var_2d_fourbyteint '
Mod_netcdf.f90: (. Text + 0x2f0d): undefined reference to `__netcdf_MOD_nf90_inq_varid '
Build / libMODS.a (mod_netcdf.o): in the `__mod_netcdf_MOD_netcdf_put_ivar_1d 'function:
Mod_netcdf.f90 .text + 0x33dc): undefined reference to `__netcdf_MOD_nf90_put_var_1d_fourbyteint '
Mod_netcdf.f90: (. Text + 0x3525): undefined reference to `__netcdf_MOD_nf90_inq_varid '
Build / libMODS.a (mod_netcdf.o): in the `__mod_netcdf_MOD_netcdf_put_ivar_0d 'function:
Mod_netcdf.f90: (. Text + 0x3994): undefined reference to `__netcdf_MOD_nf90_put_var_1d_fourbyteint '
Mod_netcdf.f90: (. Text + 0x3ad5): undefined reference to `__netcdf_MOD_nf90_inq_varid '
Mod_netcdf.f90: (. Text + 0x3c20): undefined reference to `__netcdf_MOD_nf90_put_var_fourbyteint '
Build / libMODS.a (mod_netcdf.o): in the `__mod_netcdf_MOD_netcdf_put_fvar_4d 'function:
Mod_netcdf.f90: (. Text + 0x40e2): undefined reference to `__netcdf_MOD_nf90_put_var_4d_eightbytereal '
Mod_netcdf.f90: (. Text + 0x422b): undefined reference to `__netcdf_MOD_nf90_inq_varid '
Build / libMODS.a (mod_netcdf.o): in the `__mod_netcdf_MOD_netcdf_put_fvar_3d 'function:
Mod_netcdf.f90: (. Text + 0x47ca): undefined reference to `__netcdf_MOD_nf90_put_var_3d_eightbytereal '
Mod_netcdf.f90: (. Text + 0x490b): undefined reference to `__netcdf_MOD_nf90_inq_varid '
Build / libMODS.a (mod_netcdf.o): in the `__mod_netcdf_MOD_netcdf_put_fvar_2d 'function:
Mod_netcdf.f90: (. Text + 0x4e1b): undefined reference to `__netcdf_MOD_nf90_put_var_2d_eightbytereal '
Mod_netcdf.f90: (. Text + 0x4f5d): undefined reference to `__netcdf_MOD_nf90_inq_varid '
Build / libMODS.a (mod_netcdf.o): in the `__mod_netcdf_MOD_netcdf_put_fvar_1d 'function:
Mod_netcdf.f90: (. Text + 0x542c): undefined reference to `__netcdf_MOD_nf90_put_var_1d_eightbytereal '
Mod_netcdf.f90: (. Text + 0x5575): undefined reference to `__netcdf_MOD_nf90_inq_varid '
Build / libMODS.a (mod_netcdf.o): in the `__mod_netcdf_MOD_netcdf_put_fvar_0d 'function:
Mod_netcdf.f90: (. Text + 0x59ee): undefined reference to `__netcdf_MOD_nf90_put_var_1d_eightbytereal '
Mod_netcdf.f90: (. Text + 0x5b2d): undefined reference to `__netcdf_MOD_nf90_inq_varid '
Mod_netcdf.f90: (. Text + 0x5c70): undefined reference to `__netcdf_MOD_nf90_put_var_eightbytereal '
Build / libMODS.a (mod_netcdf.o): in the `__mod_netcdf_MOD_netcdf_get_svar_1d 'function:
Mod_netcdf.f90: (. Text + 0x5e2a): indefinite reference to `__netcdf_MOD_nf90_inq_varid '
Mod_netcdf.f90: (. Text + 0x5f69): undefined reference to `__netcdf_MOD_nf90_get_var_1d_text '
Build / libMODS.a (mod_netcdf.o): in the `__mod_netcdf_MOD_netcdf_get_svar_0d 'function:
Mod_netcdf.f90: (. Text + 0x63a1): undefined reference to `__netcdf_MOD_nf90_inq_varid '
Mod_netcdf.f90: (. Text + 0x6476): undefined reference to `__netcdf_MOD_nf90_get_var_text '
Build / libMODS.a (mod_netcdf.o): in the `__mod_netcdf_MOD_netcdf_get_ivar_2d 'function:
Mod_netcdf.f90: (. Text + 0x68b2): undefined reference to `__netcdf_MOD_nf90_inq_varid '
Mod_netcdf.f90: (. Text + 0x6a15): undefined reference to `__netcdf_MOD_nf90_get_var_2d_fourbyteint '
Build / libMODS.a (mod_netcdf.o): in the `__mod_netcdf_MOD_netcdf_get_ivar_1d 'function:
Mod_netcdf.f90: (. Text + 0x6eba): undefined reference to `__netcdf_MOD_nf90_inq_varid '
Mod_netcdf.f90: (. Text + 0x6fe7): undefined reference to `__netcdf_MOD_nf90_get_var_1d_fourbyteint '
Build / libMODS.a (mod_netcdf.o): in the `__mod_netcdf_MOD_netcdf_get_ivar_0d 'function:
Mod_netcdf.f90: (. Text + 0x7411): undefined reference to `__netcdf_MOD_nf90_inq_varid '
Mod_netcdf.f90: (.text + 0x752c): undefined reference to `__netcdf_MOD_nf90_get_var_1d_fourbyteint '
Mod_netcdf.f90: (. Text + 0x768e): undefined reference to `__netcdf_MOD_nf90_get_var_fourbyteint '
Build / libMODS.a (mod_netcdf.o): in the `__mod_netcdf_MOD_netcdf_get_lvar_1d 'function:
Mod_netcdf.f90: (. Text + 0x79bb): undefined reference to `__netcdf_MOD_nf90_inq_varid '
Mod_netcdf.f90: (. Text + 0x7a00): undefined reference to `__netcdf_MOD_nf90_inquire_variable '
Mod_netcdf.f90: (. Text + 0x7b51): undefined reference to `__netcdf_MOD_nf90_get_var_1d_text '
Mod_netcdf.f90: (.text + 0x80a2): undefined reference to `__netcdf_MOD_nf90_get_var_1d_fourbyteint '
collect2: error: ld returned 1 exit status
make: *** [Master/Module.mk:22: oceanS] Error 1
Compiling upwelling error
-
- Posts: 30
- Joined: Fri Mar 10, 2017 11:22 pm
- Location: Universidade Federal do Maranhão, Brazil
Re: Compiling upwelling error
This is bullets one and two in the FAQ on linking errors.Makefile: 235: INCLUDING FILE Build / make_macros.mk WHICH CONTAINS APPLICATION-DEPENDENT MAKE DEFINITIONS
/ Usr / bin / gfortran -frepack-arrays -O3 -ffast-math Build / roms_import.o Build / propagator.o Build / master.o Build / roms_export.o Build / ocean_coupler.o Build / esmf_roms.o Build / ocean_control. Or -o oceanS Build / libUTIL.a Build / libNLM.a Build / libNLM_bio.a Build / libNLM_sed.a Build / libANA.a Build / libUTIL.a Build / libMODS.a -L / usr / local / lib -lnetcdf
-
- Posts: 30
- Joined: Fri Mar 10, 2017 11:22 pm
- Location: Universidade Federal do Maranhão, Brazil
Re: Compiling upwelling error
Hi kate
Thank you so much, I solved it!
Thank you so much, I solved it!
-
- Posts: 3
- Joined: Mon Jul 31, 2017 6:15 pm
- Location: Huazhong University of science and technology
Re: Compiling upwelling error
hello,I have met the same problems with yours,can you tell me how to solved it.adilsonborges wrote:Hi kate
Thank you so much, I solved it!
thank you very much.