Sandy case in Coawst with WW3 only

Bug reports, work arounds and fixes

Moderators: arango, robertson

Post Reply
Message
Author
mengmeng92
Posts: 1
Joined: Sun May 06, 2018 8:01 pm
Location: Ocean University of China

Sandy case in Coawst with WW3 only

#1 Unread post by mengmeng92 »

Hi all.

I am a new user of Coawst and I am learning to couple Roms with WW3.
I tried to run the Sandy case with Coawst of WW3 only and get the following error:

Code: Select all

At line 1103 of file ww3_shel.F90 (unit = 10, file = 'fort.10')
Fortran runtime error: End of file

Error termination. Backtrace:
At line 1103 of file ww3_shel.F90 (unit = 10, file = 'fort.10')
Fortran runtime error: End of file

Error termination. Backtrace:
At line 1103 of file ww3_shel.F90 (unit = 10, file = 'fort.10')
Fortran runtime error: End of file

Error termination. Backtrace:
At line 1103 of file ww3_shel.F90 (unit = 10, file = 'fort.10')
Fortran runtime error: End of file

Error termination. Backtrace:
#0  0x2accaa18f032 in read_sf
	at ../../../libgfortran/io/transfer.c:443
#1  0x2accaa18bf76 in read_default_char1
	at ../../../libgfortran/io/read.c:420
#2  0x2accaa190694 in formatted_transfer_scalar_read
	at ../../../libgfortran/io/transfer.c:1639
#3  0x2accaa1914ac in formatted_transfer
	at ../../../libgfortran/io/transfer.c:2318
The line 1103 of fine ww3_shel.F90 is:

Code: Select all

!
! process old ww3_shel.inp format
!
      IF (.NOT. FLGNML) THEN
 
        OPEN (NDSI,FILE=TRIM(FNMPRE)//'ww3_shel.inp',STATUS='OLD',IOSTAT=IERR)
        REWIND (NDSI)
!AR: I changed the error handling for err=2002, see commit message ...
        READ (NDSI,'(A)') COMSTR                                    !!!!!!!!!!!!!!!!!!!!!!!!!!!! the line 1103
        IF (COMSTR.EQ.' ') COMSTR = '$'
        IF ( IAPROC .EQ. NAPOUT ) WRITE (NDSO,901) COMSTR
 
The sandy.h only defined WW3:

Code: Select all

#undef ROMS_MODEL
#undef NESTING
#undef WRF_MODEL
#undef SWAN_MODEL
#define  WW3_MODEL
#undef MCT_LIB
The submission command is:

Code: Select all

mpirun -np 4 ./coawstM Projects/Sandy/WW3/ww3_grid.inp
Thank you for any of your help! :D

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

Re: Sandy case in Coawst with WW3 only

#2 Unread post by jcwarner »

can you post this as an issue here:

https://github.com/jcwarner-usgs/COAWST

Post Reply