impactx
high-performance modeling of beam dynamics in particle accelerators with collective effects
Science Score: 49.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 5 DOI reference(s) in README -
○Academic publication links
-
✓Committers with academic emails
4 of 17 committers (23.5%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (15.5%) to scientific vocabulary
Keywords
Keywords from Contributors
Repository
high-performance modeling of beam dynamics in particle accelerators with collective effects
Basic Info
- Host: GitHub
- Owner: BLAST-ImpactX
- License: other
- Language: C++
- Default Branch: development
- Homepage: https://impactx.readthedocs.io
- Size: 3.5 MB
Statistics
- Stars: 46
- Watchers: 5
- Forks: 27
- Open Issues: 147
- Releases: 35
Topics
Metadata Files
README.md
ImpactX
ImpactX: an s-based beam dynamics code including space charge effects. This is the next generation of the IMPACT-Z code.
Documentation
In order to learn how to install and run the code, please see the online documentation: https://impactx.readthedocs.io
- ImpactX Doxygen: https://impactx.readthedocs.io/en/latest/_static/doxyhtml
- AMReX Doxygen: https://amrex-codes.github.io/amrex/doxygen
- WarpX Doxygen: https://warpx.readthedocs.io/en/latest/_static/doxyhtml
Contributing
Our workflow is described in CONTRIBUTING.rst.
Developer Environment
Please see our developer installation section of the documentation for an easy install of our software dependencies.
Get the Source Code
Before you start, you will need a copy of the ImpactX source code:
bash
git clone git@github.com:BLAST-ImpactX/impactx.git
cd impactx
Compile
```bash
find dependencies & configure
cmake -S . -B build
compile
cmake --build build -j 4 ```
That's all!
ImpactX binaries are now in build/bin/.
Most people execute these binaries directly or copy them out.
You can inspect and modify build options after running cmake -S . -B build with either
bash
ccmake build
or by adding arguments with -D<OPTION>=<VALUE> to the first CMake call, e.g.:
bash
cmake -S . -B build -DImpactX_COMPUTE=CUDA -DImpactX_MPI=OFF
Python Compile
```bash
find dependencies & configure
cmake -S . -B build -DImpactX_PYTHON=ON
compile & install
cmake --build build -j 4 --target pip_install ```
Run
An executable ImpactX binary with the current compile-time options encoded in its file name will be created in build/bin/.
Additionally, a symbolic link named impactx can be found in that directory, which points to the last built ImpactX executable.
The command-line syntax for this executable is:
```console
Usage: impactx
Mandatory arguments (remove the <>): inputs-file the path to an input file; can be relative to the current working directory or absolute. Example: input_fodo.in
Optional arguments (remove the []): options this can overwrite any line in an inputs-file Example: quad1.ds=0.5 sbend1.rc=1.5
Examples: In the current working directory, there is a file "inputfodo.in" and the "impactx" executable. The line to execute would look like this: ./impactx inputfodo.in
In the current working directory, there is a file "inputfodo.in" and the executable "impactx" is in a directory that is listed in the "PATH" environment variable. The line to execute would look like this: impactx inputfodo.in
In the current working directory, there is a file "inputfodo.in" and the "impactx" executable. We want to overwrite the segment length of the beamline element "quad1" that is already defined in it. We also want to change the radius of curvature of the bending magnet "sbend1" to a different value than in the file "inputfodo.in". The line to execute would look like this: ./impactx input_fodo.in quad1.ds=0.5 sbend1.rc=1.5 ```
Test
In order to run our tests, you need to have a few Python packages installed:
console
python3 -m pip install --upgrade pip
python3 -m pip install --upgrade build packaging setuptools[core] wheel pytest pytest-benchmark
python3 -m pip install --upgrade -r tests/python/requirements.txt
You can run all our tests with:
console
ctest --test-dir build --output-on-failure
Further options:
* help: ctest --test-dir build --help
* list all tests: ctest --test-dir build -N
* only run tests that have "FODO" in their name: ctest --test-dir build -R FODO
Acknowledgements
This work was supported by the Laboratory Directed Research and Development Program of Lawrence Berkeley National Laboratory under U.S. Department of Energy Contract No. DE-AC02-05CH11231.
ImpactX is supported by the CAMPA collaboration, a project of the U.S. Department of Energy, Office of Science, Office of Advanced Scientific Computing Research and Office of High Energy Physics, Scientific Discovery through Advanced Computing (SciDAC) program.
Copyright Notice
ImpactX Copyright (c) 2022, The Regents of the University of California, through Lawrence Berkeley National Laboratory (subject to receipt of any required approvals from the U.S. Dept. of Energy). All rights reserved.
If you have questions about your rights to use or distribute this software, please contact Berkeley Lab's Intellectual Property Office at IPO@lbl.gov.
Please see the full license agreement in LICENSE.txt.
Please see the notices in NOTICE.txt.
The SPDX license identifier is BSD-3-Clause-LBNL.
Owner
- Name: ImpactX
- Login: BLAST-ImpactX
- Kind: organization
- Website: https://impactx.readthedocs.io
- Repositories: 1
- Profile: https://github.com/BLAST-ImpactX
high-performance modeling of beam dynamics in particle accelerators with collective effects
GitHub Events
Total
- Create event: 20
- Commit comment event: 3
- Release event: 3
- Issues event: 78
- Watch event: 12
- Delete event: 13
- Issue comment event: 188
- Push event: 163
- Pull request event: 279
- Pull request review event: 402
- Pull request review comment event: 367
- Fork event: 2
Last Year
- Create event: 20
- Commit comment event: 3
- Release event: 3
- Issues event: 78
- Watch event: 12
- Delete event: 13
- Issue comment event: 188
- Push event: 163
- Pull request event: 279
- Pull request review event: 402
- Pull request review comment event: 367
- Fork event: 2
Committers
Last synced: 9 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Axel Huebl | a****l@p****a | 541 |
| Chad Mitchell | 4****9 | 119 |
| pre-commit-ci[bot] | 6****] | 95 |
| Parthib Roy | 1****0 | 36 |
| Marco Garten | m****n@l****v | 20 |
| Ryan Sandberg | R****g@l****v | 10 |
| Andrew Myers | a****2@g****m | 6 |
| Remi Lehe | r****e@n****g | 6 |
| dependabot[bot] | 4****] | 6 |
| Edoardo Zoni | 5****i | 4 |
| Ji Qiang | 3****l | 3 |
| Weiqun Zhang | W****g@l****v | 2 |
| Alexander Sinn | 6****n | 1 |
| Sajid Ali | s****1@u****u | 1 |
| TAN WEI HOU | 1****u | 1 |
| Alex Bojanich | a****3@g****m | 1 |
| Paul Moeller | m****r@b****z | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 52
- Total pull requests: 160
- Average time to close issues: about 2 months
- Average time to close pull requests: 5 days
- Total issue authors: 11
- Total pull request authors: 10
- Average comments per issue: 0.56
- Average comments per pull request: 0.36
- Merged pull requests: 111
- Bot issues: 0
- Bot pull requests: 19
Past Year
- Issues: 51
- Pull requests: 160
- Average time to close issues: 8 days
- Average time to close pull requests: 5 days
- Issue authors: 10
- Pull request authors: 10
- Average comments per issue: 0.53
- Average comments per pull request: 0.36
- Merged pull requests: 111
- Bot issues: 0
- Bot pull requests: 19
Top Authors
Issue Authors
- ax3l (21)
- cemitch99 (13)
- proy30 (5)
- sweber04 (4)
- keehong1 (3)
- SchroederSa (1)
- jonasbjorklundsvensson (1)
- EZoni (1)
- nikitakuklev (1)
- egstern (1)
- n01r (1)
Pull Request Authors
- ax3l (77)
- proy30 (40)
- pre-commit-ci[bot] (17)
- cemitch99 (17)
- kyrsjo (3)
- dependabot[bot] (2)
- egstern (1)
- AlexanderSinn (1)
- EZoni (1)
- atmyers (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 2
-
Total downloads:
- pypi 1,613 last-month
-
Total dependent packages: 0
(may contain duplicates) -
Total dependent repositories: 0
(may contain duplicates) - Total versions: 11
- Total maintainers: 1
pypi.org: impactx-noacc
ImpactX: the next generation of the IMPACT-Z beam dynamics code
- Homepage: https://impactx.readthedocs.io
- Documentation: https://impactx.readthedocs.io
- License: BSD-3-Clause-LBNL
-
Latest release: 25.8
published 6 months ago
Rankings
Maintainers (1)
conda-forge.org: impactx
ImpactX enables high-performance modeling of beam dynamics in particle accelerators with collective effects. This is the next generation of the IMPACT-Z code. ImpactX runs on modern GPUs or CPUs alike, provides user-friendly interfaces suitable for AI/ML workflows, has many benchmarks to ensure its correctness, and an extensive documentation.
- Homepage: https://impactx.readthedocs.io/
- License: BSD-3-Clause-LBNL
-
Latest release: 22.11
published over 3 years ago
Rankings
Dependencies
- actions/checkout v3 composite
- advanced-security/filter-sarif v1 composite
- github/codeql-action/analyze v2 composite
- github/codeql-action/autobuild v2 composite
- github/codeql-action/init v2 composite
- github/codeql-action/upload-sarif v2 composite
- actions/cache v3 composite
- actions/checkout v3 composite
- actions/cache v3 composite
- actions/checkout v3 composite
- actions/checkout v3 composite
- actions/cache v3 composite
- actions/checkout v3 composite
- actions/cache v3 composite
- actions/checkout v3 composite
- actions/setup-python v4 composite
- seanmiddleditch/gha-setup-ninja master composite
- breathe *
- docutils <=0.16
- pygments *
- recommonmark *
- sphinx >=2.0
- sphinx-design *
- sphinx_rtd_theme >=0.3.1
- matplotlib *
- numpy *
- pandas *
- scipy *
- numpy *
- mpi4py >=2.1.0
- actions/cache v3 composite
- actions/checkout v3 composite
- actions/cache v3 composite
- actions/checkout v3 composite