PHAREHUB / PHARE

💫 Parallel Hybrid Particle In Cell code with Adaptive mesh REfinement
https://phare.readthedocs.io
GNU General Public License v3.0
69 stars 25 forks source link

potential for numpy mismatch with restarts #871

Closed PhilipDeegan closed 3 weeks ago

PhilipDeegan commented 1 month ago

serialized simulation can contain objects that may not exist across numpy versions

possible solution:

do not serialize any numpy objects, but cast to list/etc on serialization, and back to numpy on deserialization

PhilipDeegan commented 1 month ago

especially now, with the release of numpy v2

https://stackoverflow.com/questions/78757205/modulenotfounderror-no-module-named-numpy-core