Message Boards

Back

stopped with error code : 1

VY
veli yumruktepe, modified 5 Years ago.

stopped with error code : 1

Padawan Posts: 42 Join Date: 2/7/12 Recent Posts
Hi all,

I am trying to run open ocean simulation and I already have flow outputs and communication files for coupling. However when I try to run a simulation, I get this error:

Number of WARNINGS : 10
Number of ERRORS during input : 1

Stopped with error code : 1
STOP 1

Delwaq1 did not run correctly, ending calculation

How can I track what the problem is?
In case, I am attaching the .lsp and .0 files for reference beause I get warnings like

" Input for [BLOOM_P ] BLOOM II algae module
WARNING : activated process can NOT be switched on
Not found:[BLOOMALG ] algae concentration" in the .lsp file

Thanks

by the way, I am preparing th input in precompiled gui for windows and running in my linux machine
Mathieu Chatelain, modified 5 Years ago.

RE: stopped with error code : 1

Padawan Posts: 28 Join Date: 12/13/12 Recent Posts
Hi there,
The LST-file will tell you why Delwaq1 is crashing. You can take a look yourself (search for string "error"), usually the error message is quite self-explanatory. If you need further help, just attach the files (LST and INP) here.
The LSP-file gives you warning about how you set up processes. We'll come back to that later.
Cheers,
-Mathieu.
VY
veli yumruktepe, modified 5 Years ago.

RE: stopped with error code : 1

Padawan Posts: 42 Join Date: 2/7/12 Recent Posts
Hi Mathieu,

When searching for the string "error" in .lst file the only thing I find is:

ERROR ! Time value 111542400 not larger than previous time value 111542400
under wasteload section

I corrected those time values and the model is running at the moment. Thanks a lot for the input.

Veli
Mathieu Chatelain, modified 5 Years ago.

RE: stopped with error code : 1

Padawan Posts: 28 Join Date: 12/13/12 Recent Posts
Good news Veli!
Now you may want to address the warning messages reported in both the LST and the LSP files.
Do you still have 10 warnings as you mentioned previously? If the answer is yes, what are those warnings?
Cheers.
VY
veli yumruktepe, modified 5 Years ago.

RE: stopped with error code : 1

Padawan Posts: 42 Join Date: 2/7/12 Recent Posts
Hi Mathieu,

Now the model is running, I checked the .lsp and .lst files. The .lsp states at the end that

Messages presented in this .lst file:

Number of WARNINGS : 0
Number of ERRORS during input : 0



Messages presented including .lsp file:
Number of WARNINGS : 10

Number of ERRORS during input : 0

So the warnings in .lsp file are:

Input for [EXTINABVLP ] Extinction of light by algae (Bloom)
WARNING : activated process can NOT be switched on
Not found:[BLOOMALG ] algae concentration

Input for [BLOOM_P ] BLOOM II algae module
WARNING : activated process can NOT be switched on
Not found:[BLOOMALG ] algae concentration

Input for [Phy_Blo_P ] Computation of phytoplankton output - Bloom
WARNING : activated process can NOT be switched on
Not found:[BLOOMALG ] algae concentration

warning: output [Limit Chlo ] not located
warning: output [fPPtot ] not located
warning: output [BLOOMGRP ] not located
warning: output [DINOFLAG ] not located
warning: output [MDIATOMS ] not located
warning: output [MFLAGELA ] not located
warning: output [NODULA ] not located

At the moment I am having trouble compiling quickplot in linux, so I dont know yet if the model is actually responding to my setup.

Thanks a lot
Mathieu Chatelain, modified 5 Years ago.

RE: stopped with error code : 1

Padawan Posts: 28 Join Date: 12/13/12 Recent Posts
Hi Veli,
Hope you managed to install Quickplot on Linux.
Regarding the warning messages, I don't see any mention of the ECO function being activated in the LSP-file.
There should be lines at the top saying something like:
found -eco command line switch
using eco input file:..\..\programs\delwaq4.0\bloom\bloom.spe

