Migration status

  • Home Page: Activity map.

intro story DELWAQ

DELWAQ

DELWAQ is the engine of the D-Water Quality and D-Ecology programmes of the Delft3D suite. It is based on a rich library from which relevant substances and processes can be selected to quickly put water and sediment quality models together.

The processes library covers many aspects of water quality and ecology, from basic tracers, dissolved oxygen, nutrients, organic matter, inorganic suspended matter, heavy metals, bacteria and organic micro-pollutants, to complex algae and macrophyte dynamics. High performance solvers enable the simulation of long periods, often required to capture the full cycles of the processes being modelled.

The finite volume approach underlying DELWAQ allows it to be coupled to both the structured grid hydrodynamics of the current Delft3D-FLOW engine and the upcoming D-Flow Flexible Mesh engine (1D-2D-3D) of the Delft3D Flexible Mesh Suite (or even other models such as TELEMAC).

'DELWAQ in open source' is our invitation to all leading experts to collaborate in further development and research in the field of water quality, ecology and morphology using Delft3D. Feel free to post your DELWAQ related questions or comments in this dedicated forum space. If you are new to DELWAQ, the tutorial (in the user manual) is a good place to start. A list of DELWAQ related publications is available here.

** PLEASE TAG YOUR POST! **

 

 

Sub groups
D-Flow Flexible Mesh
DELWAQ

Cohesive sediments & muddy systems

 


Message Boards

RE: Window 10 - forrtl: severe (172): Program Exception - exception code =

MB
Michael Barnes, modified 8 Months ago.

Window 10 - forrtl: severe (172): Program Exception - exception code = 0x73

Youngling Posts: 1 Join Date: 10/26/18 Recent Posts

Good morning,

We have a coupled FLOW-WAVE model with space and time varying winds that has been running on machines operating with Window 7. As soon as we try to run our model on any of our Window 10 machines we get the following errors from SWAN:

 

*** MESSAGE: Delft3D-WAVE runs online with Delft3D-FLOW
SWAN_INPUT: Meteofiles specified in group General used for domain 1
 Done reading input
  Waiting for initialisation from FLOW
*** ERROR: Delftio initialization WAVE side failed
 ERROR:            Is file 'dioconfig.ini' present?
 Wave exited abnormally
forrtl: severe (172): Program Exception - exception code = 0x7363 (29539)
Image              PC                Routine            Line        Source
KERNELBASE.dll     00007FFB6224A388  Unknown               Unknown  Unknown
VCRUNTIME140.dll   00007FFB5FA64722  Unknown               Unknown  Unknown
wave.exe           00007FF746CB59B1  Unknown               Unknown  Unknown
wave.exe           00007FF746B273FA  Unknown               Unknown  Unknown
wave.exe           00007FF746B292A8  Unknown               Unknown  Unknown
wave.exe           00007FF746A82A79  Unknown               Unknown  Unknown
wave.exe           00007FF746C937BE  Unknown               Unknown  Unknown
wave.exe           00007FF746CC25A8  Unknown               Unknown  Unknown
KERNEL32.DLL       00007FFB64F53034  Unknown               Unknown  Unknown
ntdll.dll          00007FFB65473691  Unknown               Unknown  Unknown
Press any key to continue . . .

 

We suspect it might be the version of Fortran that is causing the problem? Or the dioconfig.ini? I have attached our dioconfig file here as well. Some of our colleagues at other companies said that they managed to get Delft3D running on their Windows 10 machines but they had to turn of 3D dissipation.

 

Any thoughts or recommendations?

CR
Christo Rautenbach, modified 8 Months ago.

RE: Window 10 - forrtl: severe (172): Program Exception - exception code =

Youngling Posts: 7 Join Date: 1/8/19 Recent Posts

Good day,

we found the solution: 

I have also encounter an error with SWAN (not finding the dioconfig.ini file). But the error is not due to SWAN it is related to the mpiexec files that needed to be debugged. These mpiexec files allow the parallelization of the simulation and to debugged them you will need to do as follows:

  1. Run the command prompt as administrator
  2. Add the path to the mpich/bin folder (wherever it sits in your computer)
  3. Run “smpd -d”

