Skip to content
Snippets Groups Projects
Peter W. Draper's avatar
Peter W. Draper authored
These fix a bug in the range of adjacent tasks of the same type
(and colour) which meant they merged into a single bar, regardless
of whether there was a gap or not (feature of span_where).

Also update to offer proper command-line options, the main one of
which is --expand. That splits the tasks of a thread into "expand"
lines of tasks, designed so that adjacent tasks will not be on the same
line. It is now also possible to set the size of the output graphic.

The colours have also been tweaked once more.
33476206
History
 Welcome to the cosmological hydrodynamical code
    ______       _________________
   / ___/ |     / /  _/ ___/_  __/
   \__ \| | /| / // // /_   / /   
  ___/ /| |/ |/ // // __/  / /    
 /____/ |__/|__/___/_/    /_/     
 SPH With Inter-dependent Fine-grained Tasking

 Website: www.swiftsim.com
 Twitter: @SwiftSimulation

See INSTALL.swift for install instructions.

Usage: swift [OPTION]... PARAMFILE
       swift_mpi [OPTION]... PARAMFILE

Valid options are:
  -a          Pin runners using processor affinity.
  -c          Run with cosmological time integration.
  -C          Run with cooling.
  -d          Dry run. Read the parameter file, allocate memory but does not read 
              the particles from ICs and exit before the start of time integration.
              Allows user to check validy of parameter and IC files as well as memory limits.
  -D          Always drift all particles even the ones far from active particles. This emulates
  	      Gadget-[23] and GIZMO's default behaviours.
  -e          Enable floating-point exceptions (debugging mode).
  -f    {int} Overwrite the CPU frequency (Hz) to be used for time measurements.
  -g          Run with an external gravitational potential.
  -G          Run with self-gravity.
  -M          Reconstruct the multipoles every time-step.
  -n    {int} Execute a fixed number of time steps. When unset use the time_end parameter to stop. 
  -s          Run with hydrodynamics.
  -S          Run with stars.
  -t    {int} The number of threads to use on each MPI rank. Defaults to 1 if not specified.
  -T          Print timers every time-step.
  -v     [12] Increase the level of verbosity
  	      1: MPI-rank 0 writes
	      2: All MPI-ranks write
  -y    {int} Time-step frequency at which task graphs are dumped.
  -h          Print this help message and exit.

See the file examples/parameter_example.yml for an example of parameter file.