Some concepts in parallel run in Elmer using ElmerSolver_mpi

Numerical methods and mathematical models of Elmer

Some concepts in parallel run in Elmer using ElmerSolver_mpi

Postby annier » 09 May 2017, 11:55

Some commands on parallel run in Elmer software:
1. Mesh partitioning command:
This command is the first step in parallel run in Elmer using ElmerGrid
Code: Select all
ElmerGrid 2 2 meshdirectoryname -partition 4 1 1 0

or symbolically,
Code: Select all
ElmerGrid 2 2 meshdirectoryname -partition Nx Ny Nz F

where, Nx, Ny, Nz are the number of partitions in x,y and z directions. The total number of partions = Nx*Ny*Nz and in this context 4*1*1 = 4
And, F = 0 indicates elementwise partion whereas F=1 indicates nodewise partition.

2. Running the elmersolver mpi command
Code: Select all
mpirun -np 4 ElmerSolver_mpi
provided that the sif file name is written in the ELMERSOLVER_STARTINFO file.

The concept of domain-decomposition method for mesh partitioning is shown by the following figure of Elmer Solvers Tutorial:
domain-decomposition-method-in_ Elmer.jpg
A figure from Elmer Solver Tutorial(http://www.nic.funet.fi/pub/sci/physics/elmer/doc/ElmerSolverManual.pdf)
domain-decomposition-method-in_ Elmer.jpg (132 KiB) Viewed 377 times


Source/Reference: Ruokolainen, J. et al, 2016, Elmer Solver Manual, Chapter 16, Parallel Runs, CSC – IT Center for Science, Espoo, Finland. (http://www.nic.funet.fi/pub/sci/physics/elmer/doc/ElmerSolverManual.pdf)

Yours Sincerely,
Anil Kunwar
annier
 
Posts: 1043
Joined: 27 Aug 2013, 13:51

Return to ElmerSolver

Who is online

Users browsing this forum: No registered users and 1 guest

cron