Once this is done, I have managed to re-run the coupled wave-flow without any errors. 

Best regards,

Christo

VP
Vinicius Santos Pessanha, modified 4 Months ago.

RE: Window 10 - forrtl: severe (172): Program Exception - exception code =

Youngling Posts: 6 Join Date: 8/21/18 Recent Posts

Hello Christo,

Good day,

I tried to follow the instructions of your last post and I was not successful in debugging mpiexec. Would you have any suggestion of how I could solve the problem?Below is what I got (\SMPDU_Sock_wait).

Regards,

Vinicius

 

C:\Program Files\Deltares\Delft3D 4.04.01\x64\share\bin>smpd -d
[-1:13872]...\smpd_get_opt_int
[-1:13872].../smpd_get_opt_int
[-1:13872]...\smpd_get_opt
[-1:13872].../smpd_get_opt
[-1:13872]...\smpd_get_opt_int
[-1:13872].../smpd_get_opt_int
[-1:13872]...\smpd_get_opt_int
[-1:13872].../smpd_get_opt_int
[-1:13872]...\smpd_get_opt
[-1:13872].../smpd_get_opt
[-1:13872]...\smpd_get_opt
[-1:13872].../smpd_get_opt
[-1:13872]...\smpd_get_opt
[-1:13872].../smpd_get_opt
[-1:13872]...\smpd_get_opt
[-1:13872].../smpd_get_opt
[-1:13872]...\smpd_get_opt
[-1:13872].../smpd_get_opt
[-1:13872]...\smpd_get_opt
[-1:13872].../smpd_get_opt
[-1:13872]...\smpd_get_opt
[-1:13872].../smpd_get_opt
[-1:13872]...\smpd_get_opt
[-1:13872].../smpd_get_opt
[-1:13872]...\smpd_get_opt
[-1:13872].../smpd_get_opt
[-1:13872]...\smpd_get_opt
[-1:13872].../smpd_get_opt
[-1:13872]...\smpd_get_opt
[-1:13872].../smpd_get_opt
[-1:13872]...\smpd_get_opt
[-1:13872].../smpd_get_opt
[-1:13872]...\smpd_get_opt
[-1:13872].../smpd_get_opt
[-1:13872]...\smpd_get_opt
[-1:13872].../smpd_get_opt
[-1:13872]...\smpd_get_opt
[-1:13872].../smpd_get_opt
[-1:13872]...\smpd_get_opt
[-1:13872].../smpd_get_opt
[-1:13872]...\smpd_get_opt
[-1:13872].../smpd_get_opt
[-1:13872]...\smpd_get_opt_string
[-1:13872].../smpd_get_opt_string
[-1:13872]...\smpd_get_opt
[-1:13872].../smpd_get_opt
[-1:13872]...\smpd_get_opt_string
[-1:13872].../smpd_get_opt_string
[-1:13872]...\smpd_get_opt
[-1:13872].../smpd_get_opt
[-1:13872]...\smpd_get_opt_string
[-1:13872].../smpd_get_opt_string
[-1:13872]...\smpd_get_opt
[-1:13872].../smpd_get_opt
[-1:13872]...\smpd_get_opt_string
[-1:13872].../smpd_get_opt_string
[-1:13872]...\smpd_get_opt
[-1:13872].../smpd_get_opt
[-1:13872]...\smpd_get_opt_string
[-1:13872].../smpd_get_opt_string
[-1:13872]...\smpd_get_opt
[-1:13872].../smpd_get_opt
[-1:13872]...\smpd_get_opt_string
[-1:13872].../smpd_get_opt_string
[-1:13872]...\smpd_get_opt
[-1:13872].../smpd_get_opt
[-1:13872]...\smpd_get_opt_string
[-1:13872].../smpd_get_opt_string
[-1:13872]...\smpd_get_opt_string
[-1:13872].../smpd_get_opt_string
[-1:13872]...\smpd_get_opt
[-1:13872].../smpd_get_opt
[-1:13872]../smpd_parse_command_args
[-1:13872]..\smpd_get_smpd_data
[-1:13872]...\smpd_get_smpd_data_from_environment
[-1:13872].../smpd_get_smpd_data_from_environment
[-1:13872]...\smpd_get_smpd_data_default
[-1:13872].../smpd_get_smpd_data_default
[-1:13872]../smpd_get_smpd_data
[-1:13872]..\smpd_entry_point
[00:13872]...\smpd_set_smpd_data
[00:13872].../smpd_set_smpd_data
[00:13872]...\SMPDU_Sock_create_set
[00:13872]....\SMPDU_Sock_get_sock_set_id
[00:13872]..../SMPDU_Sock_get_sock_set_id
[00:13872]....created a set for the listener: 856
[00:13872]....\SMPDU_Sock_listen
[00:13872]..../SMPDU_Sock_listen
[00:13872]....smpd listening on port 8676
[00:13872]....\smpd_create_context
[00:13872].....\smpd_init_context
[00:13872]......\smpd_init_command
[00:13872]....../smpd_init_command
[00:13872]......\SMPDU_Sock_set_user_ptr
[00:13872]....../SMPDU_Sock_set_user_ptr
[00:13872]...../smpd_init_context
[00:13872]..../smpd_create_context
[00:13872]....\SMPDU_Sock_set_user_ptr
[00:13872]..../SMPDU_Sock_set_user_ptr
[00:13872]....\smpd_option_on
[00:13872].....\smpd_get_smpd_data
[00:13872]......\smpd_get_smpd_data_from_environment
[00:13872]....../smpd_get_smpd_data_from_environment
[00:13872]......\smpd_get_smpd_data_default
[00:13872]....../smpd_get_smpd_data_default
[00:13872]......Unable to get the data for the key 'no_dynamic_hosts'
[00:13872]...../smpd_get_smpd_data
[00:13872]..../smpd_option_on
[00:13872]....\smpd_insert_into_dynamic_hosts
[00:13872]..../smpd_insert_into_dynamic_hosts
[00:13872]....\smpd_enter_at_state
[00:13872].....sock_waiting for the next event.
[00:13872].....\SMPDU_Sock_wait

