shamrock
The Shamrock Framework, an open-source, multi-GPU hydrodynamics framework for astrophysics. Scales seamlessly from laptops to exascale supercomputers, supporting SPH, AMR, and more.
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
Links to: arxiv.org -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (15.7%) to scientific vocabulary
Keywords
Repository
The Shamrock Framework, an open-source, multi-GPU hydrodynamics framework for astrophysics. Scales seamlessly from laptops to exascale supercomputers, supporting SPH, AMR, and more.
Basic Info
- Host: GitHub
- Owner: Shamrock-code
- License: cecill-2.1
- Language: C++
- Default Branch: main
- Homepage: https://shamrock-code.github.io
- Size: 15.2 MB
Statistics
- Stars: 38
- Watchers: 5
- Forks: 15
- Open Issues: 143
- Releases: 6
Topics
Metadata Files
README.md

The Shamrock code
Shamrock is a general purpose HPC hydrodynamics simulation code focused on astrophysical contexts. The whole code is C++17 by default, and all accelerated parts are done using SYCL, which can be directly compiled directly to native CUDA, ROCM, OpenMP, OpenCL and much more. Shamrock also supports multiple GPUs and Heterogeneous clusters using MPI.
This code aims to be Modern, Modular, Fast, Portable.
Packaging
Third-party :
- Shamrock docker :
docker run -it --platform=linux/amd64 ghcr.io/shamrock-code/shamrock:latest-oneapi
Citing the code
Documentation
We provide both a book like documentation and the more classic doxygen style for more details about the sources - The documentation is available here: Shamrock documentation
Getting started
The whole getting started guide can be found here: Getting started
Note that a convenient way to pull the Shamrock repo is the following command to also pull the submodules:
bash
git clone --recurse-submodules https://github.com/Shamrock-code/Shamrock.git
Getting in touch
Join us on Discord, or Slack! Alternatively, open a discussion or issue in this repository.
Contributing
Shamrock accept contributions through github pull request : 1. Code contributions via Pull request 2. Documentation contributions via Pull request 3. Issue report & feature requests via Github issues
If you want to contribute please fork the code and submit your pull requests from your fork.
Compiler support
Compiler config | Support
---|---
DPC++ CUDA |
DPC++ ROCM |
AdaptiveCPP OpenMP |
AdaptiveCPP ROCM |
AdaptiveCPP CUDA |
AdaptiveCPP SSCP |
Licensing
Shamrock is licensed under the CeCILL Free Software License Agreement v2.1. See License (french version) or License (english version) for more details.
Copyright 2021-2025 Timothée David--Cléris
SPDX-License-Identifier: CeCILL Free Software License Agreement v2.1
Owner
- Name: Shamrock
- Login: Shamrock-code
- Kind: organization
- Location: France
- Repositories: 1
- Profile: https://github.com/Shamrock-code
Citation (CITATION.bib)
@ARTICLE{2025MNRAS.539....1D,
author = {{David-Cl{\'e}ris}, T. and {Laibe}, G. and {Lapeyre}, Y.},
title = "{The SHAMROCK code: I - smoothed particle hydrodynamics on GPUs}",
journal = {\mnras},
year = 2025,
month = may,
volume = {539},
number = {1},
pages = {1-33},
doi = {10.1093/mnras/staf444},
adsurl = {https://ui.adsabs.harvard.edu/abs/2025MNRAS.539....1D},
adsnote = {Provided by the SAO/NASA Astrophysics Data System}
}
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 44
- Total pull requests: 262
- Average time to close issues: about 1 month
- Average time to close pull requests: 12 days
- Total issue authors: 2
- Total pull request authors: 7
- Average comments per issue: 0.09
- Average comments per pull request: 0.89
- Merged pull requests: 169
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 43
- Pull requests: 258
- Average time to close issues: 15 days
- Average time to close pull requests: 3 days
- Issue authors: 2
- Pull request authors: 7
- Average comments per issue: 0.09
- Average comments per pull request: 0.87
- Merged pull requests: 168
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- tdavidcl (41)
- y-lapeyre (3)
Pull Request Authors
- tdavidcl (226)
- Akos299 (19)
- y-lapeyre (7)
- cclauss (5)
- bcommerc (3)
- aserhani (1)
- DavidFang03 (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- homebrew 60 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 1
formulae.brew.sh: shamrock
Astrophysical hydrodynamics using SYCL
- Homepage: https://github.com/Shamrock-code/Shamrock
- License: CECILL-2.1
-
Latest release: 2025.05.0
published 9 months ago
Rankings
Dependencies
- adaptivecpp 24.10.0
- boost 1.85.0
- clangxx 19.1.7
- cmake
- fmt 11.0.2.*
- matplotlib
- ninja
- numpy
- openmpi
- psutil
- python 3.12.*
- dorny/paths-filter v3 composite
- actions/checkout v4 composite
- actions/upload-artifact v4 composite
- actions/download-artifact v4 composite
- actions/upload-artifact v4 composite
- actions/upload-pages-artifact v3 composite
- actions/github-script v6 composite
- myrotvorets/set-commit-status-action master composite
- thollander/actions-comment-pull-request v3 composite
- actions/checkout v4 composite
- actions/download-artifact v4 composite
- actions/setup-python v5 composite
- actions/upload-artifact v4 composite
- actions/checkout v4 composite
- actions/deploy-pages v4 composite
- actions/download-artifact v4 composite
- marvinpinto/action-automatic-releases latest composite
- actions/checkout v4 composite
- actions/upload-artifact v4 composite
- actions/checkout v4 composite
- actions/checkout v4 composite
- actions/upload-artifact v4 composite
- actions/checkout v4 composite
- actions/upload-artifact v4 composite
- actions/checkout v4 composite
- actions/upload-artifact v4 composite
- actions/checkout v4 composite
- actions/checkout v4 composite
- actions/checkout v4 composite
- actions/checkout v4 composite
- actions/checkout v4 composite
- actions/checkout v4 composite
- actions/checkout v4 composite
- actions/setup-python v5 composite
- actions/upload-artifact v4 composite
- pre-commit/action v3.0.1 composite