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 : ./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!
Error when i try to run the upwelling.in
Re: Error when i try to run the upwelling.in
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?
Re: Error when i try to run the upwelling.in
Thank you for reply! I realised that I did not install netcdf4 successfully at the beginning. Now problems are solved!