manual:parallel_execution
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
manual:parallel_execution [2014/01/13 12:15] – Adds a section on mergin ras files zenke | manual:parallel_execution [2014/10/14 17:41] (current) – [Merging ras output files] zenke | ||
---|---|---|---|
Line 3: | Line 3: | ||
Let's come back to our [[examples: | Let's come back to our [[examples: | ||
<code shell> | <code shell> | ||
- | ./ | ||
./ | ./ | ||
</ | </ | ||
- | 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 ./ | 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. '' | ||
Line 98: | Line 98: | ||
For other output files that are passed as arguments to [[Monitor]] objects for instance the same rules hold as described in the [[#output files]] section. That is why there are a total of four files '' | For other output files that are passed as arguments to [[Monitor]] objects for instance the same rules hold as described in the [[#output files]] section. That is why there are a total of four files '' | ||
- | Multiple [[ras]] can be merged efficiently using linux command line syntax only and the following call will do the job | + | Multiple [[ras]] can be merged efficiently |
<code shell> | <code shell> | ||
sort -g -m coba.*.e.ras > coba.e.ras | sort -g -m coba.*.e.ras > coba.e.ras | ||
</ | </ | ||
manual/parallel_execution.txt · Last modified: 2014/10/14 17:41 by zenke