Difference between revisions of "How to run ESTEL in parallel"

From SourceWiki
Jump to navigation Jump to search
Line 11: Line 11:
 
* The parallel library in the TELEMAC tree needs to have been compiled. This is described [[Install_the_TELEMAC_system#parallel | here]].
 
* The parallel library in the TELEMAC tree needs to have been compiled. This is described [[Install_the_TELEMAC_system#parallel | here]].
  
= Run a parallel job =
+
= Run a parallel job on one machine =
 +
== Using one process ==
 
Before running '''[[ESTEL]]''' in parallel, you need to start an mpd.
 
Before running '''[[ESTEL]]''' in parallel, you need to start an mpd.
  
Line 22: Line 23:
  
 
If this does not work. Stop here and try to understand what is going wrong. You can email error messages (full messages) to [[User:Jprenaud | JP Renaud]] who will help if necessary.
 
If this does not work. Stop here and try to understand what is going wrong. You can email error messages (full messages) to [[User:Jprenaud | JP Renaud]] who will help if necessary.
 +
 +
== Using multiple processes ==
 +
  
 
edit estel steering file
 
edit estel steering file
Line 28: Line 32:
 
estel3d
 
estel3d
  
= estel2d particle tracking or domain decomposition =
+
= Run a parallel job on several machines =
 +
 
 +
= Note about the result files =
 +
 
 +
= Note about estel2d =

Revision as of 11:24, 22 August 2007


This article describes how to run parallel jobs in ESTEL on "simple" networks of workstations.

Note that the methodology differs slightly for real high performance facilities such as Blue Crystal or other Beowulf clusters. Therefore, there is a dedicated article for clusters.

We call a network of workstations a set of workstations which can "talk" to each other via Intra/Internet.

Pre-requesites

  • You need to have a working MPI configuration on the network of workstations. See the article about installing MPI.
  • The parallel library in the TELEMAC tree needs to have been compiled. This is described here.

Run a parallel job on one machine

Using one process

Before running ESTEL in parallel, you need to start an mpd.

Before trying to run real parallel jobs it is interesting to check that the "parallel" library and ESTEL are playing nicely together. This can be achieved by running an existing test case with with test case for which you add in the steering file:

PARALLEL PROCESSORS = 1

Using the keyword PARALLEL PROCESSORS will force ESTEL to use the parallel library instead of the paravoid library. As we request one processor only, no MPI calls will be done.

If this does not work. Stop here and try to understand what is going wrong. You can email error messages (full messages) to JP Renaud who will help if necessary.

Using multiple processes

edit estel steering file

parallel processors = 2

estel3d

Run a parallel job on several machines

Note about the result files

Note about estel2d