OpenMM python run on MPI?

The functionality of OpenMM will (eventually) include everything that one would need to run modern molecular simulation.
POST REPLY
User avatar
Ivan Ivanov
Posts: 14
Joined: Tue Dec 06, 2016 7:55 am

OpenMM python run on MPI?

Post by Ivan Ivanov » Tue Nov 20, 2018 9:05 am

Good day.
Can anyone provide an example, there pyhton scripts run on multiple processor using MPI?

I do not know why, but HelloArgon.cpp example, then running on 100 processors with MPIRUN, does not work correctly. It runs a copy of HelloArgon.exe on each processor not parallel. Every copy count task from the beginning

User avatar
Peter Eastman
Posts: 2541
Joined: Thu Aug 09, 2007 1:25 pm

Re: OpenMM python run on MPI?

Post by Peter Eastman » Tue Nov 20, 2018 10:29 am

OpenMM doesn't use MPI internally. If you launch it through MPI, you're simply running a separate copy of your program on every processor.

You can write your own MPI code to do parallelization at a higher level. For an example of this, see https://github.com/kyleabeauchamp/repex. It's an implementation of replica exchange that uses MPI for communication between replicas.

User avatar
Ivan Ivanov
Posts: 14
Joined: Tue Dec 06, 2016 7:55 am

Re: OpenMM python run on MPI?

Post by Ivan Ivanov » Tue Nov 20, 2018 1:15 pm

Many, many thanks for your answer, Peter!

POST REPLY