Open H-EKE opened 1 year ago
Hi H-EKE,
I was struggling with the same issue. According to #1590, 1576, 1582 and especially 1553. This is a frequently encountered error which will probably be resolved out-of-the-box in future releases. For now 1553 its solution should resolve the problem. This means that you will have to add the n_jobs=1 argument to:
its = pyemma.msm.its(cluster.dtrajs, lags=50, nits=10, errors='bayes') pyemma.plots.plot_implied_timescales(its, units='ns', dt=0.1);
The above lines of code belong to the notebook 00-pentapeptide-showcase.ipnyb. This should give you:
its = pyemma.msm.its(cluster.dtrajs, lags=50, nits=10, errors='bayes', n_jobs=1) pyemma.plots.plot_implied_timescales(its, units='ns', dt=0.1);
I hope this also resolves your issue. All credit is due to the contributors of the previous topics.
UPDATE
An even more elegant solution would be to follow yuxuanzhuang his solution from #1590. According to this post you should update estimator.py at line number 346. estimator.py is located in the _base directory of your pyemma directory. Hereby:
pool = get_context("spawn").Pool(processes=n_jobs)
should be replaced with:
pool = get_context().Pool(processes=n_jobs)
I have tested this change with multiple notebooks and so far it seems to work excellent. For pyemma.msm.its() instances; the n_jobs=1 workaround frequently has got to be used. Using only the n_jobs=1 workaround still gave me freezing issues in notebook 03 - MSM estimation and validation.
Kind regards, and all credit is due to the contributors of the previous topics.
Dear @D16ERG
Thank you so much for your help and tips!
Dear @D16ERG
Thank you so much for your help and tips!
Glad to help! I know how frustrating unresolved issues can be if such steps are part of a larger project! Please do note however that there still seems to be an unresolved issue in notebook 07. These issues are described in #1604 and #1610.
Update: (Could you also please close this issue?)
Hi,
Im trying to follow the tutorial 6 (http://emma-project.org/latest/tutorials/notebooks/06-expectations-and-observables.html#Dynamic/kinetic-experimental-observables) to calculate the Trp-flourescene auto-correlation.
When I run this code
My jupyter notebook stays a lot of time saying estimating BayesianMSM 0% with no progress.
Is there anything that I missed on my code?
Thanks in advance