Najwa,

Are you serializing/deserializing the solution using the same version of 
deal.II and Boost? If you serialized the solution using the old version of 
deal.II, I don't think you can deserialize it using a newer version of 
deal.II

Best,

Bruno

On Monday, November 6, 2023 at 3:03:07 AM UTC-5 [email protected] wrote:

> Dear developers and group members,
>
>
> I was using an old version of Dealii where I was serializing some 
> solutions and deserializing them where needed. In the code where I 
> deserialize the solution I used to use the following headers:
>
>
> #include <boost/archive/text_iarchive.hpp>
> #include <boost/archive/text_oarchive.hpp>
> #include <boost/serialization/vector.hpp>
>
> #include <fstream>
> #include <iostream>
>
> and I used 
> std::ifstream iss("serialized_ex2");
> boost::archive::text_iarchive ia(iss);
>
> It used to work fine. However, after updating Dealii, the code breaks and 
> I get the following error:
>
> Exception on processing: 
> unregistered class
> Aborting!
>
> Do you have an idea of what could be the missing header or class?
>
> Your help is highly appreciated,
> Najwa
>
>
>
>

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/c9f7e52c-0872-47d4-b400-5833bf41ff7en%40googlegroups.com.

Reply via email to