manual:parallel_execution
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
manual:parallel_execution [2014/09/12 10:44] – Updates tutorial with new syntax for example. zenke | manual:parallel_execution [2014/10/14 17:32] – Adds paragraph on cluster computation. zenke | ||
---|---|---|---|
Line 6: | Line 6: | ||
</ | </ | ||
- | Suppose you would like to run the same code in parallel. Suppose | + | Suppose you would like to run the same code in parallel |
<code shell> | <code shell> | ||
mpirun -n 4 ./ | mpirun -n 4 ./ | ||
</ | </ | ||
where '' | where '' | ||
+ | |||
+ | To use multiple machines as a cluster the specifics might be different depending on the MPI implementation used. For OpenMPI it suffices, if the same home directory is mounted on all machines, to add a hostfile containing the names of all machines in the luster to the command line (e.g. '' | ||
manual/parallel_execution.txt · Last modified: 2014/10/14 17:41 by zenke