Parallel

Numerical methods and mathematical models of Elmer
Post Reply
MrBenson
Posts: 35
Joined: 31 Oct 2014, 19:44
Antispam: Yes

Parallel

Post by MrBenson »

Hi,

I've read the chapter 11 of ElmerSolverManual and I still not success to run Elmer in parallel mode.
To do so, I've installed ElmerMPI 8.1 and Open-MPI 1.6.2 for windows and partitioned the mesh as explained in the pdf using ElmerGrid/Metis.
I've defined ELMERSOLVER_STARTINFO file and the working dir.
When I run on mingw console

Code: Select all

mpirun -n 4 ElmerSolver_mpi.exe
It seems that Elmer is running in 4 serials mode. This is confirmed when I specify HYPRE solver, i get
ERROR:: CheckLinearSolverOptions: Hypre not usable in serial! (4 times)
Any ideas ? Thanks for your help.
SpicyBroseph
Posts: 7
Joined: 13 Jan 2016, 01:28
Antispam: Yes

Re: Parallel

Post by SpicyBroseph »

Could you print out what elmer spits out when you invoke it? Paste in the entire output.
MrBenson
Posts: 35
Joined: 31 Oct 2014, 19:44
Antispam: Yes

Re: Parallel

Post by MrBenson »

Hi SpicyBroseph,

Here what Elmer spits out : mpirun -np 4 ElmerSolver_mpi (mpirun is located with OpenMPI path) end ElmerSolver_MPI with Elmer 8.1

Code: Select all

ELMER SOLVER (v 8.1) STARTED AT: 2016/01/18 22:08:45
ParCommInit:  Initialize #PEs:            1
MAIN: 
MAIN: =============================================================
MAIN: ElmerSolver finite element software, Welcome!
MAIN: This program is free software licensed under (L)GPL
MAIN: Copyright 1st April 1995 - , CSC - IT Center for Science Ltd.
MAIN: Webpage http://www.csc.fi/elmer, Email elmeradm@csc.fi
MAIN: Version: 8.1 (Rev: 549ce2a, Compiled: 2016-01-15)
MAIN: =============================================================
ELMER SOLVER (v 8.1) STARTED AT: 2016/01/18 22:08:45
MAIN: 
MAIN: 
MAIN: -------------------------------------
MAIN: Reading Model: tempRad.sif
ELMER SOLVER (v 8.1) STARTED AT: 2016/01/18 22:08:45
ParCommInit:  Initialize #PEs:            1
MAIN: 
MAIN: =============================================================
MAIN: ElmerSolver finite element software, Welcome!
MAIN: This program is free software licensed under (L)GPL
MAIN: Copyright 1st April 1995 - , CSC - IT Center for Science Ltd.
MAIN: Webpage http://www.csc.fi/elmer, Email elmeradm@csc.fi
MAIN: Version: 8.1 (Rev: 549ce2a, Compiled: 2016-01-15)
MAIN: =============================================================
ParCommInit:  Initialize #PEs:            1
MAIN: 
MAIN: =============================================================
MAIN: ElmerSolver finite element software, Welcome!
MAIN: This program is free software licensed under (L)GPL
MAIN: Copyright 1st April 1995 - , CSC - IT Center for Science Ltd.
MAIN: Webpage http://www.csc.fi/elmer, Email elmeradm@csc.fi
MAIN: Version: 8.1 (Rev: 549ce2a, Compiled: 2016-01-15)
MAIN: =============================================================
MAIN: 
MAIN: 
MAIN: -------------------------------------
MAIN: Reading Model: tempRad.sif
ELMER SOLVER (v 8.1) STARTED AT: 2016/01/18 22:08:45
MAIN: 
MAIN: 
MAIN: -------------------------------------
MAIN: Reading Model: tempRad.sif
ParCommInit:  Initialize #PEs:            1
MAIN: 
MAIN: =============================================================
MAIN: ElmerSolver finite element software, Welcome!
MAIN: This program is free software licensed under (L)GPL
MAIN: Copyright 1st April 1995 - , CSC - IT Center for Science Ltd.
MAIN: Webpage http://www.csc.fi/elmer, Email elmeradm@csc.fi
MAIN: Version: 8.1 (Rev: 549ce2a, Compiled: 2016-01-15)
MAIN: =============================================================
MAIN: 
MAIN: 
MAIN: -------------------------------------
MAIN: Reading Model: tempRad.sif
Model Input:  Unlisted keyword: [angleflux] in section: [body force 1]
Model Input:  Unlisted keyword: [angleflux] in section: [body force 1]
Model Input:  Unlisted keyword: [angleflux] in section: [body force 1]
Model Input:  Unlisted keyword: [angleflux] in section: [body force 1]
      20 0.4498E-06
      30 0.9942E-08
      20 0.5041E-06
      32 0.7412E-08
      20 0.4423E-06
      33 0.7717E-08
      20 0.6207E-05
      34 0.4164E-08
      20 0.4986E-06
      35 0.8877E-08
       4 0.8826E-08
SOLVER TOTAL TIME(CPU,REAL):         9.03        9.03
ELMER SOLVER FINISHED AT: 2016/01/18 22:08:54
      20 0.4498E-06
      30 0.9942E-08
      20 0.5041E-06
      32 0.7412E-08
      20 0.4423E-06
      33 0.7717E-08
      20 0.6207E-05
      34 0.4164E-08
      20 0.4986E-06
      35 0.8877E-08
       4 0.8826E-08
SOLVER TOTAL TIME(CPU,REAL):         8.99        8.99
ELMER SOLVER FINISHED AT: 2016/01/18 22:08:54
      20 0.4498E-06
      30 0.9942E-08
      20 0.5041E-06
      32 0.7412E-08
      20 0.4423E-06
      33 0.7717E-08
      20 0.6207E-05
      34 0.4164E-08
      20 0.4986E-06
      35 0.8877E-08
       4 0.8826E-08
SOLVER TOTAL TIME(CPU,REAL):         9.03        9.03
ELMER SOLVER FINISHED AT: 2016/01/18 22:08:54
      20 0.4498E-06
      30 0.9942E-08
      20 0.5041E-06
      32 0.7412E-08
      20 0.4423E-06
      33 0.7717E-08
      20 0.6207E-05
      34 0.4164E-08
      20 0.4986E-06
      35 0.8877E-08
       4 0.8826E-08
SOLVER TOTAL TIME(CPU,REAL):         9.03        9.03
ELMER SOLVER FINISHED AT: 2016/01/18 22:08:54
Post Reply