CR
Christo Rautenbach, modified 4 Months ago.

RE: Window 10 - forrtl: severe (172): Program Exception - exception code =

Youngling Posts: 7 Join Date: 1/8/19 Recent Posts

Hi Vinicius,

what error do you get when you try to run Delft3D?

Best,

Christo

VP
Vinicius Santos Pessanha, modified 4 Months ago.

RE: Window 10 - forrtl: severe (172): Program Exception - exception code =

Youngling Posts: 6 Join Date: 8/21/18 Recent Posts

Hi Christo,

Thanks for answering.
I'm trying to run a coupled Wave-Flow Model (in a Windows 10 machine). I'm using time and space-varying wave boundary conditions. I get the following error:

>>...End of SWAN run
*** ERROR: file 'norm_end' expected to signal a correct SWAN calculation
 ERROR: *** ERROR: file 'norm_end' expected to signal a correct SWAN calculation
 Wave exited abnormally

forrtl: severe (172): Program Exception - exception code = 0x7363 (29539)
Image              PC                Routine            Line        Source             
KERNELBASE.dll     00007FF824B89129  Unknown               Unknown  Unknown
VCRUNTIME140.dll   00007FF81E654462  Unknown               Unknown  Unknown
wave.exe           00007FF69F382511  Unknown               Unknown  Unknown
wave.exe           00007FF69F1BADFA  Unknown               Unknown  Unknown
wave.exe           00007FF69F32738A  Unknown               Unknown  Unknown
wave.exe           00007FF69F178F6E  Unknown               Unknown  Unknown
wave.exe           00007FF69F11187F  Unknown               Unknown  Unknown
wave.exe           00007FF69F35FA8E  Unknown               Unknown  Unknown
wave.exe           00007FF69F38F0A9  Unknown               Unknown  Unknown
KERNEL32.DLL       00007FF827BE7974  Unknown               Unknown  Unknown
ntdll.dll          00007FF827D2A271  Unknown               Unknown  Unknown

 

