How to run ESTEL in parallel
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. See the article about installing the TELEMAC system.
Run a parallel job on one machine
Before running distributed parallel jobs, it is easier to get it to work on one machine.
Using one process
Before running ESTEL in parallel, you need to start a mpd
process. Details are given in the MPI article. Just start it with:
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 in which you add the following keyword 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
If it works fine with one process, you can try with several. Make sure first that the mpi_telemac.conf
file contains enough entries for the number of processes you will request. As there is just one host available to MPI, just repeat its entry several times. For instance if asking for three processes, the mpi_telemac.conf
file should contain:
# Number of processors :
3
#
# For each host :
#
# hostname number_of_processors_on_the_host
#
master 1
master 1
master 1
Now edit the steering file of your test case to ask for 3 processors:
PARALLEL PROCESSORS = 3
If ESTEL ran properly, you should have 3 result files in your directory. The meaning of these files is explained further down.