Statistics on ElmerSolver: number of DOFs, memory usage and CPU time

Numerical methods and mathematical models of Elmer
Post Reply
ftrillaudp
Posts: 42
Joined: 23 May 2012, 05:26
Antispam: Yes

Statistics on ElmerSolver: number of DOFs, memory usage and CPU time

Post by ftrillaudp »

Dear all,

I am currently trying some 3D magnostatic codes using different mesh types (unstructured and structured meshes). I would like to get some statistics such as the memory usage, the CPU time and the number of degrees of freedom.

The ElmerSolver provides the CPU time if I am correct. However, I could not find in the log file the memory usage and the number of DOFs.

Best,

Frederic
FabianH
Posts: 19
Joined: 13 Nov 2020, 01:08
Antispam: Yes

Re: Statistics on ElmerSolver: number of DOFs, memory usage and CPU time

Post by FabianH »

Hi Frederic,

you can save this informations with "SaveData" "SaveScalars" Solver. The Keywords are "CPU Time", "CPU Memory" and "Dofs".

Code: Select all

Solver n
  Exec Solver = After Saving
  Procedure = "SaveData" "SaveScalars
  Filename = "results.dat"

  Variable 1 = "Time"
  Operator 2 = "CPU Time"
  Operator 3 = "CPU Memory"
  Operator 4 = "Dofs"
End
But for CPU Memory, I am not sure, if its still working.


Best regards
Fabian
ftrillaudp
Posts: 42
Joined: 23 May 2012, 05:26
Antispam: Yes

Re: Statistics on ElmerSolver: number of DOFs, memory usage and CPU time

Post by ftrillaudp »

Dear Fabian,

Thanks!

I have missed the information in the manual (p. 286 in the model manual). My bad!

The "CPU Memory" operator seems to work fine.

Best,

Frederic
Post Reply