Error when i try to run the upwelling.in

Bug reports, work arounds and fixes

Moderators: arango, robertson

Post Reply
Message
Author
qizheng
Posts: 9
Joined: Mon May 20, 2019 1:47 pm
Location: University of Bristol

Error when i try to run the upwelling.in

#1 Unread post by qizheng »

I am a new person to use ROMS.

I downloaded both netcdf4-fortran and netcdf-c because I noticed that there is no lib in netcdf4-fortran used in the process of installing ROMS.

Then I tried to test the ROMS by following the tutorial showed in ROMS website.

mpirun -np 8 ./romsM roms_upwelling.in > my_upwelling.log

Then I got this error :( :cry: : ./romsM: symbol lookup error: ./romsM: undefined symbol: __netcdf_MOD_nf90_create

I have no idea about solving this problem. Could anyone give me some suggestions?

Thanks a lot!

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

Re: Error when i try to run the upwelling.in

#2 Unread post by kate »

We need more information. Are you asking ROMS for USE_NETCDF4? When you say you downloaded netcdf, what exactly do you mean by that? You can download the source code and compile it or you can find a way to get it prebuilt for some systems. So what operating system is this anyway? This is a problem with the Fortran interface. Did you set the proper LD_LIBRARY_PATH?

qizheng
Posts: 9
Joined: Mon May 20, 2019 1:47 pm
Location: University of Bristol

Re: Error when i try to run the upwelling.in

#3 Unread post by qizheng »

Thank you for reply! I realised that I did not install netcdf4 successfully at the beginning. Now problems are solved!

Post Reply