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
Hello!
I was playing around with the parallelization of MLP-MDs in mlp-train.
I have used the mlptrain/sampling/tests/test_umbrella.py as a template for my tests. I have notinced that each window in the umbrella sampling cannot run on more than one core (check on my output.log). Am I missing something?
I believe this is correct. As far as I understand the ASE MD code which is called in the run_mlp_md() routine does not benefit from additional OMP threads. However, it might be possible for the ASE calculator (depending on the calculator used) to use multiple OMP threads, but this is unlikely, as can be seen in your test. For this reason I have set kwargs["n_cores"] = 1 in the _run_individual_window() routine in umbrella.py. Therefore, it might be a good idea to set OMP_NUM_THREADS to 1 in run_mlp_md routine in the future versions of the mlp-train code.
Because of this, to fully utilize all the available cores, the number of windows used in umbrella sampling should match the number of cores available.
Hello!
I was playing around with the parallelization of MLP-MDs in mlp-train.
I have used the mlptrain/sampling/tests/test_umbrella.py as a template for my tests. I have notinced that each window in the umbrella sampling cannot run on more than one core (check on my output.log). Am I missing something?
I am including the scripts used in my test.
test.zip
data.zip
Thank you for your time!
Cheers,
Gers
The text was updated successfully, but these errors were encountered: