I get the following error:

/An error occurred in line <3236> of file </home/vikramg/DFT-FE-softwares/softwareCentos/dealiiDev/dealii/source/distributed/tria.cc> in function/ / void dealii::parallel::distributed::Triangulation<dim, spacedim>::notify_ready_to_unpack(unsigned int, const std::function<void (const dealii::Triangulation<dim, spacedim>::cell_iterator &, dealii::Triangulation<dim, spacedim>::CellStatus, const void *)> &) [with int dim = 3, int spacedim = 3]/
/The violated condition was: /
/    offset < sizeof(CellStatus)+attached_data_size/
/Additional information: /
/    invalid offset in notify_ready_to_unpack()/
/
/
I am wondering if I am missing something in my implementation.

Nothing obvious at least. I copied the issue here:
  https://github.com/dealii/dealii/issues/6223

I don't recall why we reset the size to zero. The intention was probably that we don't ever call `load()` in the same execution as we called `save()` before. We may be calling `save()` many times, of course, in the course of long-running programs, but call `load()` only at the beginning of a restart. Consequently, this may simply be a bug that we have just never encountered, or there may have been a reason to do it that way -- I can't recall.

I imagine you can work around this is you simply call `register_data_attach()` again before calling `load()`.

Best
 W.

--
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 bange...@colostate.edu
                           www: http://www.math.colostate.edu/~bangerth/

--
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 dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to