ROMS plotting package installation

Discussion about analysis, visualization, and collaboration tools and techniques

Moderators: arango, robertson

Post Reply
Message
Author
rbauer
Posts: 5
Joined: Mon Aug 02, 2010 2:02 pm
Location: Institute for Biosciences

ROMS plotting package installation

#1 Unread post by rbauer »

Hello!
I am trying to install the ROMS plotting package.
I downloaded the "NCL Version 5.2.1 precompiled binaries, OPeNDAP-enabled" and used the manual on
http://www.ncl.ucar.edu/get_started.shtml
to set it up.
However, I am getting the following error messsage when compiling the plotting package:

Code: Select all

/usr/bin/gfortran -c -frepack-arrays -x f95-cpp-input -O3 -ffast-math slevels.f90
slevels.f90:180.33:

      integer file, nc_gid, tindx
                                 1
Error: Symbol 'tindx' at (1) already has basic type of INTEGER
slevels.f90:189.10:

      file=1
          1
Error: Symbol 'file' at (1) has no IMPLICIT type
slevels.f90:192.14:

        nc_gid=ncgrd
              1
Error: Symbol 'nc_gid' at (1) has no IMPLICIT type
I've chosen the gfortran compiler (as you can see from the code above).
Thank you for your help!
Robert

robertson
Site Admin
Posts: 227
Joined: Wed Feb 26, 2003 3:12 pm
Location: IMCS, Rutgers University

Re: ROMS plotting package installation

#2 Unread post by robertson »

On line 35 of src/Utility/slevels.F you need to remove ", tindx" from the end of that line so it reads:

Code: Select all

      integer file, nc_gid
This doesn't phase most compilers but gfortran is quite picky about types. This typo will probably be fixed soon, but for now you can correct it yourself. The error is caused by the fact that tindx is declared an integer in src/Include/ncinfo.h which is included before line 35 of the src/Utility/slevels.F file.

Post Reply