MulticoreEvalParallelSampler not forking?!
See original GitHub issueBug description
I have code that works fine with SingleCoreSampler but throws this odd fault with MulticoreEvalParallelSampler?
Full trace attached as dbug-multcore.txt
dbug-multcore.txt
Expected behavior i expect the code to work faster with n>1 core!
To reproduce [A minimal example to reproduce this error, ideally a python script.]
Code attached as cvsimTutorial4dbug.py.txt
cvsimTutorial4dbug.py.txt
Environment
[Report at least the pyABC version (pip show pyabc
),
Version: 0.10.13
python version (which python; python --version
),
Python 3.8.5
and system (Ubuntu/Mac/…).]
MacOS v10.15.7
Issue Analytics
- State:
- Created 2 years ago
- Comments:9
Top Results From Across the Web
Parallel sampling — pyABC documentation - Read the Docs
Requires no pickling of the sample_one , simulate_one and accept_one function. This is achieved using fork on linux (see Sampler ). The simulation...
Read more >Python multithreading and PyJulia error: At least one worker is ...
I can spawn Julia processes in single core mode (using SingleCoreSampler rather than MulticoreEvalParallelSampler setting of the PyABC library).
Read more >BUG: Can't pickle local object · Issue #286 · ICB-DCM/pyABC
If Linux, this seems to be indeed strange, because afaik the forking employed in the multiprocessing module should not perform pickling at all....
Read more >Check If Forked Processing ("multicore") is Supported - R
R running on Microsoft Windows does not support forked processing. In R, forked processing is often referred to as "multicore" processing, which stems...
Read more >Getting Started - | notebook.community
Clearly the default parameters in the MMT file are not quite right, but we are able to run the ... Only pyabc MulticoreEvalParallelSampler...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
hi @EmadAlamoudi , back in a place where i can test more thoroughly on different platforms and … i’m getting different behaviors!? So i’m closing this issue until i can produce a sharper version!
Hi @rbelew , Thanks for the update. Please don’t hesitate to reopen the issue once you have the newer version.