2 first tutorial examples not working on file input

Clearly defined bug reports and their fixes
Post Reply
Daniel Pfenniger
Posts: 3
Joined: 19 Aug 2010, 16:23

2 first tutorial examples not working on file input

Post by Daniel Pfenniger »

Hello.

I just started using Elmer 5.50 on Linux Mandriva 2010.1 64bits using the official package
and tried the first 2 tutorials in the documentation.
For both tutorials all works fine until Run starting where I get the following error message
in the Solver Log, in serial and parallel mode:

--------------------------------------------------------------------------------------------------------------
ELMER SOLVER (v 5.5.0) STARTED AT: 2010/08/19 15:27:31
MAIN:
MAIN: ==========================================
MAIN: E L M E R S O L V E R S T A R T I N G
MAIN: Library version: 5.5.0 (Rev: )
MAIN: ==========================================
MAIN:
MAIN:
MAIN: -----------------------
MAIN: Reading Model ...
ERROR:: Model Input:
ERROR:: Model Input: Unknown specifier: [1.3807e-23]
ERROR:: Model Input: In section: [constants]
ERROR:: Model Input: For property name:[boltzmann constant]
---------------------------------------------------------------------------------------------------

What is so special with Boltzmann's constant? The previous constants are
recognized therefore I guess this smells a bug. I tried changing the value
1.3807e-23 to 1.381e-23 without changing the result.
Daniel Pfenniger
Posts: 3
Joined: 19 Aug 2010, 16:23

Re: 2 first tutorial examples not working on file input

Post by Daniel Pfenniger »

In fact the precise Elmer version distributed by Mandriva (contrib) is 5.4.1 4353.
raback
Site Admin
Posts: 4832
Joined: 22 Aug 2009, 11:57
Antispam: Yes
Location: Espoo, Finland
Contact:

Re: 2 first tutorial examples not working on file input

Post by raback »

Hi

I wonder if the installation is ok. Perhaps somebody using Mandriva can comment. It also seems to use sources from February even though it was rather newly built. My guess is that for some reason the Botzmann constant is not in the SOLVER.KEYWORDS database, or the database is not available at all.

Perhaps you could locate the tests directory in your installation and try to run the test by the ./runtests script.

Compiling Elmer suite oneself should not be too daunting. ElmerSolver should work almost out of the box. In ElmerGUI there may sometimes be problems with some libraries but these may be omitted at first. See www.elmerfem.org/wiki and www.csc.fi/elmer for instructions, both under compilation.

-Peter
Daniel Pfenniger
Posts: 3
Joined: 19 Aug 2010, 16:23

Re: 2 first tutorial examples not working on file input [solved]

Post by Daniel Pfenniger »

The raised problem has been solved by adding the following lines

Constants:Real: 'Boltzmann Constant'
Constants:Real: 'Unit charge'
Body:Integer: 'Target Bodies'
Material:Real: 'Mesh Poisson ratio'

to the file /usr/share/elmer/lib/SOLVER.KEYWORDS

for both the old and newest versions of Elmer.

There is still another pending problem with postprocessing with VTK (Elmer crashes).
raback
Site Admin
Posts: 4832
Joined: 22 Aug 2009, 11:57
Antispam: Yes
Location: Espoo, Finland
Contact:

Re: 2 first tutorial examples not working on file input

Post by raback »

Hi

I wonder if Mandriva was using the old release 5.4.1 instead of the up-to-date trunk version. The SOLVER.KEYWORDS should have these definitions since ages. Or then there is an old SOLVER.KEYWORD version in their build system.

Anaways, there seems to be a really fresh Elmer port in Mandriva (since yesterday!), perhaps you could try if the problems persist:
http://rpmfind.net/linux/RPM/mandriva/d ... .i586.html

-Peter
Post Reply