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
enum = MagneticStructureEnumerator(structure) should stop after 5 minutes by default,
but it does not. Passing a different timeout does not change anything. I'm now making sure that the timeout arg is passed to the EnumlibAdaptor (see bug in #4184).
I did some tests but I could not figure out why the enum.x process does not get killed.
The main logic from
Python version
3.11.5
Pymatgen version
2024.11.13
Operating system version
No response
Current behavior
enum = MagneticStructureEnumerator(structure)
should stop after 5 minutes by default,but it does not. Passing a different timeout does not change anything. I'm now making sure that the timeout arg is passed to the EnumlibAdaptor (see bug in #4184).
I did some tests but I could not figure out why the enum.x process does not get killed.
The main logic from
pymatgen/src/pymatgen/command_line/enumlib_caller.py
Line 281 in 31f1e1f
It seems the the process stops communicating. I tried to use the timeout argument
of the
process.communicate()
method but it does not work neither.One thing that worked correctly is the same code above with
enum_cmd="/usr/bin/sleep 6000". This process gets killed as it should.
I have the same behavior both in my laptop and on perlmutter.
Any thoughts about what's causing this?
Expected Behavior
enum = MagneticStructureEnumerator(structure)
should stop after 5 minutes by default.Minimal example
No response
Relevant files to reproduce this bug
No response
The text was updated successfully, but these errors were encountered: