All Projects → jbornschein → Mpi4py Examples

jbornschein / Mpi4py Examples

Licence: mit
mpi4py examples

Programming Languages

python
139335 projects - #7 most used programming language

Labels

Projects that are alternatives of or similar to Mpi4py Examples

jest-pact
A Pact adaptor for to allow you to easily run tests with Jest
Stars: ✭ 58 (-81.17%)
Mutual labels:  examples
Examples Win32
Shows how to use Win32 controls by programming code (c++17).
Stars: ✭ 22 (-92.86%)
Mutual labels:  examples
Pybind11 examples
Examples for the usage of "pybind11"
Stars: ✭ 280 (-9.09%)
Mutual labels:  examples
ArduRTOS
Real Time Operating System Lessons using Arduino and The FreeRTOS Kernel
Stars: ✭ 46 (-85.06%)
Mutual labels:  examples
instantsearch-android-examples
Example apps built with algolia/instantsearch-android
Stars: ✭ 60 (-80.52%)
Mutual labels:  examples
Vaporschool
Learn how to build vapor applications from rookie to champion in a constructive way!
Stars: ✭ 259 (-15.91%)
Mutual labels:  examples
Tesseract
A set of libraries for rapidly developing Pipeline driven micro/macroservices.
Stars: ✭ 20 (-93.51%)
Mutual labels:  examples
Telegram.bot.examples
Examples for the Telegram.Bot C# Library
Stars: ✭ 290 (-5.84%)
Mutual labels:  examples
examples
Repository of RobotPy example projects
Stars: ✭ 25 (-91.88%)
Mutual labels:  examples
Examples
Many examples of Raku code
Stars: ✭ 276 (-10.39%)
Mutual labels:  examples
python-weka-wrapper3-examples
Example code for the python-weka-wrapper3 project.
Stars: ✭ 15 (-95.13%)
Mutual labels:  examples
kafka-streams-scala-examples
No description or website provided.
Stars: ✭ 16 (-94.81%)
Mutual labels:  examples
Coroutine
C++ 20 Coroutines in Action (Helpers + Test Code Examples)
Stars: ✭ 262 (-14.94%)
Mutual labels:  examples
banking-in-action
Sample application for RxJS in Action (Book)
Stars: ✭ 38 (-87.66%)
Mutual labels:  examples
Terragrunt Infrastructure Live Example
A repo used to show examples file/folder structures you can use with Terragrunt and Terraform
Stars: ✭ 286 (-7.14%)
Mutual labels:  examples
ionic3-google-maps-examples
Some examples of how to use google maps javascript API on a Ionic application and use HTML5 geolocation.
Stars: ✭ 24 (-92.21%)
Mutual labels:  examples
Rpcx Examples
examples for the latest rpcx
Stars: ✭ 256 (-16.88%)
Mutual labels:  examples
Vertx Examples
Vert.x examples
Stars: ✭ 3,202 (+939.61%)
Mutual labels:  examples
Examples
Example Revel Applications
Stars: ✭ 290 (-5.84%)
Mutual labels:  examples
Jdk9 Jigsaw
Examples and exercises based on some of the features of jigsaw in JDK9/Jigsaw (Early Access builds)
Stars: ✭ 275 (-10.71%)
Mutual labels:  examples

=== Dependencies ===

These programs depend on mpi4py (>= Version 1.0)

The mpi4py documentation and installation instructions can be found at:

http://mpi4py.scipy.org/

=== How to run on a single (multi-core) host ===

Run it with

mpirun -np 4 ./some-program

where the number after "-np " is the number of parallel MPI processes to be started.

=== How to run on multiple hosts ===

If you want to run the program distributed over multiple hosts, you have to create a which looks like:

-- hostfile -- host1 slots=4 host2 slots=4 host3 slots=4

Where "slots=" specifies the number of parallel processes that should be started on that host.

Run it with

mpirun --hostfile ./some-program

=== Run on a cluster with the Torque Job scheduling system ===

There are two possibilities:

a) Run interactively:

Request an interactive session and allocate a number of processors/nodes for your session:

$ qsub -I X -l nodes=4:ppn=4

Where "-I" means you want to work interactively, "-X" requests grapical (X-Window) I/O -- (you can run arbitrary programs that open windows). The option "-l " specifies the resources you want to allocate. "-l nodes=4:ppn=4" requests four compute nodes with each having four processor cores [ppn =^ ProcessorsPerNode]. So in total you allocate 16 CPU cores. [The scheduler is free to run your job on two nodes having 8 CPU cores each]

Once your interactive session is ready, you run

$ mpirun ./your-program

mpirun automatically knowns how many parallel processes have to be started and where they have to be started.

b) Submit as non-interactive batch-job:

Use

$ qsub -l nodes=4:ppn=4 ./your-jobfile.job

to submit jour job-file. Similar to the interactive case, "-l" again is used
to request resources from the scheduling system. The job file usually is a simple shell script which specifies the commands to be run once your job starts. In addition, the jobfile can contain "#PBS " statements which are used to specify additional options which could have been specified in the "qsub" commandline. Please see "man qsub" for details.

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].