Closed Luthaf closed 2 years ago
Thanks for the report. Someone on the mailing list just ran into the same issue as well: https://groups.google.com/g/hoomd-users/c/jHLsivvZz9E
I have a fix on a local branch, will make a pull request when I have time.
Description
I'm following the HOOMD tutorial at FOMMS, and got an opaque error message while playing around the code. I've been told the root cause is that the C++ code expects a 16-bit integer, and
0xdeadbeef
does not fit in this size.Script
Output
Expected output
It would be better to get a clear error message, ideally linked to the
hoomd.Simulation(device=cpu, seed=0xdeadbeef)
call instead of thesim.create_state_from_snapshot(snapshot)
call.Configuration
Platform:
Installation method:
Versions: