You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was tracking down a bug in Octotiger related to serialization of std::list. When I replaced my std::lists with std::vectors, the problem went away, and I figured the std::lists being passed to remote localities were somehow losing elements.
I figured out 1) was not causing the error with my program - turns out out hpx/runtime/serialization/list.hpp wasn't being included in the compile. I can't figure out how list was getting serialized without including the list.hpp header, but when I included the proper header the bug was fixed. I wasn't including the boost::serialization version anywhere in my source. Is the boost version of std::list serialization somewhere in the hpx headers, or is it possible the std::list was being automatically converted to another container improperly?
The text was updated successfully, but these errors were encountered:
I was tracking down a bug in Octotiger related to serialization of std::list. When I replaced my std::lists with std::vectors, the problem went away, and I figured the std::lists being passed to remote localities were somehow losing elements.
I noticed that line 22 in the list serialization:
https://github.com/STEllAR-GROUP/hpx/blob/master/hpx/runtime/serialization/list.hpp
would cause a bug if the argument "ls" is not already an empty list.
I figured out 1) was not causing the error with my program - turns out out hpx/runtime/serialization/list.hpp wasn't being included in the compile. I can't figure out how list was getting serialized without including the list.hpp header, but when I included the proper header the bug was fixed. I wasn't including the boost::serialization version anywhere in my source. Is the boost version of std::list serialization somewhere in the hpx headers, or is it possible the std::list was being automatically converted to another container improperly?
The text was updated successfully, but these errors were encountered: