Error running Latte example

Discussion on computers, ROMS installation and compiling

Moderators: arango, robertson

Post Reply
Message
Author
User avatar
nrecord
Posts: 11
Joined: Thu May 27, 2010 3:19 pm
Location: University of Maine

Error running Latte example

#1 Unread post by nrecord »

I'm new to ROMS. I can compile and run the upwelling example, no problem. I'm trying to compile and run the Latte example, as described on the tutorial page (https://www.myroms.org/wiki/index.php/CSTMS_UNSW2008).

When I run the model, I get an error. Maybe someone has some advice? Here are the last few lines of output before abort:




GET_2DFLD - surface air relative humidity, t = 94 00:59:59
(Rec=0002, Index=2, File: frc_latte_wrf_Qair.nc)
(Tmin= 94.0000 Tmax= 158.9583)
(Min = 3.76386847E-01 Max = 7.52259495E-01)

STEP Day HH:MM:SS KINETIC_ENRG POTEN_ENRG TOTAL_ENRG NET_VOLUME

0 94 00:00:00 9.698352E-03 2.011729E+02 2.011826E+02 1.421876E+12
DEF_HIS - creating history file: ../out/lattec_his_nof.nc
WRT_HIS - wrote history fields (Index=1,1) into time record = 0000001
DEF_AVG - creating average file: ../out/lattec_avg_nof.nc
Assertion failed: (name != NULL), function NC_check_name, file string.c, line 176.
Abort trap

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

Re: Error running Latte example

#2 Unread post by arango »

Yes, this is because the ocean_lattec.in needs to be updated. Several changes have been made to ROMS standard input since the Sydney workshop.

mengqingjun2012
Posts: 2
Joined: Sat Sep 08, 2012 2:15 pm
Location: Ocean University Of China

Re: Error running Latte example

#3 Unread post by mengqingjun2012 »

I also met the same problem, I want if there is a update latte_c.in and latte_c.h profile?

User avatar
wilkin
Posts: 922
Joined: Mon Apr 28, 2003 5:44 pm
Location: Rutgers University
Contact:

Re: Error running Latte example

#4 Unread post by wilkin »

Yes indeed, that was 5 years ago and ROMS has moved on quite a bit since the Sydney User Workshop.

I see that several users found this a particularly/potentially useful example for its realism (rivers, meteorology forcing, open boundaries, tides ...) so we should update the example input netcdf files.

It's on my to-do list.
John Wilkin: DMCS Rutgers University
71 Dudley Rd, New Brunswick, NJ 08901-8521, USA. ph: 609-630-0559 jwilkin@rutgers.edu

mengqingjun
Posts: 34
Joined: Sat Sep 08, 2012 2:15 pm
Location: Ocean University Of Cina

Re: Error running Latte example

#5 Unread post by mengqingjun »

Thank you wilkin for your reply!
I am waiting for your update of the Latte input profiles, if you have arleady made it, just let me know!
Thank you!

uranoscopus
Posts: 26
Joined: Sat Mar 17, 2012 4:54 pm
Location: CNR - IAMC
Contact:

Re: Error running Latte example

#6 Unread post by uranoscopus »

Hello,
I'm a new user too and I'd like too to run the latte_c realistic testcase.
I ran successfully upwelling test case but latte it seems to have also compiling problems due to some issue on old *.h files and other stuff I don't know.

Here is the print of the last lines of compilation error (compiling with build.sh)

Code: Select all

analytical.f90(351): error #5078: Unrecognized token '?' skipped
          rdrag(i,j)=???
---------------------^
analytical.f90(351): error #5078: Unrecognized token '?' skipped
          rdrag(i,j)=???
----------------------^
analytical.f90(351): error #5078: Unrecognized token '?' skipped
          rdrag(i,j)=???
-----------------------^
analytical.f90(351): error #5082: Syntax error, found END-OF-STATEMENT when expecting one of: ( <IDENTIFIER> <CHAR_CON_KIND_PARAM> <CHAR_NAM_KIND_PARAM> <CHARACTER_CONSTANT> <INTEGER_CONSTANT> ...
          rdrag(i,j)=???
------------------------^
analytical.f90(1054): error #5082: Syntax error, found ':' when expecting one of: % . = =>
      ana_sediment.h: no values provided for bottom(:,:,itauc).
--------------------^
compilation aborted for analytical.f90 (code 1)
make: *** [/home/gnoo/antoms/test/latte_c/Build/analytical.o] Errore 1

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

Re: Error running Latte example

#7 Unread post by arango »

There are several idealized and realistic cases to download and play with it. They are in the test repository! This information is in :arrow: WikiROMS. This will keep you busy for very long time. There is a lot to learn. We will add the LATTE test case to that repository when we get some free time.

uranoscopus
Posts: 26
Joined: Sat Mar 17, 2012 4:54 pm
Location: CNR - IAMC
Contact:

Re: Error running Latte example

#8 Unread post by uranoscopus »

arango wrote:There are several idealized and realistic cases to download and play with it. They are in the test repository! This information is in :arrow: WikiROMS. This will keep you busy for very long time. There is a lot to learn. We will add the LATTE test case to that repository when we get some free time.
Ok Thank you so much.
I think Latte is attractive for some of us because it is a realistic 3-D case, close to implementation we could/would do in our own areas.
In any case I will follow your suggestion to play with other test cases.
:)
Cheers,
Antonio

Post Reply