SimulationInformation_1.gif > SimulationInformation_2.gif

SIMULATION INFORMATION TUTORIAL SimulationInformation_3.gif            SimulationInformation_4.gif

Simulation Information

SimulationTools provides functions for accessing information about a simulation. This currently works best with Cactus simulations. For full functionality, certain output must have been enabled for the simulation. See the Supported Codes and Data Formats tutorial for more information.

Getting an overview of a simulation

SimulationInformation_5.gif

Simulation overview.

SimulationOverview can be used for a quick, at a glance overview of the status of a simulation, including the run speed, memory usage, trajectories, waveforms and run time. Its current focus is on binary black hole simulations using Cactus, but it has an extensible interface which will allow it to support other simulation types in the future.

In[1]:=

SimulationInformation_6.gif

In[2]:=

SimulationInformation_7.gif

Out[2]=

bbh
Graphics:Speed Graphics:Memory
Graphics:Trajectories
Graphics:Separation Graphics:Frequency
Graphics:Re[Psi422], R = 30. Graphics:|Psi422|, R = 30.
Simulation Cores CPU hrs. Days CPU hrs./day Estimated finish
bbh 12 62.5898 0.217326 288 Finished
Simulation Segments
bbh
Segment Last output t1 t2
0000 Fri 30 Mar 2012 14:24:13 0 6.5
0001 Fri 30 Mar 2012 14:24:16 7 300

Accessing individual simulation statistics

ReadSimulationRunTime ReadSimulationSpeed
ReadSimulationCost ReadSimulationCoreCount

Accessing statistics on a simulation.

We can compute the total number of hours the simulation has run for,

In[3]:=

SimulationInformation_15.gif

Out[3]=

SimulationInformation_16.gif

the speed of the evolution (evolved coordinate time per hour as a function of the simulation coordinate time)

In[4]:=

SimulationInformation_17.gif

Out[4]=

SimulationInformation_18.gif

memory usage

In[5]:=

SimulationInformation_19.gif

Out[5]=

SimulationInformation_20.gif

swap usage

In[6]:=

SimulationInformation_21.gif

Out[6]=

SimulationInformation_22.gif

the number of CPU cores used

In[7]:=

SimulationInformation_23.gif

Out[7]=

SimulationInformation_24.gif

and the total computational cost of the simulation in CPU hours

In[8]:=

SimulationInformation_25.gif

Out[8]=

SimulationInformation_26.gif

Much of this information is available only if the simulation was run using SimFactory.  Support for alternative systems can be added as required.

Related Tutorials

SupportedCodesAndDataFormats

Parameters

Spikey Created with Wolfram Mathematica 9.0