Compile error in newer ROMs revision

Bug reports, work arounds and fixes

Moderators: arango, robertson

Post Reply
Message
Author
jearly

Compile error in newer ROMs revision

#1 Unread post by jearly »

Compiling for my model with the latest ROMs revision, 177, results in the following error:

Code: Select all

cd /Users/jearly/Documents/ROMSProjects/FPMonopole/Build; gfortran -c -frepack-arrays -ftree-vectorize -msse3 -fopenmp -O3 -ffast-math -ffree-form -ffree-line-length-none analytical.f90
analytical.f90:275.21:

      integer :: Istr, IstrR, IstrT, IstrU, Iend, IendR, IendT
                    1
Error: Symbol 'istr' at (1) already has basic type of INTEGER
followed by a number of other similar errors. I tried rolling back to revision 148, which I had been using previously, and it compiled with no problems. I filed this under 'bugs' simply because it changed between revisions, but could this error be something on my end?

Thanks,
Jeffrey

jcwarner
Posts: 1200
Joined: Wed Dec 31, 2003 6:16 pm
Location: USGS, USA

#2 Unread post by jcwarner »

can u tell us what analytical routine this was in?

jearly

#3 Unread post by jearly »

Not only did I fail to provide a complete problem description, but I also failed to realize just how obvious my problem was. Ultimately I was using the ana_grid.h rev 148 to compile rev 177 with -- doing a diff between revisions makes it obvious why it failed.

So nevermind! Case closed.

Jeffrey

Post Reply