cannot read swan .in file, newest coawst code

Report or discuss software problems and other woes

Moderators: arango, robertson

Post Reply
Message
Author
donghua

cannot read swan .in file, newest coawst code

#1 Unread post by donghua »

Hello, all

I've tried the latest version of COAWST code for a ROMS-SWAN coupling case.
When I switched to the newest code, the model suddenly could not read swan's input file. I got the message below:

Code: Select all

 Error reading initialisation file
 ** Severe error     : Error subr. INKEYW
 ** Error            : Illegal keyword:
PGFIO-F-214/formatted read/unit=0/READ not allowed for write-only file.
 File name = stderr     formatted, sequential access   record = 2
 In source file ocpcre.f90, at line number 1858
Any suggestions? Are there any change in SWAN causing this problem?

jcwarner
Posts: 1180
Joined: Wed Dec 31, 2003 6:16 pm
Location: USGS, USA

Re: cannot read swan .in file, newest coawst code

#2 Unread post by jcwarner »

it says
"formatted read / unit=0 / READ not allowed for write-only file. File name = stderr "
so the file named "stderr" is not being allowed open for write.
That file is created by your operating system by PBS or Slurm or whatever. try to "rm stderr" and see if it works after that.
-j

Post Reply