Python Forum
best parallelisation strategy on python
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
best parallelisation strategy on python
#1
I have a code fortran 90 that is parallelised with MPI. I would like to traslate it in python, but I am not sure on the parallelisation strategy and libraries. I work on clusters, with each node with 5GB memory and 12 processors or 24 processors (depending on the cluster I am using). Ideally I would like to split the computation on several nodes.

Let me explain what this code does: It read ~100GB data, they are divided in hdf5 files of ~25GB each. The code should read the data, go through it and then select a fraction of the data, ~1GB and then some CPU intensive work on it, and repeat this process many times, say 1000 times, then write the results to a single final file.

I was thinking that the CPU intensive part would be written as a shared object in C.

Do you have suggestions about which library to use?
Reply
#2
This video is from a couple of years ago, but still (in my opinion) the best for concurrency: https://www.youtube.com/watch?v=MCs5OvhV9S4
slides, programs, etc here: http://www.dabeaz.com/usenix2009/concurrent/index.html
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Moving average strategy irina_shubina 2 1,792 Jul-31-2022, 05:11 PM
Last Post: paulyan
  strategy to troubleshoot what pyinstaller misses hammer 0 945 May-23-2022, 01:05 AM
Last Post: hammer
  Best strategy for creating .exe for windows hammer 4 1,505 Apr-05-2022, 12:47 AM
Last Post: hammer
  Strategy on updating edits back to data table and object variables hammer 0 1,203 Dec-11-2021, 02:58 PM
Last Post: hammer
  calculate daily return in percent in forex as to some strategy? alen 1 2,217 Mar-12-2021, 10:03 AM
Last Post: buran
  Python learning strategy IluvPython 6 3,243 Nov-04-2019, 07:41 PM
Last Post: buran
  What is the strategy for working with class variables? AlekseyPython 3 3,016 Feb-24-2019, 05:34 AM
Last Post: AlekseyPython
  Python and strategy pattern tanc 5 3,415 Nov-30-2018, 08:55 AM
Last Post: Gribouillis

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020