Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"COAWST v3.7: Negative unit number error in SWAN grid (swanout2.f90)" #355

Open
ayomidetobi opened this issue Jan 24, 2025 · 1 comment
Open

Comments

@ayomidetobi
Copy link

build_coawst.log
I was trying to run a simulator on coawst 3.7 and I got this error

Swan grid runs
....
This runs...

At line 710 of file swanout2.f90 Fortran runtime error: Unit number is negative and unit was not already opened with OPEN(NEWUNIT=...)

when I run on v3.8 I think the configuration was not compatible soo I go this error
Input Climatology File 01: in/prtbcn/clm_prt.nc
ROMS I/O variables Metadata File: varinfo.dat
SET_CONTACT - Illegal input file type, io_type = 0
Check KeyWord 'INP_LIB' in 'roms.in'.
Found Error: 02 Line: 73 Source: ROMS/Utility/set_contact.F
Found Error: 02 Line: 258 Source: ROMS/Utility/inp_par.F
Found Error: 02 Line: 134 Source: ROMS/Drivers/nl_roms.h, ROMS_initialize

Elapsed wall CPU time for each process (seconds):

so for now am using v3.7 and I have attached the log above for the details of the error

@jcwarner-usgs
Copy link
Collaborator

not sure. that is SWAN trying to open a new file.
can you post your swan INPUT file?

for the v3.8:
you need to update your ocean.in to include a bunch more lines.
compare your ocean.in to ,say, Projects/Sandy/ocean_sandy.in
and you will see what i mean.
I just had an issue with some grid rotations, so if you are going to use v38, do an update.
-j

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants