Saving results & restarting in a parallel run

General discussion about Elmer
Post Reply
hanbinglele
Posts: 4
Joined: 23 Mar 2016, 08:32
Antispam: Yes

Saving results & restarting in a parallel run

Post by hanbinglele »

Hi, All

I partitioned an extruded mesh into 4 partitions and then tried to run surface relaxation on this partitioned mesh in parallel way.

Code: Select all

mpirun -np 4 -bind-to-none ElmerSolver_mpi
In the simulation section(SurfRelaxation.sif), I saved the results as the restart file for later inverse methods.

Code: Select all

[color=#800040]Simulation
  Coordinate System = Cartesian 3D
  Simulation Type = "Transient"
  Timestepping Method = "BDF"
  BDF Order = 1
  TimeStep intervals = 20! how many timesteps between writing outputs
  TimeStep Sizes = 0.1 !timestep size in years.

  Steady State Min Iterations = 1
  Steady State Max Iterations = 1

  Output Intervals(1) = 1!how many timesteps between writing outputs

  !Contains data for restarting
  Output File = $name".result"
  !Contains ElmerPost data
  Post File = $name".ep"

  Max Output Level = 9
  Initialize Dirichlet Conditions = Logical False
End[/color]
Normally the output should be $name.result.0, $name.result.1, $name.result.2, $name.result.3. But there is just one result file generated ($name.result). Then while I used the restart file in Inverse Methods(inversion.sif), error comes to me while running the second timestep.
LoadRestartFile: Reading time sequence: 1.000E-01
LoadRestartFile: Reading timestep: 1
WARNING:: LoadRestartFile: Could not associate variable to solver: fs residual
LoadRestartFile: Creating variable: fs residual
WARNING:: LoadRestartFile: Could not associate variable to solver: referencefs
LoadRestartFile: Creating variable: referencefs
LoadRestartFile: Total number of dofs to load: 13
LoadRestartFile: Reading time sequence: 1.000E-01
LoadRestartFile: Reading timestep: 1
WARNING:: LoadRestartFile: Could not associate variable to solver: fs residual
LoadRestartFile: Creating variable: fs residual
WARNING:: LoadRestartFile: Could not associate variable to solver: referencefs
LoadRestartFile: Creating variable: referencefs
LoadRestartFile: Total number of dofs to load: 13
LoadRestartFile: Reading time sequence: 1.000E-01
LoadRestartFile: Reading timestep: 1
WARNING:: LoadRestartFile: Could not associate variable to solver: fs residual
LoadRestartFile: Creating variable: fs residual
WARNING:: LoadRestartFile: Could not associate variable to solver: referencefs
LoadRestartFile: Creating variable: referencefs
LoadRestartFile: Total number of dofs to load: 13
LoadRestartFile: Reading time sequence: 1.000E-01
LoadRestartFile: Reading timestep: 1
LoadRestartFile: Reading time sequence: 2.000E-01
LoadRestartFile: Reading timestep: 2
LoadRestartFile: Reading time sequence: 2.000E-01
LoadRestartFile: Reading timestep: 2
LoadRestartFile: Reading time sequence: 2.000E-01
LoadRestartFile: Reading timestep: 2
LoadRestartFile: Reading time sequence: 2.000E-01
LoadRestartFile: Reading timestep: 2
ERROR:: LoadRestartFile: Error reading in ReadPerm
ERROR:: LoadRestartFile: Error reading in ReadPerm
ERROR:: LoadRestartFile: Error reading in ReadPerm
ERROR:: LoadRestartFile: Error reading in ReadPerm
Then I have no idea what is going wrong. I think it should be the saving process during the surface relaxation. But i don't know how to fix it.

Chen
Attachments
the files in the mapped_mesh folder
the files in the mapped_mesh folder
Screen Shot 2016-03-24 at 10.03.56 am.png (64.55 KiB) Viewed 2848 times
inversion.sif
inverse methods to use the restart file
(11.6 KiB) Downloaded 323 times
SurfRelaxation.sif
Sif file for surface relaxation
(8.3 KiB) Downloaded 324 times
Post Reply