mdanalysis icon indicating copy to clipboard operation
mdanalysis copied to clipboard

Using OpenMP parallelization on Windows 10

Open tanoury1 opened this issue 3 years ago • 3 comments
trafficstars

Hi, I am using MDAnalysis on my Windows 10 laptop and was trying to run a clustering method on 4 cores as shown below. However, it only runs on a single core. What am I overlooking?

ces1, details1 = encore.ces([u1], select='index 0:55', clustering_method=clustering_method, ncores=4)

Thank you, Jerry

tanoury1 avatar May 26 '22 18:05 tanoury1

@tanoury1 how was MDAnalysis installed?

You need to use pip to use OpenMP: https://userguide.mdanalysis.org/stable/installation.html#installation

IAlibay avatar May 29 '22 15:05 IAlibay

@tanoury1 any further updates on this?

IAlibay avatar Jun 11 '22 08:06 IAlibay

Hi Irfan, I tried it on my Linux cluster. I created a conda env for mdanalysis using python 3.7. I then did a pip install of the code. I could not get my job to run in parallel.

As for running on my Windows machine, I am waiting for my company’s IT group to install the required C++ libraries so I can install mdanalysis with pip. We have some restrictions that will not allow me to install the required libraries. I’ll update when I get that done. Thanks for checking!!

Jerry

On Sat, Jun 11, 2022 at 4:39 AM Irfan Alibay @.***> wrote:

@tanoury1 https://github.com/tanoury1 any further updates on this?

— Reply to this email directly, view it on GitHub https://github.com/MDAnalysis/mdanalysis/issues/3679#issuecomment-1152883057, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOA2OYWDOI7ZS5TQULKSBW3VORGDRANCNFSM5XB74ZVA . You are receiving this because you were mentioned.Message ID: @.***>

tanoury1 avatar Oct 11 '22 08:10 tanoury1