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.
Issue Running Roms Model
Re: Issue Running Roms Model
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?
Re: Issue Running Roms Model
Hi,
Thanks for reply. I think idUvel variable is there in varinfo.dat file. I have attached files. Please see and suggest me.
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
Re: Issue Running Roms Model
Ah, but you didn't look at line 2133 of read_phypar.f90. It has:
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?
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.'