forrtl: severe (194): Run-Time Check Failure

General scientific issues regarding ROMS

Moderators: arango, robertson

Post Reply
Message
Author
agpc
Posts: 63
Joined: Mon Jul 27, 2020 7:44 pm
Location: Applied Geophysics Center (AGPC)

forrtl: severe (194): Run-Time Check Failure

#1 Unread post by agpc »

Hi everyone,
I have a problem when running Coawst model is that:

Code: Select all

orrtl: severe (194): Run-Time Check Failure. The variable 'bcfile_$DORDER' is being used in 'swanpre2.f90(3963,23)' without being defined
Image              PC                Routine            Line        Source
coawstM            0000000000BB50EC  bcfile_                  3963  swanpre2.f90
coawstM            0000000000BB0BC7  swboun_                  3521  swanpre2.f90
coawstM            0000000000AB85F4  swread_                  1851  swanpre1.f90
coawstM            0000000000A482B3  swan_initialize_          332  swanmain.f90
coawstM            00000000009EEE96  waves_control_mod          76  waves_control.f90
coawstM            000000000041E97A  MAIN__                    360  master.f90
coawstM            0000000000418AA2  Unknown               Unknown  Unknown
libc-2.17.so       00002AE81CB48495  __libc_start_main     Unknown  Unknown
coawstM            00000000004189A9  Unknown               Unknown  Unknown
The detail of this issue is displayed in the attachment.
The line 3963 in the swanpre2.f90 is "IF (DORDER.LT.0) THEN"
Please help me to solve it.
Thank all,
Best,
Manh,
Attachments
COAWST.err.txt
(29.69 KiB) Downloaded 277 times

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

Re: forrtl: severe (194): Run-Time Check Failure

#2 Unread post by jcwarner »

this is really a SWAN question.
are you trying to run a swan grid driven by a nest output from a different run?

agpc
Posts: 63
Joined: Mon Jul 27, 2020 7:44 pm
Location: Applied Geophysics Center (AGPC)

Re: forrtl: severe (194): Run-Time Check Failure

#3 Unread post by agpc »

Hi John,
I got this error when I set-up my the namelist file of SWAN model.
In the case that I fix my bdy data, the error doesn't occur. My set-up is that:

Code: Select all

& Boundary files  ****************************************
BOUND SHAPESPEC JONSWAP PEAK DSPR DEGREES
BOUNDSPEC SEGMENT IJ   0   0    0  219 CONSTANT PAR 0.5 14.0 180. 20.
BOUNDSPEC SEGMENT IJ   0   0  299    0 CONSTANT PAR 0.5 14.0 180. 20.
BOUNDSPEC SEGMENT IJ   299 0  299  219 CONSTANT PAR 0.5 14.0 0. 20.
When I changed it according my bdy data which were created by the ww3_swan_input.m program, it occurred immediately. My set-up file is:

Code: Select all

& Boundary files  ****************************************
BOUND SHAPESPEC JONSWAP MEAN DSPR DEGREES        
BOUNDSPEC SEGMENT IJ     0     0     0    20 VARIABLE FILE 0 'Projects/Sarika/WW3part_01.spc2d'
BOUNDSPEC SEGMENT IJ     0    20     0    40 VARIABLE FILE 0 'Projects/Sarika/WW3part_02.spc2d'
BOUNDSPEC SEGMENT IJ     0    60     0    80 VARIABLE FILE 0 'Projects/Sarika/WW3part_03.spc2d'
BOUNDSPEC SEGMENT IJ     0    80     0   100 VARIABLE FILE 0 'Projects/Sarika/WW3part_04.spc2d'
BOUNDSPEC SEGMENT IJ     0   100     0   120 VARIABLE FILE 0 'Projects/Sarika/WW3part_05.spc2d'
BOUNDSPEC SEGMENT IJ   299     0   299    20 VARIABLE FILE 0 'Projects/Sarika/WW3part_06.spc2d'
BOUNDSPEC SEGMENT IJ   299    20   299    40 VARIABLE FILE 0 'Projects/Sarika/WW3part_07.spc2d'
BOUNDSPEC SEGMENT IJ   299    40   299    60 VARIABLE FILE 0 'Projects/Sarika/WW3part_08.spc2d'
BOUNDSPEC SEGMENT IJ   299    60   299    80 VARIABLE FILE 0 'Projects/Sarika/WW3part_09.spc2d'
BOUNDSPEC SEGMENT IJ   299    80   299   100 VARIABLE FILE 0 'Projects/Sarika/WW3part_10.spc2d'
BOUNDSPEC SEGMENT IJ   299   100   299   120 VARIABLE FILE 0 'Projects/Sarika/WW3part_11.spc2d'
BOUNDSPEC SEGMENT IJ   299   120   299   140 VARIABLE FILE 0 'Projects/Sarika/WW3part_12.spc2d'
BOUNDSPEC SEGMENT IJ   299   140   299   160 VARIABLE FILE 0 'Projects/Sarika/WW3part_13.spc2d'
BOUNDSPEC SEGMENT IJ   299   160   299   180 VARIABLE FILE 0 'Projects/Sarika/WW3part_14.spc2d'
BOUNDSPEC SEGMENT IJ   299   180   299   200 VARIABLE FILE 0 'Projects/Sarika/WW3part_15.spc2d'
BOUNDSPEC SEGMENT IJ   299   200   299   219 VARIABLE FILE 0 'Projects/Sarika/WW3part_16.spc2d'
BOUNDSPEC SEGMENT IJ     0     0    20     0 VARIABLE FILE 0 'Projects/Sarika/WW3part_17.spc2d'
BOUNDSPEC SEGMENT IJ    20     0    40     0 VARIABLE FILE 0 'Projects/Sarika/WW3part_18.spc2d'
BOUNDSPEC SEGMENT IJ    60     0    80     0 VARIABLE FILE 0 'Projects/Sarika/WW3part_19.spc2d'
BOUNDSPEC SEGMENT IJ   160   219   180   219 VARIABLE FILE 0 'Projects/Sarika/WW3part_26.spc2d'
BOUNDSPEC SEGMENT IJ   260   219   280   219 VARIABLE FILE 0 'Projects/Sarika/WW3part_30.spc2d'
Can you kindly give me any suggestions?
Thank you very much!
Manh,

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

Re: forrtl: severe (194): Run-Time Check Failure

#4 Unread post by jcwarner »

this says "Run-Time Check Failure. "
so it could be that the compiler flags are set to check for certain issues. these issues may or may not affect the simulation.
I have not dug into SWAN lately, but maybe you could look at the compiler flags and see what is doing this.

Post Reply