Elmer 9.0 version on Windows, errors

The graphical user interface of Elmer
Post Reply
zgrydn
Posts: 1
Joined: 01 Jul 2024, 13:09
Antispam: Yes

Elmer 9.0 version on Windows, errors

Post by zgrydn »

When I run the codes below in Elmer 9.0 version on Windows, I get errors.

---------------
Solver 2
Exec Solver = Always
Equation = MgDyn2D
Variable = A

Procedure = "MagnetoDynamics2D" "MagnetoDynamics2D"

Nonlinear System Convergence Tolerance = 1.0e-4
Nonlinear System Max Iterations = 30

Linear System Solver = Direct
Linear System Iterative Method = MUMPS
End
--------------------

The error output is as follows. How can I fix the problem? Please help.



ELMER SOLVER (v 9.0) STARTED AT: 2024/07/01 13:12:42
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: 9.0 (Rev: Release, Compiled: 2024-02-07)
MAIN: Running one task without MPI parallelization.
MAIN: Running with just one thread per task.
MAIN: Lua interpreter linked in.
MAIN: =============================================================
MAIN:
MAIN:
MAIN: -------------------------------------
MAIN: Reading Model: model.sif
LoadInputFile: Scanning input file: model.sif
LoadInputFile: Scanning only size info
LoadInputFile: First time visiting
LoadInputFile: Reading base load of sif file
OpenIncludeFile: Trying to include file: el_steel_M800_65A
LoadInputFile: Loading input file: model.sif
LoadInputFile: Reading base load of sif file
OpenIncludeFile: Trying to include file: el_steel_M800_65A
CheckKeyword: Unlisted keyword: [a] in section: [boundary condition 1]
CheckKeyword: Unlisted keyword: [a] in section: [boundary condition 6]
LoadInputFile: Number of BCs: 8
LoadInputFile: Number of Body Forces: 4
LoadInputFile: Number of Initial Conditions: 0
LoadInputFile: Number of Materials: 2
LoadInputFile: Number of Equations: 1
LoadInputFile: Number of Solvers: 4
LoadInputFile: Number of Bodies: 18
ListTagKeywords: Setting weight for keywords!
ListTagKeywords: No parameters width suffix: normalize by area
ListTagKeywords: Setting weight for keywords!
ListTagKeywords: No parameters width suffix: normalize by volume
MAIN:
MAIN: -------------------------------------
MAIN: Steady state iteration: 1
MAIN: -------------------------------------
MAIN:
ComputeChange: NS (ITER=1) (NRM,RELC): ( 63127.996 2.0000000 ) :: mgdyn2d
ComputeChange: NS (ITER=2) (NRM,RELC): ( 116419.08 0.59361687 ) :: mgdyn2d
ComputeChange: NS (ITER=3) (NRM,RELC): ( 67587.312 0.53076169 ) :: mgdyn2d
ComputeChange: NS (ITER=4) (NRM,RELC): ( 57692.200 0.15796856 ) :: mgdyn2d
ComputeChange: NS (ITER=5) (NRM,RELC): ( 50587.952 0.13121975 ) :: mgdyn2d
ComputeChange: NS (ITER=6) (NRM,RELC): ( 44850.641 0.12023042 ) :: mgdyn2d
ComputeChange: NS (ITER=7) (NRM,RELC): ( 40661.899 0.97967913E-01 ) :: mgdyn2d
ComputeChange: NS (ITER=8) (NRM,RELC): ( 38224.042 0.61807125E-01 ) :: mgdyn2d
ComputeChange: NS (ITER=9) (NRM,RELC): ( 37218.513 0.26656804E-01 ) :: mgdyn2d
ComputeChange: NS (ITER=10) (NRM,RELC): ( 37006.181 0.57213381E-02 ) :: mgdyn2d
ComputeChange: NS (ITER=11) (NRM,RELC): ( 37003.635 0.68808913E-04 ) :: mgdyn2d
ComputeChange: SS (ITER=1) (NRM,RELC): ( 0.25289907E-01 2.0000000 ) :: mgdyn2d
WARNING:: GetPermittivity: Permittivity not defined in material, defaulting to that of vacuum
ERROR:: SolveLinearSystem: Give "Linear System Solver", e.g. "linear" or "direct"
Rich_B
Posts: 446
Joined: 24 Aug 2009, 20:18

Re: Elmer 9.0 version on Windows, errors

Post by Rich_B »

Try entering:

UMFPACK instead of MUMPS

and let us know what happens.

viewtopic.php?t=7721

The Windows version of Elmer is not compiled with MUMPS.
Last edited by Rich_B on 04 Jul 2024, 16:47, edited 1 time in total.
hielau
Posts: 16
Joined: 26 Sep 2017, 19:18
Antispam: Yes

Re: Elmer 9.0 version on Windows, errors

Post by hielau »

I am using slightly different keyword for selecting direct solver

Code: Select all

  Linear System Solver = Direct
  Linear System Direct Method = umfpack
rok_sesel
Posts: 11
Joined: 28 May 2024, 14:19
Antispam: Yes

Re: Elmer 9.0 version on Windows, errors

Post by rok_sesel »

Zgrydn, have you solved the problem?

I am getting the exact same error (as posted in https://www.elmerfem.org/forum/viewtopic.php?t=8407).

I have been using ELMER both on my office computer and at home on my notebook. Several days ago, I noticed that ELMER would no longer run on my office PC.

Initially, I was certain that the error was due to some incorrect setup values in the sif file, but now it seems it may have to do something with the system itself.

Please let me know if you have some feedback on this.

Kind regards,
Rok
kevinarden
Posts: 2527
Joined: 25 Jan 2019, 01:28
Antispam: Yes

Re: Elmer 9.0 version on Windows, errors

Post by kevinarden »

Very few windows version have MUMPS unless you have taken steps to install MUMPS yourself, and that is not easy.
Other direct methods are banded and umfpack
if you cant use direct you can fall back to the iterative solvers
rok_sesel
Posts: 11
Joined: 28 May 2024, 14:19
Antispam: Yes

Re: Elmer 9.0 version on Windows, errors

Post by rok_sesel »

zgrydn, have you managed to solve your issue, if not - post your sif file, I would like to check some of your solver settings.

You could also increase the value of keyword 'Max Output Level' in the simulation settings, to increase verbosity of the solver output, that way you can locate your problem more precisely.

Cheers,
Rok
Post Reply