parallel processing - Python multiprocessing: calling mpi executable and distributing over cores -


i trying use python's multiprocessing approach speed program working on.

the python code runs in serial, has calls mpi executable. these calls in parallel independent of 1 another.

for each step python script takes have set of calculations must done mpi program.

for example, if running on 24 cores, python script call 3 instances of mpi executable each running on 8 of cores. each time 1 mpi executable run ends, instance started until members of queue finished.

i getting started using multiprocessing, , possible, not sure on how go doing it. can set queue , have multiple processes start, it's adding of next set of calculations queue , starting them issue.

if kind soul give me pointers, or example code, i'd obliged!


Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -