Debugging
The ‘debugging’ parameter category contains parameters for toggling standard features as well as additional information on or off.
print_load_imbalance
Description |
Controls how the work load imbalance should be displayed, if at all |
||
Default |
True
|
||
Elaboration |
As described in the paper on ‘The cosmological simulation code CO𝘕CEPT 1.0’, each CPU core / MPI rank are responsible for a designated region of the box, called its domain. Over time, inhomogeneities naturally lead to some domains requiring a greater computational work load than others in order to evolve its contents through a time step. This load imbalance may be reported after each time step. By default, only the worst (largest) load imbalance between all CPU cores is shown. |
||
Example 0 |
Do not print out the load imbalance: print_load_imbalance = False
|
||
Example 1 |
Print out load imbalance for all CPU cores: print_load_imbalance = 'full'
|
particle_reordering
Description |
Specifies whether particles within a component are allowed to be periodically reordered in memory |
||
Default |
True
|
||
Elaboration |
After a reordering, the particle data in memory is sorted so that it mimics the particle visiting order when traversing the tiles and subtiles of the short-range force. This improves CPU caching and can lead to a substantial speed-ups. |
||
Example 0 |
Disable periodic in-memory reordering of particles: particle_reordering = False
|
||
Example 1 |
In case of several tilings, the reordering will be done with respect to the tiling belong to the short-range force with the largest computation time. Though preferable for performance, this introduces a slight indeterminacy which you may not want. To enable particle reordering but always done with respect to the same short-range force, use particle_reordering = 'deterministic'
Note As CONCEPT currently only has a single
short-range force implemented ( particle_reordering = True
|
enable_Hubble
Description |
Enable the universal Hubble expansion of the background |
||
Default |
True
|
||
Elaboration |
With |
||
Example 0 |
Turn off the Hubble expansion: enable_Hubble = False
Caution This is really only intended for use with internal testing. A lot of basic functionality will not work in this mode. |