Compiling ROMS

Information about ongoing ROMS/TOMS applications

Moderators: arango, robertson

Post Reply
User avatar
Posts: 11
Joined: Mon May 02, 2016 12:54 pm
Location: IIT kharagpur

Compiling ROMS

#1 Post by atul » Fri Jan 27, 2017 12:54 pm


I downloaded ROMS via svn on my ubuntu 16.04LTS desktop and trying to compile it
I am following the instruction from ROMS Tutorial (
I am not using mpi so I commented the code regarding mpi in build.bash file

while compiling I am getting following error which is not listed in common erors in tutorial

mod_netcdf.f90:(.text+0x11a5f): undefined reference to `__netcdf_MOD_nf90_inquire_dimension'
collect2: error: ld returned 1 exit status
Master/ recipe for target '/home/akumar/Projects/upwelling/oceanS' failed
make: *** [/home/akumar/Projects/upwelling/oceanS] Error 1

how I can solve this problem?

Thank you in advance

thanks in advance

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

Re: Compiling ROMS

#2 Post by kate » Fri Jan 27, 2017 4:40 pm

This is in the ROMS FAQ.

Post Reply