Hi, It could be a problem with the file system, it is hard to tell. The first thing you need to do is to be able to reproduce the error consistently. Try to change the size of the problem and the number of processor that you are using and see if the error happens more often (ideally every time). If you can't get the error to appear more frequently, try to find the smallest problem that still triggers the error and then use a debugger.
Best, Bruno On Tuesday, October 17, 2017 at 2:43:55 AM UTC-4, Maxi Miller wrote: > > > Sometimes when running my program on a cluster with several nodes I get > the error > ERROR: Uncaught exception in MPI_InitFinalize on proc 0. Skipping > MPI_Finalize() to avoid a deadlock. > > > ---------------------------------------------------- > Exception on processing: > > -------------------------------------------------------- > An error occurred in line <5045> of file <~/Downloads/dealii/source/base/ > data_out_base.cc> in function > void dealii::DataOutBase::write_vtu_header(std::ostream&, const dealii > ::DataOutBase::VtkFlags&) > The violated condition was: > out > Additional information: > An input/output error has occurred. There are a number of reasons why > this may be happening, both for reading and writing operations. > > If this happens during an operation that tries to read data: First, you > may be trying to read from a file that doesn't exist or that is not > readable given its file permissions. Second, deal.II uses this error at > times if it tries to read information from a file but where the information > in the file does not correspond to the expected format. An example would be > a truncated file, or a mesh file that contains not only sections that > describe the vertices and cells, but also sections for additional data that > deal.II does not understand. > > If this happens during an operation that tries to write data: you may be > trying to write to a file to which file or directory permissions do not > allow you to write. A typical example is where you specify an output file > in a directory that does not exist. > -------------------------------------------------------- > > Aborting! > ---------------------------------------------------- > > > > Reproducing this error is difficult for me, after it does not emerge every > time, but rather sometimes, and not after a specific amount of steps. It > arises when trying to write files (method output_results). What could I do > to narrow the problem down? Or is there a known problem? > Thank you! > -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
