I/O syntax error

Bug reports, work arounds and fixes

Moderators: arango, robertson

Post Reply
Message
Author
a794024764
Posts: 1
Joined: Fri Feb 22, 2019 2:32 pm
Location: Tianjin University

I/O syntax error

#1 Unread post by a794024764 »

I am working on the coupling model COAWST, and now I am testing ROMS only. The mistake is as following. I have checked the ocean.in file, and there is no syntax error in it. The ocean.in have been attatched. I wish someone could help me to work on it. Thank you so much!

Code: Select all

NLM: GET_STATE - Reading state initial conditions,                       2017-01-01 00:00:00.00
                   (Grid 01, t = 6210.0000, File: create-ini_woa_2017.nc, Rec=0001, Index=1)
                - free-surface
                   (Min =  0.00000000E+00 Max =  0.00000000E+00)
                - vertically integrated u-momentum component
                   (Min =  0.00000000E+00 Max =  0.00000000E+00)
                - vertically integrated v-momentum component
                   (Min =  0.00000000E+00 Max =  0.00000000E+00)
                - u-momentum component
                   (Min =  0.00000000E+00 Max =  0.00000000E+00)
                - v-momentum component
                   (Min =  0.00000000E+00 Max =  0.00000000E+00)
                - potential temperature
                   (Min = -6.98561910E-01 Max =  1.96626839E+01)
                - salinity
                   (Min =  0.00000000E+00 Max =  3.52399445E+01)
forrtl: severe (59): list-directed I/O syntax error, unit -5, file Internal List-Directed Read
Image              PC                Routine            Line        Source    
coawstM            000000000083C147  Unknown               Unknown  Unknown
coawstM            000000000083A9CF  Unknown               Unknown  Unknown
coawstM            000000000063FEC5  Unknown               Unknown  Unknown
coawstM            00000000007E0D0B  Unknown               Unknown  Unknown
coawstM            0000000000638936  Unknown               Unknown  Unknown
coawstM            00000000006354DD  Unknown               Unknown  Unknown
coawstM            000000000040C45E  Unknown               Unknown  Unknown
coawstM            000000000040BA0A  Unknown               Unknown  Unknown
coawstM            000000000040AF09  Unknown               Unknown  Unknown
coawstM            000000000040AD96  Unknown               Unknown  Unknown
libc.so.6          000000375C61ED5D  Unknown               Unknown  Unknown
Attachments
ocean.in
(143.84 KiB) Downloaded 226 times

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

Re: I/O syntax error

#2 Unread post by kate »

If you recompile with USE_DEBUG, then rerun this, it should give you file names and line numbers rather than all those "Unknown"s. Note that you don't want to do a long run with USE_DEBUG but it can be so helpful for solving these problems.

User avatar
hpd14thu
Posts: 68
Joined: Tue May 01, 2018 3:56 pm
Location: Tsinghua University

Re: I/O syntax error

#3 Unread post by hpd14thu »

Maybe some variables are not consistent in your input files(.in file and some input nc files). You can try CPP options kate told you, I think it works well

Post Reply