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 Post by nrecord » Tue Nov 09, 2010 7:52 pm

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: 1082
Joined: Wed Feb 26, 2003 4:41 pm
Location: IMCS, Rutgers University
Contact:

Re: Error running Latte example

#2 Post by arango » Wed Nov 10, 2010 4:21 pm

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 Post by mengqingjun2012 » Mon Jan 21, 2013 8:15 am

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: 509
Joined: Mon Apr 28, 2003 5:44 pm
Location: Rutgers University
Contact:

Re: Error running Latte example

#4 Post by wilkin » Tue Jan 22, 2013 2:12 am

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 Post by mengqingjun » Thu Jan 24, 2013 4:10 am

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 Post by uranoscopus » Thu Jan 31, 2013 9:35 am

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: 1082
Joined: Wed Feb 26, 2003 4:41 pm
Location: IMCS, Rutgers University
Contact:

Re: Error running Latte example

#7 Post by arango » Thu Jan 31, 2013 11:49 am

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 Post by uranoscopus » Thu Jan 31, 2013 1:48 pm

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