cmpiling error when using roms-kate_svn

General scientific issues regarding ROMS

Moderators: arango, robertson

Post Reply
Message
Author
javadi
Posts: 118
Joined: Mon Jan 27, 2020 5:55 pm
Location: UoT

cmpiling error when using roms-kate_svn

#1 Unread post by javadi »

Dear users

I have run my test case without any problem when applying ROMS(trunk). Now I run the kate codes(https://github.com/kshedstrom/roms) but I have the following error. It is unusual for me as my Linux environment is the same for ROMS and roms_kate_svn. I have reviewed this forum and WIKIROMS but I do not solve this issue.

please help me with your comments
error:

svn: E155007: '/home/jav/kate/roms' is not a working copy
svn: E155007: '/home/java/kate/roms' is not a working copy
rm -f -r core *.ipo /home/java/Testt/Build_roms /root/make_macros.mk
svn: E155007: '/home/java/kate/roms' is not a working copy
svn: E155007: '/home/java/kate/roms' is not a working copy
make: /import/home/kshed/bin/nf-config: Command not found
cp -f /usr/lib64/gfortran/modules/netcdf.mod /home/jav/Testt/Build_roms
cp -f /usr/lib64/gfortran/modules/typesizes.mod /home/javadbabagoli/Testt/Build_roms
cp -p /root/make_macros.mk /home/javadbabagoli/Testt/Build_roms
svn: E155007: '/home/javadba/kate/roms' is not a working copy
svn: E155007: '/home/java/kate/roms' is not a working copy
make: /import/home/kshedstrom/bin/nf-config: Command not found
.
.
.
.
.
/usr/bin/ld: mod_netcdf.f90:(.text+0x9ef4): undefined reference to `__netcdf_MOD_nf90_get_var_1d_text'
/usr/bin/ld: mod_netcdf.f90:(.text+0xa2c3): undefined reference to `__netcdf_MOD_nf90_strerror'
/usr/bin/ld: /home/javadbabagoli/Testt/Build_roms/libMODS.a(mod_netcdf.o): in function `__mod_netcdf_MOD_netcdf_get_svar_0d':
mod_netcdf.f90:(.text+0xa47c): undefined reference to `__netcdf_MOD_nf90_inq_varid'
/usr/bin/ld: mod_netcdf.f90:(.text+0xa568): undefined reference to `__netcdf_MOD_nf90_get_var_text'
/usr/bin/ld: mod_netcdf.f90:(.text+0xa8de): undefined reference to `__netcdf_MOD_nf90_strerror'
/usr/bin/ld: /home/javadbabagoli/Testt/Build_roms/libMODS.a(mod_netcdf.o): in function `__mod_netcdf_MOD_netcdf_get_ivar_2d':
mod_netcdf.f90:(.text+0xab43): undefined reference to `__netcdf_MOD_nf90_inq_varid'
/usr/bin/ld: mod_netcdf.f90:(.text+0xacbc): undefined reference to `__netcdf_MOD_nf90_get_var_2d_fourbyteint'
/usr/bin/ld: mod_netcdf.f90:(.text+0xb046): undefined reference to `__netcdf_MOD_nf90_strerror'
/usr/bin/ld: /home/javadbabagoli/Testt/Build_roms/libMODS.a(mod_netcdf.o): in function `__mod_netcdf_MOD_netcdf_get_ivar_1d':
mod_netcdf.f90:(.text+0xb283): undefined reference to `__netcdf_MOD_nf90_inq_varid'
/usr/bin/ld: mod_netcdf.f90:(.text+0xb3c7): undefined reference to `__netcdf_MOD_nf90_get_var_1d_fourbyteint'
/usr/bin/ld: mod_netcdf.f90:(.text+0xb793): undefined reference to `__netcdf_MOD_nf90_strerror'
/usr/bin/ld: /home/javadbabagoli/Testt/Build_roms/libMODS.a(mod_netcdf.o): in function `__mod_netcdf_MOD_netcdf_get_ivar_0d':
mod_netcdf.f90:(.text+0xb94c): undefined reference to `__netcdf_MOD_nf90_inq_varid'
/usr/bin/ld: mod_netcdf.f90:(.text+0xba7d): undefined reference to `__netcdf_MOD_nf90_get_var_1d_fourbyteint'
/usr/bin/ld: mod_netcdf.f90:(.text+0xbb0a): undefined reference to `__netcdf_MOD_nf90_get_var_fourbyteint'
/usr/bin/ld: mod_netcdf.f90:(.text+0xbe11): undefined reference to `__netcdf_MOD_nf90_strerror'
/usr/bin/ld: /home/javadbabagoli/Testt/Build_roms/libMODS.a(mod_netcdf.o): in function `__mod_netcdf_MOD_netcdf_get_lvar_1d':
mod_netcdf.f90:(.text+0xc0b8): undefined reference to `__netcdf_MOD_nf90_inq_varid'
/usr/bin/ld: mod_netcdf.f90:(.text+0xc103): undefined reference to `__netcdf_MOD_nf90_inquire_variable'
/usr/bin/ld: mod_netcdf.f90:(.text+0xc290): undefined reference to `__netcdf_MOD_nf90_strerror'
/usr/bin/ld: mod_netcdf.f90:(.text+0xc76e): undefined reference to `__netcdf_MOD_nf90_get_var_1d_text'
/usr/bin/ld: mod_netcdf.f90:(.text+0xc915): undefined reference to `__netcdf_MOD_nf90_get_var_1d_fourbyteint'
/usr/bin/ld: /home/javadbabagoli/Testt/Build_roms/libMODS.a(mod_netcdf.o): in function `__mod_netcdf_MOD_netcdf_get_lvar_0d':
mod_netcdf.f90:(.text+0xcc2c): undefined reference to `__netcdf_MOD_nf90_inq_varid'
/usr/bin/ld: mod_netcdf.f90:(.text+0xcc77): undefined reference to `__netcdf_MOD_nf90_inquire_variable'
/usr/bin/ld: mod_netcdf.f90:(.text+0xce04): undefined reference to `__netcdf_MOD_nf90_strerror'
/usr/bin/ld: mod_netcdf.f90:(.text+0xd250): undefined reference to `__netcdf_MOD_nf90_get_var_text'
/usr/bin/ld: mod_netcdf.f90:(.text+0xd3b2): undefined reference to `__netcdf_MOD_nf90_get_var_1d_fourbyteint'
/usr/bin/ld: mod_netcdf.f90:(.text+0xd402): undefined reference to `__netcdf_MOD_nf90_get_var_fourbyteint'
/usr/bin/ld: /home/javadbabagoli/Testt/Build_roms/libMODS.a(mod_netcdf.o): in function `__mod_netcdf_MOD_netcdf_get_fvar_0d':
mod_netcdf.f90:(.text+0xd59c): undefined reference to `__netcdf_MOD_nf90_inq_varid'
/usr/bin/ld: mod_netcdf.f90:(.text+0xd6d9): undefined reference to `__netcdf_MOD_nf90_get_var_1d_eightbytereal'
/usr/bin/ld: mod_netcdf.f90:(.text+0xd848): undefined reference to `__netcdf_MOD_nf90_strerror'
/usr/bin/ld: mod_netcdf.f90:(.text+0xd8d0): undefined reference to `__netcdf_MOD_nf90_get_var_eightbytereal'
/usr/bin/ld: mod_netcdf.f90:(.text+0xdaea): undefined reference to `__netcdf_MOD_nf90_strerror'
/usr/bin/ld: /home/javadbabagoli/Testt/Build_roms/libMODS.a(mod_netcdf.o): in function `__mod_netcdf_MOD_netcdf_get_satt':
mod_netcdf.f90:(.text+0xdd2f): undefined reference to `__netcdf_MOD_nf90_inquire'
/usr/bin/ld: mod_netcdf.f90:(.text+0xdd87): undefined reference to `__netcdf_MOD_nf90_inq_attname'
/usr/bin/ld: mod_netcdf.f90:(.text+0xde22): undefined reference to `__netcdf_MOD_nf90_get_att_text'
/usr/bin/ld: mod_netcdf.f90:(.text+0xe06d): undefined reference to `__netcdf_MOD_nf90_inquire_variable'
/usr/bin/ld: /home/javadbabagoli/Testt/Build_roms/libMODS.a(mod_netcdf.o): in function `__mod_netcdf_MOD_netcdf_get_fatt':
mod_netcdf.f90:(.text+0xe4e6): undefined reference to `__netcdf_MOD_nf90_inquire'
/usr/bin/ld: mod_netcdf.f90:(.text+0xe54a): undefined reference to `__netcdf_MOD_nf90_inq_attname'
/usr/bin/ld: mod_netcdf.f90:(.text+0xe5e8): undefined reference to `__netcdf_MOD_nf90_get_att_one_eightbytereal'
/usr/bin/ld: mod_netcdf.f90:(.text+0xe686): undefined reference to `__netcdf_MOD_nf90_strerror'
/usr/bin/ld: mod_netcdf.f90:(.text+0xe807): undefined reference to `__netcdf_MOD_nf90_inquire_variable'
/usr/bin/ld: /home/javadbabagoli/Testt/Build_roms/libMODS.a(mod_netcdf.o): in function `__mod_netcdf_MOD_netcdf_get_time_1d':
mod_netcdf.f90:(.text+0xf331): undefined reference to `__netcdf_MOD_nf90_inq_varid'
/usr/bin/ld: mod_netcdf.f90:(.text+0xf3ce): undefined reference to `__netcdf_MOD_nf90_get_var_1d_eightbytereal'
/usr/bin/ld: mod_netcdf.f90:(.text+0xfa80): undefined reference to `__netcdf_MOD_nf90_get_var_1d_eightbytereal'
/usr/bin/ld: /home/javadbabagoli/Testt/Build_roms/libMODS.a(mod_netcdf.o): in function `__mod_netcdf_MOD_netcdf_get_time_0d':
mod_netcdf.f90:(.text+0x106b9): undefined reference to `__netcdf_MOD_nf90_inq_varid'
/usr/bin/ld: mod_netcdf.f90:(.text+0x10818): undefined reference to `__netcdf_MOD_nf90_get_var_1d_eightbytereal'
/usr/bin/ld: mod_netcdf.f90:(.text+0x109c7): undefined reference to `__netcdf_MOD_nf90_strerror'
/usr/bin/ld: mod_netcdf.f90:(.text+0x10abc): undefined reference to `__netcdf_MOD_nf90_get_var_eightbytereal'
/usr/bin/ld: /home/javadbabagoli/Testt/Build_roms/libMODS.a(mod_netcdf.o): in function `__mod_netcdf_MOD_netcdf_get_fvar_4d':
mod_netcdf.f90:(.text+0x11966): undefined reference to `__netcdf_MOD_nf90_inq_varid'
/usr/bin/ld: mod_netcdf.f90:(.text+0x11a6b): undefined reference to `__netcdf_MOD_nf90_get_var_4d_eightbytereal'
/usr/bin/ld: mod_netcdf.f90:(.text+0x11beb): undefined reference to `__netcdf_MOD_nf90_strerror'
/usr/bin/ld: mod_netcdf.f90:(.text+0x12320): undefined reference to `__netcdf_MOD_nf90_get_var_4d_eightbytereal'
/usr/bin/ld: /home/javadbabagoli/Testt/Build_roms/libMODS.a(mod_netcdf.o): in function `__mod_netcdf_MOD_netcdf_get_fvar_3d':
mod_netcdf.f90:(.text+0x12d5a): undefined reference to `__netcdf_MOD_nf90_inq_varid'
/usr/bin/ld: mod_netcdf.f90:(.text+0x12e39): undefined reference to `__netcdf_MOD_nf90_get_var_3d_eightbytereal'
/usr/bin/ld: mod_netcdf.f90:(.text+0x12fbc): undefined reference to `__netcdf_MOD_nf90_strerror'
/usr/bin/ld: mod_netcdf.f90:(.text+0x13482): undefined reference to `__netcdf_MOD_nf90_get_var_3d_eightbytereal'
/usr/bin/ld: /home/javadbabagoli/Testt/Build_roms/libMODS.a(mod_netcdf.o): in function `__mod_netcdf_MOD_netcdf_get_fvar_2d':
mod_netcdf.f90:(.text+0x13e4d): undefined reference to `__netcdf_MOD_nf90_inq_varid'
/usr/bin/ld: mod_netcdf.f90:(.text+0x13fe2): undefined reference to `__netcdf_MOD_nf90_get_var_2d_eightbytereal'
/usr/bin/ld: mod_netcdf.f90:(.text+0x141bf): undefined reference to `__netcdf_MOD_nf90_strerror'
/usr/bin/ld: mod_netcdf.f90:(.text+0x14662): undefined reference to `__netcdf_MOD_nf90_get_var_2d_eightbytereal'
/usr/bin/ld: /home/javadbabagoli/Testt/Build_roms/libMODS.a(mod_netcdf.o): in function `__mod_netcdf_MOD_netcdf_get_fvar_1d':
mod_netcdf.f90:(.text+0x14e7e): undefined reference to `__netcdf_MOD_nf90_inq_varid'
/usr/bin/ld: mod_netcdf.f90:(.text+0x14f28): undefined reference to `__netcdf_MOD_nf90_get_var_1d_eightbytereal'
/usr/bin/ld: mod_netcdf.f90:(.text+0x15108): undefined reference to `__netcdf_MOD_nf90_strerror'
/usr/bin/ld: mod_netcdf.f90:(.text+0x15561): undefined reference to `__netcdf_MOD_nf90_get_var_1d_eightbytereal'
/usr/bin/ld: /home/javadbabagoli/Testt/Build_roms/libMODS.a(mod_netcdf.o): in function `__mod_netcdf_MOD_netcdf_inq_varid':
mod_netcdf.f90:(.text+0x15821): undefined reference to `__netcdf_MOD_nf90_inq_varid'
/usr/bin/ld: mod_netcdf.f90:(.text+0x15962): undefined reference to `__netcdf_MOD_nf90_strerror'
/usr/bin/ld: /home/javadbabagoli/Testt/Build_roms/libMODS.a(mod_netcdf.o): in function `__mod_netcdf_MOD_netcdf_inq_var':
mod_netcdf.f90:(.text+0x15d93): undefined reference to `__netcdf_MOD_nf90_inquire'
/usr/bin/ld: mod_netcdf.f90:(.text+0x15e45): undefined reference to `__netcdf_MOD_nf90_inquire_attribute'
/usr/bin/ld: mod_netcdf.f90:(.text+0x15eb2): undefined reference to `__netcdf_MOD_nf90_inq_attname'
/usr/bin/ld: mod_netcdf.f90:(.text+0x1609c): undefined reference to `__netcdf_MOD_nf90_inquire_variable'
/usr/bin/ld: mod_netcdf.f90:(.text+0x16179): undefined reference to `__netcdf_MOD_nf90_inq_attname'
/usr/bin/ld: mod_netcdf.f90:(.text+0x163f3): undefined reference to `__netcdf_MOD_nf90_strerror'
/usr/bin/ld: mod_netcdf.f90:(.text+0x16528): undefined reference to `__netcdf_MOD_nf90_inquire_dimension'
/usr/bin/ld: mod_netcdf.f90:(.text+0x1667e): undefined reference to `__netcdf_MOD_nf90_strerror'
/usr/bin/ld: mod_netcdf.f90:(.text+0x16763): undefined reference to `__netcdf_MOD_nf90_inq_attname'
/usr/bin/ld: mod_netcdf.f90:(.text+0x167c0): undefined reference to `__netcdf_MOD_nf90_inquire_attribute'
/usr/bin/ld: mod_netcdf.f90:(.text+0x16856): undefined reference to `__netcdf_MOD_nf90_get_att_one_eightbytereal'
/usr/bin/ld: mod_netcdf.f90:(.text+0x169a9): undefined reference to `__netcdf_MOD_nf90_get_att_one_fourbyteint'
/usr/bin/ld: mod_netcdf.f90:(.text+0x16b63): undefined reference to `__netcdf_MOD_nf90_strerror'
/usr/bin/ld: mod_netcdf.f90:(.text+0x16d22): undefined reference to `__netcdf_MOD_nf90_get_att_text'
/usr/bin/ld: /home/javadbabagoli/Testt/Build_roms/libMODS.a(mod_netcdf.o): in function `__mod_netcdf_MOD_netcdf_get_dim':
mod_netcdf.f90:(.text+0x182fd): undefined reference to `__netcdf_MOD_nf90_inquire'
/usr/bin/ld: mod_netcdf.f90:(.text+0x183b0): undefined reference to `__netcdf_MOD_nf90_inquire_dimension'
/usr/bin/ld: mod_netcdf.f90:(.text+0x185f0): undefined reference to `__netcdf_MOD_nf90_strerror'
collect2: error: ld returned 1 exit status
make: *** [Master/Module.mk:25: /home/javadbabagoli/Testt/romsS] Error 1

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

Re: cmpiling error when using roms-kate_svn

#2 Unread post by kate »

It is failing to find the netcdf library, part of the build system. Since I don't use Hernan's build script, you'll have to figure out what's different between the two and do the appropriate thing.

carlosag
Posts: 24
Joined: Thu Sep 30, 2021 12:08 pm
Location: University of Iceland

Re: cmpiling error when using roms-kate_svn

#3 Unread post by carlosag »

Hello javadbabagoli, did you solve this issue?
I am having exactly the same error as you and I cannot figure it out.
All best and thanks.

carlosag
Posts: 24
Joined: Thu Sep 30, 2021 12:08 pm
Location: University of Iceland

Re: cmpiling error when using roms-kate_svn

#4 Unread post by carlosag »

My apologies, I did solve... was just my mistake.
All best.

Post Reply