Issue Running Roms Model

Report or discuss software problems and other woes

Moderators: arango, robertson

Post Reply
Message
Author
pravesh
Posts: 2
Joined: Sat Nov 29, 2014 3:48 pm
Location: software

Issue Running Roms Model

#1 Unread post by pravesh »

while running oceanG i am getting following error

forrtl: severe (408): fort: (3): Subscript #1 of the array HOUT has value 0 which is less than the lower bound of 1

Image PC Routine Line Source
oceanG 00000000022E3E8E read_phypar_ 2133 read_phypar.f90
oceanG 0000000001FAE7AB inp_par_ 90 inp_par.f90
oceanG 000000000040B8EA ocean_control_mod 84 ocean_control.f90
oceanG 000000000040B18E MAIN__ 95 master.f90
oceanG 000000000040AF26 Unknown Unknown Unknown
libc.so.6 00002B3A1FCD7CDD Unknown Unknown Unknown
oceanG 000000000040AE19 Unknown Unknown Unknown

Please suggest me.

User avatar
kate
Posts: 4091
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: Issue Running Roms Model

#2 Unread post by kate »

Look at your read_phypar.f90 in the $SCRATCH_DIR directory and see what is at line 2133. It's trying to read Hout of some key like idUvel. Now go look for that key in your varinfo.dat file. It's probably not there - but needs to be there. Did it load your varinfo.dat at all?

pravesh
Posts: 2
Joined: Sat Nov 29, 2014 3:48 pm
Location: software

Re: Issue Running Roms Model

#3 Unread post by pravesh »

Hi,

Thanks for reply. I think idUvel variable is there in varinfo.dat file. I have attached files. Please see and suggest me.
Attachments
read_phypar.f90
(115.17 KiB) Downloaded 256 times
ocean_india.in
(98.66 KiB) Downloaded 265 times
varinfo.dat
(147.92 KiB) Downloaded 249 times

User avatar
kate
Posts: 4091
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: Issue Running Roms Model

#4 Unread post by kate »

Ah, but you didn't look at line 2133 of read_phypar.f90. It has:

Code: Select all

2133           IF (Hout(idUairE,ng)) WRITE (out,170) Hout(idUairE,ng),       &
2134      &       'Hout(idUairE)',                                           &
2135      &       'Write out surface Eastward U-wind component.'
That looks like something I added to ROMS, which means you need a consistent version of varinfo.dat to go with it. Which ROMS branch is this and where did your varinfo.dat come from?

Post Reply