right after the part dealing with the process definition.
May I ask how you start a run? Are you using a batch file or the GUI?
Cheers.
VY
veli yumruktepe, modified 5 Years ago.

RE: stopped with error code : 1

Padawan Posts: 42 Join Date: 2/7/12 Recent Posts
I do my runs on a linux machine. I don't have the capacity to compile the model in windows, therefore, and I do want to, I compiled delft3d in linux.

I don't know how to set the necessary files (.inp, .par etc.) in linux to make the simulations, therefore I create the files in windows with a precompiled gui, copy them to my linux machine and start the runs there with the executables compiled in linux. I think that my executables and libraries are set in correct form. Still as you mentioned, I don't get the BLOOM initiating. Weird...

Curious what can be done
Thanks a lot Mathieu
Mathieu Chatelain, modified 5 Years ago.

RE: stopped with error code : 1

Padawan Posts: 28 Join Date: 12/13/12 Recent Posts
Veli,
I see nothing wrong about using the Windows GUI to set-up the input file, and then run on Linux with the appropriate executable. As a matter of fact, it is a procedure I use very often.
To activate BLOOM computations when not starting a run from the GUI, you have to specify the appropriate flag in your batch file. It should look like that:

[path\]delwaq1.exe your_input_file.inp -eco [path\]bloom.spe -p [path\]proc_def
[path\]delwaq2.exe your_input_file.inp


Feel free to adjust [path\] to reflect the folders structure on your computer. If you don't use BLOOM, i.e. for a general water-quality model (no eutrophication), you can discard the -ECO flag. Check the header of the LSP-file to confirm that the ECO function was indeed activated.

Good luck!

Note: also check that you have a file called bloominp.d09 in the same folder as your input file. Otherwise you'll get an error message at the start of delwaq2.
VY
veli yumruktepe, modified 5 Years ago.

RE: stopped with error code : 1

Padawan Posts: 42 Join Date: 2/7/12 Recent Posts
Hi Mathieu

This suggestion:

[path\]delwaq1.exe your_input_file.inp -eco [path\]bloom.spe -p [path\]proc_def
[path\]delwaq2.exe your_input_file.inp

indeed worked as I can tell at the moment. This is what I get at the top of the .lsp file:

found -p command line switch

Using process definition file : /ofis/DELFT/tag3185/bin/lnx/waq/default/proc_def
Version number : 5.01
Serial : 2013111101


found -eco command line switch
using eco input file:/ofis/DELFT/tag3185/bin/lnx/waq/default/bloom.spe


with one warning: warning: output [BLOOMGRP ] not located somewhere below

Also at the main command line before time countdown, I get this message:

volume of segment: 24 is: 0.000000E+00 1.0 assumed.
volume of segment: 25 is: 0.000000E+00 1.0 assumed.
25 or more zero volumes , further messages surpressed
with similar reference numbers above.

I checked if there is production, the .his file shows growth in algae. GOOD !!

One minor problem is that I can only inspect it in my windows quickplot. My linux quickplot gives this message:

Catch is d3d_qp\quickview:
Error using hg.figure/set
The name 'inverthardcopy' is not an accessible property for an instance of class 'figure'


Getting close to the solution ...
Mathieu Chatelain, modified 5 Years ago.

RE: stopped with error code : 1

Padawan Posts: 28 Join Date: 12/13/12 Recent Posts
Hi Veli,
Judging by the header of the LSP-file you quoted, it indeed seems that now BLOOM is switched on. Good news if you have algal production in your output!
Regarding the warning output [BLOOMGRP], what parameter (or variable) are you trying to output there? I'm not aware of any parameter called BLOOMGRP, but I certainly do not know them all.
Besides, I'm also not familiar with the warning regarding the volumes of the segments. I'll ask around.
Finally, I have no idea regarding the Quickplot problem, as I don't use Quickplot on Linux.
Cheers and good luck to get everything running!