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
When there are many Molecules being made, eventually an error will be created because there are too many open files.
In my case, I read .xyz files.
Is there a way to close these files?
The error:
Traceback (most recent call last):
File "minimize_ffs.py", line 745, in
File "minimize_ffs.py", line 708, in main
File "minimize_ffs.py", line 474, in min_xtb
File "minimize_ffs.py", line 505, in align
File "/data/homezvol2/zhange5/.conda/envs/zhange5-conda/lib/python3.7/site-packages/forcebalance/molecule.py", line 1264, in init
File "/data/homezvol2/zhange5/.conda/envs/zhange5-conda/lib/python3.7/site-packages/forcebalance/molecule.py", line 2868, in read_xyz
File "/data/homezvol2/zhange5/.conda/envs/zhange5-conda/lib/python3.7/site-packages/forcebalance/molecule.py", line 2889, in read_xyz0
OSError: [Errno 24] Too many open files: 'xtbfull_48.xyz'
The text was updated successfully, but these errors were encountered:
I replaced those lines and it ended up with the same error (which is strange, I thought it would work).
I ended up working around the issue by adapting or importing the functions I needed.
When there are many Molecules being made, eventually an error will be created because there are too many open files.
In my case, I read .xyz files.
Is there a way to close these files?
The error:
Traceback (most recent call last):
File "minimize_ffs.py", line 745, in
File "minimize_ffs.py", line 708, in main
File "minimize_ffs.py", line 474, in min_xtb
File "minimize_ffs.py", line 505, in align
File "/data/homezvol2/zhange5/.conda/envs/zhange5-conda/lib/python3.7/site-packages/forcebalance/molecule.py", line 1264, in init
File "/data/homezvol2/zhange5/.conda/envs/zhange5-conda/lib/python3.7/site-packages/forcebalance/molecule.py", line 2868, in read_xyz
File "/data/homezvol2/zhange5/.conda/envs/zhange5-conda/lib/python3.7/site-packages/forcebalance/molecule.py", line 2889, in read_xyz0
OSError: [Errno 24] Too many open files: 'xtbfull_48.xyz'
The text was updated successfully, but these errors were encountered: