[dune-pdelab] Unknown exception

Jö Fahlke jorrit at jorrit.de
Thu Sep 3 01:29:39 CEST 2015


Am Wed,  2. Sep 2015, 22:55:09 +0200 schrieb Christian Engwer:
> Date: Wed, 2 Sep 2015 22:55:09 +0200
> From: Christian Engwer <christi at dune-project.org>
> To: dune-pdelab at dune-project.org
> Subject: Re: [dune-pdelab] Unknown exception
> 
> I assume your code doesn't contain a catch statement for
> std::exception. The log states that an instance of
> 'std::ios_base::failure' is thrown. You will learn more if you catch
> the exception and print it the same way you print the dune
> exceptions, i.e. "std::cout << e.what();". It's an IO error. My
> crystal ball suggests that you are trying to write a vtk file into a
> sub folder and this folder doesn't exist. Might this be? If not the
> try-catch-print will tell you more

No, it won't.  e.what() == "basic_ios::clear", as his log shows.
I/O-exceptions aren't very informative, unfortunately.

Regards,
Jö.

> Christian
> 
> On Wed, Sep 02, 2015 at 08:49:07PM +0200, conf86 at web.de wrote:
> > I don't know if this DUNE related enough to be asked here, but I got the "unknown exception" error during calculation.
> > 
> > I executed the program and it calculated 263 time steps, then I got the error:
> > 
> > TIME STEP [Alexander (order 2)]    263 time (from):   2.6200e+1 dt:  
> > 1.0000e-1 time (to):   2.6300e+1
> > STAGE 1 time (to):   2.6229e+1.
> > === matrix setup skipped (matrix already allocated)
> > === matrix assembly (max) 0.07737 s
> > === residual assembly (max) 0.009837 s
> > === solving (reduction: 1e-10) 0.003325 s
> > STAGE 2 time (to):   2.6300e+1.
> > === matrix setup skipped (matrix already allocated)
> > === matrix assembly (max) 0.05561 s
> > === residual assembly (max) 0.008909 s
> > === solving (reduction: 1e-10) 0.003059 s
> > ::: timesteps         263 (263)
> > ::: nl iterations    1575 (1575)
> > ::: lin iterations   1575 (1575)
> > ::: assemble time    4.0507e+01 (4.0507e+01)
> > ::: lin solve time   1.6890e+00 (1.6890e+00)
> > Unknown exception thrown!
> > terminate called after throwing an instance of 'std::ios_base::failure'
> >   what():  basic_ios::clear
> > Aborted (core dumped)
> > 
> > The calculated data also look normal until the 263th step.
> > The calculations were fine previously, the only thing I did was changing some parameters/terms in the code and the mesh (unfortunately I didn't make any backup). I tried to change it back, but the error remained. 
> > 
> > Do you have any idea where this might come from? 
> > 
> > 
> > Best regards
> > 
> > _______________________________________________
> > dune-pdelab mailing list
> > dune-pdelab at dune-project.org
> > http://lists.dune-project.org/mailman/listinfo/dune-pdelab
> > 
> 
> _______________________________________________
> dune-pdelab mailing list
> dune-pdelab at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune-pdelab
> 

-- 
Jorrit (Jö) Fahlke, Institute for Computational und Applied Mathematics,
University of Münster, Orleans-Ring 10, D-48149 Münster
Tel: +49 251 83 35146 Fax: +49 251 83 32729

Interpunktion, Orthographie und Grammatik der Email ist frei erfunden.
Eine Übereinstimmung mit aktuellen oder ehemaligen Regeln wäre rein
zufällig und ist nicht beabsichtigt.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 811 bytes
Desc: Digital signature
URL: <https://lists.dune-project.org/pipermail/dune-pdelab/attachments/20150903/8ae6aefb/attachment.sig>


More information about the dune-pdelab mailing list