Also, in the PRINT file I get the following error:

BOUN SEGM IJ 2 338 163 338 &
  ** Error: Boundary point outside comp. grid
  ** Error: Boundary point outside comp. grid
                       CON FILE 'TPAR1.bnd' 1
  ** Warning: No points on the boundaries found
  ** Warning: At least two points needed for a segment

But I already checked that all boundary points are inside the grid. This does not make sense to me.

Do you have any suggestions on how to solve this?

 

Thank you in advance.

 

Vinicius

VP
Vinicius Santos Pessanha, modified 4 Months ago.

RE: Window 10 - forrtl: severe (172): Program Exception - exception code =

Youngling Posts: 6 Join Date: 8/21/18 Recent Posts

Hi Christo,

I made some changes to my grid and TPAR files and now the model is running.

I do not know exactly what the problem was, but now it seems to have been resolved.

Thank you.

Vinicius

CR
Christo Rautenbach, modified 4 Months ago.

RE: Window 10 - forrtl: severe (172): Program Exception - exception code =

Youngling Posts: 7 Join Date: 1/8/19 Recent Posts

Hi Vinicius,

sorry for the delayed response. I am glad your problem is sorted out. Especially with spectral boundary conditions, I found that you have to make sure your boundary definition points cross your first computational grid cell fully. Otherwise, it might not always 'see' your boundary definition. 

Best regards,

Christo

GL
Gabriel Lim, modified 20 Days ago.

RE: Window 10 - forrtl: severe (172): Program Exception - exception code =

Padawan Posts: 32 Join Date: 5/5/18 Recent Posts
Hello,smpd-d s

I am having a similar problem with online coupling of WAVE and FLOW:
   Time           0.000 found on com-file, group CURTIM
  Write SWAN depth file
  Write SWAN velocity file
  Write SWAN wind file
  Deallocate input fields
  Write SWAN input
*** MESSAGE: 'perranporth' is truncated to 'perranpo' in SWAN input file
<<Run SWAN...
>>...Check file swan_bat.log
>>...End of SWAN run
*** ERROR: file 'norm_end' expected to signal a correct SWAN calculation
 ERROR: *** ERROR: file 'norm_end' expected to signal a correct SWAN calculation
 Wave exited abnormally

forrtl: severe (172): Program Exception - exception code = 0x7363 (29539)
Image              PC                Routine            Line        Source            
KERNELBASE.dll     00007FFE3EA9A839  Unknown               Unknown  Unknown
VCRUNTIME140.dll   00007FFE2A4243DD  Unknown               Unknown  Unknown
wave.exe           00007FF6DEEE32E1  Unknown               Unknown  Unknown
wave.exe           00007FF6DECBF9AA  Unknown               Unknown  Unknown
wave.exe           00007FF6DED6D8BA  Unknown               Unknown  Unknown
wave.exe           00007FF6DEC76D95  Unknown               Unknown  Unknown
wave.exe           00007FF6DEC1187F  Unknown               Unknown  Unknown
wave.exe           00007FF6DEEC74CE  Unknown               Unknown  Unknown
wave.exe           00007FF6DEEEFE89  Unknown               Unknown  Unknown
KERNEL32.DLL       00007FFE40937BD4  Unknown               Unknown  Unknown
ntdll.dll          00007FFE4144CE71  Unknown               Unknown  Unknown

Christo suggested running a command prompt as administrator. I have accessed the command prompt as admin, but do not know how to add a path to the mpich/bin location, or how to run "smpd -d". Could some please tell me how to do this?

Alternatively, if there is another solution, any help would be much appreciated.

Thank you for your time and patience,
Gabriel