Error when i try to run the

Bug reports, work arounds and fixes

Moderators: arango, robertson

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

Error when i try to run the

#1 Post by qizheng » Thu Jun 06, 2019 9:34 pm

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 > 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
Posts: 3678
Joined: Wed Jul 02, 2003 5:29 pm
Location: IMS/UAF, USA

Re: Error when i try to run the

#2 Post by kate » Thu Jun 06, 2019 10:36 pm

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?

Post Reply