Difference between revisions of "Contrib multiSolver/parallel"

From OpenFOAMWiki
(Migrated to github)
 
Line 1: Line 1:
Parallel processing is now available with '''multiSolver'''.
+
This project has migrated over to '''github'''.
  
== decomposePar ==
+
'''''[http://github.com/Marupio/multiSolver/wiki Click here for the new website.]'''''
To decompose the case directory:
+
  
# Set it up as a usual multiSolver-enabled case directory;
+
http://github.com/Marupio/multiSolver/wiki
#  Create a <tt>system/decomposeParDict</tt> file as you would with a regular parallel solver;
+
# Instead of <tt>decomposePar</tt>, use:
+
 
+
multiSolver -preDecompose && decomposePar && multiSolver -postDecompose
+
 
+
== reconstructPar ==
+
To reconstruct the case directory:
+
 
+
Instead of <tt>reconstructPar</tt>, use:
+
 
+
multiSolver -preReconstruct && reconstructPar && multiSolver -postReconstruct
+
 
+
== Aliasing ==
+
If you are going to be doing this regularly, it might be a good idea to create a shorter ''alias'' for these two commands.  To do this, add:
+
 
+
alias multiDecomposePar='multiSolver -preDecompose && decomposePar && multiSolver -postDecompose'
+
alias multiReconstructPar='multiSolver -preReconstruct && reconstructPar && multiSolver -postReconstruct'
+
 
+
To the end of your <tt>OpenFOAM-''version''/etc/aliases.sh</tt> or <tt>OpenFOAM-''version''/etc/aliases.csh</tt> file.
+
 
+
== Parallel post processing ==
+
Apparently post processors are available that work with the data split across the processor directories / drives.  '''multiSolver''' can be post processed in this way as well.  To achieve this, use the commands as described on [[Contrib_multiSolver/Post processing|the post processing page]], except run them ''in parallel''.
+
 
+
For example, instead of:
+
multiSolver -load all
+
use:
+
mpirun -n 4 multiSolver -load all -parallel
+
substituting the correct options for mpirun.  Then run your fancy parallel post processor.
+

Latest revision as of 21:46, 6 September 2013

This project has migrated over to github.

Click here for the new website.

http://github.com/Marupio/multiSolver/wiki