-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: smol.moca.SampleContainer requested more memory than the specified number of steps. #481
Comments
Hi @qchempku2017 thanks for brining this up. I tried to reproduce your issue on MacOS but was unable to. Used pretty much the same code snippet but the number of samples is consistent: Code snippet:
Output:
Also tried it on Windows Subsystem for Linux (WSL) on my PC, and it also looks fine. Perhaps it is only a windows issue? Output on WSL:
|
I suspect so... If things work out fine I think we just need to remind the users to take care when using smol to simulate on windows in the doc string or the doc pages. |
Email (Optional)
[email protected]
Version
v0.5.4
Which OS(es) are you using?
What happened?
When performing a canonical simulaton of 10000 steps, smol.moca.sampler actually allocated 11000 steps in memory. This leads to all last 1000 energies and occupancies being 0.
This is not really a bug, but if some users might want to access the final structure using get_occupancies()[-1]. With the current behavior, the will get an error. We may need to either change this behavior or warn the users about it in the docs.
Not sure if this problem is specific to windows.
Code snippet
Log output
Code of Conduct
The text was updated successfully, but these errors were encountered: