Skip to content
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

(multiprocess) Error for high PODG concentrations #27

Open
DSeiferth opened this issue Aug 12, 2022 · 0 comments
Open

(multiprocess) Error for high PODG concentrations #27

DSeiferth opened this issue Aug 12, 2022 · 0 comments

Comments

@DSeiferth
Copy link

Hi everyone,

I used the demo script to analyze lipid interactions for varying concentrations of PODG (diaglycerol).
For performance, I have deleted all water molecules in the xtc file before starting the PyLipId analysis.
For low concentrations (1%, 5%, 10%), everything works fine.
For higher concentrations (20%, 40%), I get the following error when analyzing the bound poses:

^MANALYZE BOUND POSES: 0%| | 0/19 [00:00<?, ?it/s]^MANALYZE BOUND POSES: 5%|▌ | 1/19 [2:15:25<40:37:47, 8125.95s/it]^MANALYZE BOUND POSES: 5%|▌ | 1/19 [2:15:26<40:37:49, 8126.06s/$
Traceback (most recent call last):
File "pylipid_demo_customized.py", line 105, in
n_top_poses=n_top_poses, n_clusters=n_clusters,
File "/home/orie4254/.conda/envs/mdaenv/lib/python3.7/site-packages/pylipid/api/api.py", line 1365, in analyze_bound_poses
[pose_info[bs_id] for bs_id in selected_bs_id], num_cpus=num_cpus, desc="ANALYZE BOUND POSES")
File "/home/orie4254/.conda/envs/mdaenv/lib/python3.7/site-packages/p_tqdm/p_tqdm.py", line 60, in p_map
result = list(generator)
File "/home/orie4254/.conda/envs/mdaenv/lib/python3.7/site-packages/p_tqdm/p_tqdm.py", line 49, in _parallel
for item in tqdm(map_func(function, *iterables), total=length, **kwargs):
File "/home/orie4254/.conda/envs/mdaenv/lib/python3.7/site-packages/tqdm/std.py", line 1180, in iter
for obj in iterable:
File "/home/orie4254/.conda/envs/mdaenv/lib/python3.7/site-packages/multiprocess/pool.py", line 748, in next
raise value
File "/home/orie4254/.conda/envs/mdaenv/lib/python3.7/site-packages/multiprocess/pool.py", line 431, in _handle_tasks
put(task)
File "/home/orie4254/.conda/envs/mdaenv/lib/python3.7/site-packages/multiprocess/connection.py", line 209, in send
self._send_bytes(_ForkingPickler.dumps(obj))
File "/home/orie4254/.conda/envs/mdaenv/lib/python3.7/site-packages/multiprocess/connection.py", line 396, in _send_bytes
header = struct.pack("!i", n)
struct.error: 'i' format requires -2147483648 <= number <= 2147483647

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant