compiling the latest version of ROMS

General scientific issues regarding ROMS

Moderators: arango, robertson

Post Reply
Message
Author
azhang
Posts: 21
Joined: Fri May 11, 2007 12:49 pm
Location: CSDL/NOS/NOAA

compiling the latest version of ROMS

#1 Unread post by azhang »

I downloaded the latest version of ROMS3.0 today, and tried to compile it on my Linux workstation using ifort compiler (serial run without MPI). There are error messages caused by "USE netcdf" in mod_netcdf.f90. I compared mod_netcdf.F of the latest version with the previous version, and found that "USE netcdf" is a new statement to replace "#include netcdf.inc" of the older version.
Any suggestion is greatly appreciated.

User avatar
arango
Site Admin
Posts: 1349
Joined: Wed Feb 26, 2003 4:41 pm
Location: DMCS, Rutgers University
Contact:

#2 Unread post by arango »

ROMS no longer supports the F77 NetCDF interface. You need to compile NetCDF with f90 interface. This is pretty much what everybody does when intalling the NetCDF library which can build both F77 and F90 objects.

This was done to suport NetCDF-4x and parallel IO. See trac ticket:

https://www.myroms.org/projects/src/ticket/47

Post Reply