swift
Modern astrophysics and cosmology particle-based code. Mirror of gitlab developments at https://gitlab.cosma.dur.ac.uk/swift/swiftsim
Science Score: 54.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
✓Committers with academic emails
41 of 81 committers (50.6%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (6.4%) to scientific vocabulary
Keywords
astrophysics
cosmology
gravity
hpc
hydrodynamics
mpi
nbody
nbody-simulation
simulation
simulations
sph
task-based
Keywords from Contributors
hdf5
particle
astronomy
transformation
Last synced: 6 months ago
·
JSON representation
·
Repository
Modern astrophysics and cosmology particle-based code. Mirror of gitlab developments at https://gitlab.cosma.dur.ac.uk/swift/swiftsim
Basic Info
- Host: GitHub
- Owner: SWIFTSIM
- License: lgpl-3.0
- Language: C
- Default Branch: master
- Homepage: http://www.swiftsim.com
- Size: 146 MB
Statistics
- Stars: 125
- Watchers: 16
- Forks: 61
- Open Issues: 17
- Releases: 3
Topics
astrophysics
cosmology
gravity
hpc
hydrodynamics
mpi
nbody
nbody-simulation
simulation
simulations
sph
task-based
Created almost 8 years ago
· Last pushed 6 months ago
Metadata Files
Readme
Changelog
Contributing
License
Citation
Authors
README
Welcome to the cosmological hydrodynamical code
______ _________________
/ ___/ | / / _/ ___/_ __/
\__ \| | /| / // // /_ / /
___/ /| |/ |/ // // __/ / /
/____/ |__/|__/___/_/ /_/
SPH With Inter-dependent Fine-grained Tasking
Version : 2025.04
Website: www.swiftsim.com
Twitter: @SwiftSimulation
See INSTALL.swift for install instructions.
Usage: swift [options] [[--] param-file]
or: swift [options] param-file
or: swift_mpi [options] [[--] param-file]
or: swift_mpi [options] param-file
Parameters:
-h, --help show this help message and exit
Simulation options:
-b, --feedback Run with stars feedback.
-c, --cosmology Run with cosmological time integration.
--temperature Run with temperature calculation.
-C, --cooling Run with cooling (also switches on --temperature).
-D, --drift-all Always drift all particles even the ones
far from active particles. This emulates
Gadget-[23] and GIZMO's default behaviours.
-F, --star-formation Run with star formation.
-g, --external-gravity Run with an external gravitational potential.
-G, --self-gravity Run with self-gravity.
-M, --multipole-reconstruction Reconstruct the multipoles every time-step.
-s, --hydro Run with hydrodynamics.
-S, --stars Run with stars.
-B, --black-holes Run with black holes.
-k, --sinks Run with sink particles.
-u, --fof Run Friends-of-Friends algorithm to
perform black hole seeding.
--lightcone Generate lightcone outputs.
-x, --velociraptor Run with structure finding.
--line-of-sight Run with line-of-sight outputs.
--limiter Run with time-step limiter.
--sync Run with time-step synchronization
of particles hit by feedback events.
--csds Run with the Continuous Simulation Data
Stream (CSDS).
-R, --radiation Run with radiative transfer.
--power Run with power spectrum outputs.
Simulation meta-options:
--quick-lyman-alpha Run with all the options needed for the
quick Lyman-alpha model. This is equivalent
to --hydro --self-gravity --stars --star-formation
--cooling.
--eagle Run with all the options needed for the
EAGLE model. This is equivalent to --hydro
--limiter --sync --self-gravity --stars
--star-formation --cooling --feedback
--black-holes --fof.
--gear Run with all the options needed for the
GEAR model. This is equivalent to --hydro
--limiter --sync --self-gravity --stars
--star-formation --cooling --feedback.
--agora Run with all the options needed for the
AGORA model. This is equivalent to --hydro
--limiter --sync --self-gravity --stars
--star-formation --cooling --feedback.
Control options:
-a, --pin Pin runners using processor affinity.
--nointerleave Do not interleave memory allocations across
NUMA regions.
-d, --dry-run Dry run. Read the parameter file, allocates
memory but does not read the particles
from ICs. Exits before the start of time
integration. Checks the validity of
parameters and IC files as well as memory
limits.
-e, --fpe Enable floating-point exceptions (debugging
mode).
-f, --cpu-frequency= Overwrite the CPU frequency (Hz) to be
used for time measurements.
-n, --steps= Execute a fixed number of time steps.
When unset use the time_end parameter
to stop.
-o, --output-params= Generate a parameter file with the options
for selecting the output fields.
-P, --param= Set parameter value, overiding the value
read from the parameter file. Can be used
more than once {sec:par:value}.
-r, --restart Continue using restart files.
-t, --threads= The number of task threads to use on each
MPI rank. Defaults to 1 if not specified.
--pool-threads= The number of threads to use on each MPI
rank for the threadpool operations.
Defaults to the numbers of task threads
if not specified.
-T, --timers= Print timers every time-step.
-v, --verbose= Run in verbose mode, in MPI mode 2 outputs
from all ranks.
-y, --task-dumps= Time-step frequency at which task graphs
are dumped.
--cell-dumps= Time-step frequency at which cell graphs
are dumped.
-Y, --threadpool-dumps= Time-step frequency at which threadpool
tasks are dumped.
--dump-tasks-threshold= Fraction of the total step's time spent
in a task to trigger a dump of the task plot
on this step
See the file examples/parameter_example.yml for an example of parameter file.
Owner
- Name: SWIFT astrophysics simulation code and ecosystem of tools
- Login: SWIFTSIM
- Kind: organization
- Location: Netherlands
- Website: www.swiftsim.com
- Twitter: swiftsimulation
- Repositories: 14
- Profile: https://github.com/SWIFTSIM
SWIFT: SPH With Inter-dependent Fine-grained Tasking
Citation (CITATION.cff)
cff-version: 1.2.0
title: >-
SWIFT: SPH With Inter-dependent Fine-grained
Tasking
message: 'If you use this software, please cite it as below'
type: software
authors:
- given-names: Matthieu
family-names: Schaller
email: schaller@strw.leidenuniv.nl
affiliation: Leiden University
orcid: 'https://orcid.org/0000-0002-2395-4902'
- given-names: Gonnet
family-names: Pedro
- given-names: Peter
family-names: Draper
- given-names: Aidan
family-names: Chalk
- given-names: Bert
family-names: Vandenbroucke
- given-names: James
family-names: Willis
- given-names: Richard
family-names: Bower
- given-names: Josh
family-names: Borrow
- given-names: Loic
family-names: Hausammann
- given-names: Yves
family-names: Revaz
- given-names: Jacob
family-names: Kegerreis
- given-names: Mladen
family-names: Ivkovic
- given-names: Stuart
family-names: McAlpine
- given-names: Folkert
family-names: Nobels
- given-names: John
family-names: Helly
- given-names: Yannick
family-names: Bahé
- given-names: Willem
family-names: Elbers
- given-names: Filip
family-names: Husko
GitHub Events
Total
- Issues event: 2
- Watch event: 24
- Delete event: 95
- Push event: 558
- Pull request review event: 7
- Pull request review comment event: 11
- Pull request event: 5
- Fork event: 2
- Create event: 153
Last Year
- Issues event: 2
- Watch event: 24
- Delete event: 95
- Push event: 558
- Pull request review event: 7
- Pull request review comment event: 11
- Pull request event: 5
- Fork event: 2
- Create event: 153
Committers
Last synced: about 2 years ago
Top Committers
| Name | Commits | |
|---|---|---|
| Matthieu Schaller | m****r@d****k | 3,091 |
| Matthieu Schaller | s****r@s****l | 2,954 |
| James Willis | j****s@d****k | 1,200 |
| Peter W. Draper | p****r@d****k | 992 |
| Pedro Gonnet | g****t@g****m | 753 |
| loikki | l****n@p****h | 504 |
| Folkert Nobels | n****s@s****l | 457 |
| Pedro Gonnet | p****t@d****k | 376 |
| lhausamm | l****n@h****m | 322 |
| Josh Borrow | j****w@d****k | 231 |
| Mladen Ivkovic | m****c@h****m | 168 |
| Jacob Kegerreis | j****s@d****k | 137 |
| Bert Vandenbroucke | b****e@u****e | 124 |
| Bert Vandenbroucke | b****e@g****m | 104 |
| Alexei Borissov | d****1@c****k | 94 |
| Alexei Borissov | d****1@c****k | 79 |
| John Helly | j****y@d****k | 74 |
| wullm | w****s@d****k | 71 |
| Alexei Borissov | d****1@c****a | 68 |
| Tom Theuns | t****s@d****k | 51 |
| rttw52 | s****e@h****i | 50 |
| Stefan Arridge | s****e@d****k | 47 |
| Matthieu Schaller | m****r@d****k | 43 |
| Alexei Borissov | d****1@c****a | 33 |
| Alexei Borissov | d****1@c****a | 32 |
| Bert Vandenbroucke | v****e@s****l | 28 |
| Yannick Bahe | b****e@s****l | 21 |
| Angus Lepper | a****r@e****k | 17 |
| Stuart Mcalpine | s****e@d****k | 17 |
| Filip Husko | f****o@d****k | 16 |
| and 51 more... | ||
Committer Domains (Top 20 + Academic)
durham.ac.uk: 17
strw.leidenuniv.nl: 9
epfl.ch: 5
cosma-a.cosma: 3
ugent.be: 2
ed.ac.uk: 2
cosma-b.cosma: 2
login7a.pri.cosma7.alces.network: 2
login7b.pri.cosma7.alces.network: 2
cosma-c.cosma: 2
st-andrews.ac.uk: 1
cosma-c.pri.cosma7.alces.network: 1
durhama.ac.uk: 1
helsink.fi: 1
cosma-a.pri.cosma7.alces.network: 1
cosma-b.pri.cosma7.alces.network: 1
protonmail.ch: 1
google.com: 1
cosma-k.(none): 1
cosma-n.pri.cosma7.alces.network: 1
winkel.strw.leidenuniv.nl: 1
stfc.ac.uk: 1
manchester.ac.uk: 1
pczaal9.strw.leidenuniv.nl: 1
hamilton1.hpc.dur.ac.uk: 1
sussex.ac.uk: 1
Issues and Pull Requests
Last synced: about 2 years ago
All Time
- Total issues: 40
- Total pull requests: 6
- Average time to close issues: 3 months
- Average time to close pull requests: 3 months
- Total issue authors: 26
- Total pull request authors: 5
- Average comments per issue: 5.58
- Average comments per pull request: 2.17
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 12
- Pull requests: 3
- Average time to close issues: 27 days
- Average time to close pull requests: about 2 months
- Issue authors: 9
- Pull request authors: 2
- Average comments per issue: 3.5
- Average comments per pull request: 3.0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- JingyaoDOU (4)
- rennehan (4)
- apontzen (3)
- FHusko (2)
- joe637 (2)
- dacreman (2)
- SPopov6 (2)
- FilipHusko (2)
- PhilRid (2)
- tianninglyu (2)
- mmlinford (2)
- J0nl15a (1)
- tancak (1)
- burgerz0 (1)
- 0satoken (1)
Pull Request Authors
- boson112358 (3)
- abouzied-nasar (2)
- themkots (2)
- fjeanquartier (1)
- DanGiles (1)
- dacreman (1)
- pwdraper (1)
- mladenivkovic (1)
- AlexKurek (1)
Top Labels
Issue Labels
bug (5)
enhancement (2)
help wanted (2)
architecture (2)
good first issue (1)
question (1)