Restart File + SaveMaterials: Material Parameters not found

Clearly defined bug reports and their fixes
Post Reply
Takala
Posts: 186
Joined: 23 Aug 2009, 23:59

Restart File + SaveMaterials: Material Parameters not found

Post by Takala »

Hi,

I am calculating with "WhitneyAV" module. First I do steady state calculation and then use the solution as an initial condition (adding "Restart File" to sif) for the next calculation that is transient. This procedure is without problems. However, when I include the "SaveMaterials" subroutine in order to save the material parameters there is a problem: Elmer complains (a warning from the "SaveMaterials" subroutine) that the "Parameters are not to be found." and they are not written.

On the otherhand, when I calculate the solution without "Restart File", I have no problems in saving the parameters.

Does anyone have a clue what is going on?

Cheers,

Eelis
Takala
Posts: 186
Joined: 23 Aug 2009, 23:59

Anotther symptom with Restart file

Post by Takala »

Hi,

Another symptom: When I impose periodic boundary to Whitney AV ( that is periodic for "potential" and "potential e") and I use "Restart File" I get the following crash:
LoadRestartFile:
LoadRestartFile: --------------------------------------------
LoadRestartFile: Reading data from file: sector/steady.dat.0
LoadRestartFile: ASCII 1
LoadRestartFile:
[elmerbox:14819] *** Process received signal ***
[elmerbox:14819] Signal: Segmentation fault (11)
[elmerbox:14819] Signal code: Address not mapped (1)
[elmerbox:14819] Failing at address: 0x5ed465810
[elmerbox:14819] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x364c0) [0x7fc9c940c4c0]
[elmerbox:14819] [ 1] /usr/lib/libelmersolver-6.1.so(__modeldescription_MOD_loadrestartfile+0x297f) [0x7fc9c9b76bad]
[elmerbox:14819] [ 2] /usr/lib/libelmersolver-6.1.so(+0x414248) [0x7fc9c9ec0248]
[elmerbox:14819] [ 3] /usr/lib/libelmersolver-6.1.so(+0x4159b3) [0x7fc9c9ec19b3]
[elmerbox:14819] [ 4] /usr/lib/libelmersolver-6.1.so(elmersolver_+0x1e8b) [0x7fc9c9eb8089]
[elmerbox:14819] [ 5] ElmerSolver_mpi() [0x400f77]
[elmerbox:14819] [ 6] ElmerSolver_mpi() [0x401295]
[elmerbox:14819] [ 7] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7fc9c93f776d]
[elmerbox:14819] [ 8] ElmerSolver_mpi() [0x400c19]
[elmerbox:14819] *** End of error message ***
At line 2989 of file ModelDescription.f90
Fortran runtime error: Bad integer for item 1 in list input
I'm running in parallel.

I think the problem is induced by the "Restart File" property.

-Eelis
raback
Site Admin
Posts: 4812
Joined: 22 Aug 2009, 11:57
Antispam: Yes
Location: Espoo, Finland
Contact:

Re: Restart File + SaveMaterials: Material Parameters not found

Post by raback »

Hi Eelis

The periodic BCs don't work with edge elements yet.

I think that the restart can only restart those fields that have been created. SaveMaterials does this its own way. You could perhaps introduce these variables also as "Exported Variable i" of some suitable solver section.

-Peter
Post Reply