All Projects → rsnemmen → parallel-python-tutorial

rsnemmen / parallel-python-tutorial

Licence: other
Parallel Computing with Python

Programming Languages

Jupyter Notebook
11667 projects

Projects that are alternatives of or similar to parallel-python-tutorial

framework
The Arcane Framework for HPC codes
Stars: ✭ 15 (-46.43%)
Mutual labels:  parallel-computing
bitpit
Open source library for scientific HPC
Stars: ✭ 80 (+185.71%)
Mutual labels:  parallel-computing
parallel-dfs-dag
A parallel implementation of DFS for Directed Acyclic Graphs (https://research.nvidia.com/publication/parallel-depth-first-search-directed-acyclic-graphs)
Stars: ✭ 29 (+3.57%)
Mutual labels:  parallel-computing
hero-sdk
⛔ DEPRECATED ⛔ HERO Software Development Kit
Stars: ✭ 21 (-25%)
Mutual labels:  parallel-computing
libROM
Model reduction library with an emphasis on large scale parallelism and linear subspace methods
Stars: ✭ 66 (+135.71%)
Mutual labels:  parallel-computing
pqdm
Comfortable parallel TQDM using concurrent.futures
Stars: ✭ 118 (+321.43%)
Mutual labels:  parallel-computing
gaia
Gaia is a geospatial analysis library jointly developed by Kitware and Epidemico.
Stars: ✭ 29 (+3.57%)
Mutual labels:  ipython
HAMeRS
Hydrodynamics Adaptive Mesh Refinement Simulator (HAMeRS) for compressible multi-species/multi-phase simulations
Stars: ✭ 43 (+53.57%)
Mutual labels:  parallel-computing
artic
The AlteRnaTive Impala Compiler
Stars: ✭ 16 (-42.86%)
Mutual labels:  parallel-computing
mbsolve
An open-source solver tool for the Maxwell-Bloch equations.
Stars: ✭ 14 (-50%)
Mutual labels:  parallel-computing
PyMFEM
Python wrapper for MFEM
Stars: ✭ 91 (+225%)
Mutual labels:  parallel-computing
Corium
Corium is a modern scripting language which combines simple, safe and efficient programming.
Stars: ✭ 18 (-35.71%)
Mutual labels:  parallel-computing
ripdb
Remotely accessible IPython-enabled debugger
Stars: ✭ 21 (-25%)
Mutual labels:  ipython
imongo
A MongoDB kernel for Jupyter
Stars: ✭ 51 (+82.14%)
Mutual labels:  ipython
config-public
Linux/WSL config to optimize ergonomics, security, and productivity: vim/neovim, zsh, tmux, i3, emacs, vscode, ipython, jupyter, ranger, fzf, kitty, xkb, selfquant, firejail, systemd, etc
Stars: ✭ 14 (-50%)
Mutual labels:  ipython
ISalt
ISalt: Interactive Salt Programming
Stars: ✭ 61 (+117.86%)
Mutual labels:  ipython
Impala
Parallel High-Performance Components for Rhino/Grasshopper
Stars: ✭ 32 (+14.29%)
Mutual labels:  parallel-computing
importnb
notebook files as source
Stars: ✭ 47 (+67.86%)
Mutual labels:  ipython
MOT
Multi-threaded Optimization Toolbox
Stars: ✭ 28 (+0%)
Mutual labels:  parallel-computing
05 Python Files
Python too supports file handling and allows users to handle files i.e., to read and write files, along with many other file handling options, to operate on files. The concept of file handling has stretched over various other languages, but the implementation is either complicated or lengthy, but like other concepts of Python, this concept here …
Stars: ✭ 163 (+482.14%)
Mutual labels:  ipython

Parallel Computing with Python

IPython notebook which illustrates a few simple ways of doing parallel computing in a single machine with multiple cores.

Tutorial on how to do parallel computing using an IPython cluster.

Practical examples included:

  1. Parallel function mapping to a list of arguments (multiprocessing module)
  2. Parallel execution of array function (scatter/gather) + parallel execution of scripts with IPython.parallel
  3. Easy parallel Monte Carlo (IPython parallel magics)

Based on the talk I gave at CosmoClub, IF USP.

Other potentially useful links

How to install Python, IPython and dependencies.

How to setup an IPython parallel cluster using SSH

TODO

  • include Dask example for parallel array processing
  • include example on how to parallelize loops
  • include a simple CUDA example? cuPY?

 

Visit the author's web page and/or follow him on twitter (@nemmen).

 


 

 

Copyright (c) 2016, Rodrigo Nemmen. All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].