Skip to content

Commit de2adf1

Browse files
committed
Release v0.5.1 (#1577)
* Add release notes * Add mermaid executable for pdf build * fixup! Add mermaid executable for pdf build * Update documentation * Update date
1 parent 3b067fd commit de2adf1

File tree

4 files changed

+143
-0
lines changed

4 files changed

+143
-0
lines changed

CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -474,6 +474,9 @@ if(CELERITAS_BUILD_DOCS)
474474
if(CELERITAS_USE_Breathe)
475475
find_program(LATEXMK_EXECUTABLE latexmk)
476476
endif()
477+
if(CELERITAS_USE_SphinxMermaid)
478+
find_program(MMDC_EXECUTABLE mmdc)
479+
endif()
477480
endif()
478481
include(ExternalProject)
479482
endif()

doc/appendix/release-history/v0.5.rst

Lines changed: 135 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,141 @@
55
Series 0.5
66
==========
77

8+
.. _release_v0.5.1:
9+
10+
Version 0.5.1
11+
-------------
12+
13+
*Released 2025/01/22*
14+
15+
Version 0.5.1 is a minor update to Celeritas featuring:
16+
17+
- Utilities for debugging lost and stuck tracks
18+
- Improved integration support for VecGeom CUDA in frameworks
19+
20+
A few minor features are noteworthy:
21+
22+
- Improved accuracy (decreased verbosity) in navigation history reconstruction
23+
- Add a per-track "maximum steps" cutoff
24+
- Use consistent random number sequences based on non-consecutive Geant4 event ID
25+
26+
Important changes:
27+
28+
- Sensitive detector integration with Geant4 now defaults to "on".
29+
If your problem has no SDs you must must manually disable this feature.
30+
- Geant4 environment variables set at configure time will *override* the
31+
preset data sets in Geant4's cmake installation. These are used for tests only.
32+
33+
Notable bug fixes include:
34+
35+
- Linking Athena with VecGeom+CUDA
36+
- Test fixes for certain new versions of Clang
37+
- Support for Geant4 11.3
38+
39+
40+
New features
41+
------------
42+
43+
* Add optical "locate vacancies" and pre-step actions *(@amandalund, #1441)*
44+
* Extend debug utilities for stuck/errored tracks *(@sethrj, #1451)*
45+
* Add CELER_NONFATAL_FLUSH to cleanly kill stuck tracks *(@sethrj, #1455)*
46+
* Add optical absorption model with imported data *(@hhollenb, #1440)*
47+
* Add multilevel "volume instance" *(@sethrj, #1461)*
48+
* Reconstruct Geant4 navigation history from stack *(@sethrj, #1466)*
49+
* Add "cut" for individual track steps *(@sethrj, #1467)*
50+
* Improve error checking and diagnostic output for managing GPU *(@sethrj, #1464)*
51+
* Add distance-to-bbox function *(@elliottbiondo, #1446)*
52+
* Add multi-level state to detector step result *(@sethrj, #1471)*
53+
* Override and save Geant4 dataset variables at configure time *(@pcanal, #1475)*
54+
* Implement spline interpolation for cross-section calculation *(@lebuller, #1444)*
55+
* Reconstruct "touchable" using navigation hierarchy *(@sethrj, #1495)*
56+
* Default SD integration to "true" *(@sethrj, #1501)*
57+
* Add support for Geant4 navigator through offload interface *(@sethrj, #1558)*
58+
59+
Reviewers: @amandalund *(6)*, @sethrj *(4)*, @pcanal *(4)*, @mrguilima *(2)*, @whokion *(1)*, @stognini *(1)*
60+
61+
Bug fixes
62+
---------
63+
64+
* Define a "unique event ID" different from event counter *(@sethrj, #1447)*
65+
* Fix optical import when unused materials are defined *(@sethrj, #1449)*
66+
* Remove trackid counter from primary *(@sethrj, #1448)*
67+
* Improve single-event mode in ``accel`` *(@sethrj, #1452)*
68+
* Fix GDML export messages and geometry-only use case *(@sethrj, #1454)*
69+
* Fix tracking cut message *(@sethrj, #1458)*
70+
* Anchor vtables to fix broken dynamic cast in tests *(@sethrj, #1474)*
71+
* Check VecGeom BVH device pointers at setup and run time *(@sethrj, #1481)*
72+
* Fix unnecessary linking when using VecGeom+CUDA *(@pcanal, #1487)*
73+
* Use canonical loop form with OpenMP *(@amandalund, #1492)*
74+
* Fix linking Athena with VecGeom+CUDA *(@pcanal, #1489)*
75+
* Fix celer-sim MC truth ROOT output file generation during tests *(@stognini, #1515)*
76+
* Fix hepmc3/macro initialization in celer-g4 *(@sethrj, #1535)*
77+
78+
Reviewers: @pcanal *(6)*, @sethrj *(4)*, @amandalund *(3)*, @esseivaju *(2)*
79+
80+
Documentation improvements
81+
--------------------------
82+
83+
* Improve XSCalculator documentation and tests *(@sethrj, #1450)*
84+
* Fix/standardize multi-level.gdml file and improve debug logging *(@sethrj, #1493)*
85+
* Add debugging information for app tests *(@sethrj, #1504)*
86+
* Refactor muon bremsstrahlung angular distribution *(@amandalund, #1509)*
87+
* Add a CI job for c++20 *(@esseivaju, #1511)*
88+
* Hotfix: Disable ROCm due to now-unsupported CI OS image *(@sethrj, #1521)*
89+
* Update post-PR workflow to ``actions/download-artifact@v4`` *(@esseivaju, #1523)*
90+
* Trim export data for unit tests *(@sethrj, #1527)*
91+
* Add CITATION file with CHEP 2024 article *(@sethrj, #1529)*
92+
* Update Readme and Contributing doc *(@pcanal, #1532)*
93+
* Add missing shell setup in README *(@pcanal, #1545)*
94+
* Fix accel examples and related CI issues *(@sethrj, #1557)*
95+
* Prepare to update copyrights *(@sethrj, #1559)*
96+
* Update docker and Spack CI *(@sethrj, #1555)*
97+
* Update CMake policy *(@sethrj, #1563)*
98+
* Update expected safeties in Vecgeom tests and CMake version range *(@mrguilima, #1552)*
99+
* Hotfix: fetch tags manually to fix CI *(@sethrj, #1580)*
100+
* Update Perlmutter env *(@esseivaju, #1587)*
101+
* Add ARM runner to CI *(@sethrj, #1585)*
102+
* Propagate code citations into user manual *(@sethrj, #1575)*
103+
104+
Reviewers: @amandalund *(6)*, @sethrj *(6)*, @pcanal *(5)*, @esseivaju *(3)*, @mrguilima *(1)*
105+
106+
Minor internal changes
107+
----------------------
108+
109+
* Give priority to existing environment variables for G4 data location *(@pcanal, #1457)*
110+
* Define ``id_cast`` helper function *(@sethrj, #1459)*
111+
* Simplify geometry "volume" interface *(@sethrj, #1460)*
112+
* Refactor step storage to use aux state *(@sethrj, #1465)*
113+
* Refactor pinned allocator to reduce need for templates *(@sethrj, #1468)*
114+
* Tweak Perfetto integration *(@sethrj, #1470)*
115+
* Escape semicolons in exported CMake variables *(@drbenmorgan, #1472)*
116+
* Require ``CELERITAS_DEBUG`` be on to enable ``CELERITAS_DEVICE_DEBUG`` *(@amandalund, #1476)*
117+
* Use kernel launchers instead of macros *(@sethrj, #1477)*
118+
* Fix missing brace and refactor #1475 *(@sethrj, #1480)*
119+
* Fix build with latest Geant4 develop *(@pcanal, #1484)*
120+
* Refactor "touchable updater" that uses a navigator *(@sethrj, #1483)*
121+
* Improve logger when using either CUDA or MPI *(@sethrj, #1482)*
122+
* Fix dBVH memcpy size *(@esseivaju, #1490)*
123+
* Work around RDC-related link errors when +cuda+vecgeom~shared *(@esseivaju, #1498)*
124+
* Move ``alongstep`` directory to top level *(@sethrj, #1499)*
125+
* Fix redundant move warning *(@esseivaju, #1500)*
126+
* Split CeleritasUtils cmake and use VecGeom RDC if available *(@sethrj, #1514)*
127+
* Stop CMake from cleaning root test data *(@hhollenb, #1516)*
128+
* Fix spurious vecgeom warning *(@sethrj, #1584)*
129+
130+
Reviewers: @sethrj *(7)*, @amandalund *(6)*, @pcanal *(5)*, @esseivaju *(2)*, @drbenmorgan *(1)*
131+
132+
Deprecation and removal
133+
-----------------------
134+
135+
* Delete obsolete demonstration apps *(@sethrj, #1463)*
136+
* Remove curand performance test *(@sethrj, #1543)*
137+
* Require less ancient CUDA architecture and OpenMP implementation *(@sethrj, #1578)*
138+
139+
Reviewers: @amandalund *(3)*, @pcanal *(1)*
140+
141+
**Full Changelog**: https://github.com/celeritas-project/celeritas/compare/v0.5.0...v0.5.1
142+
8143
.. _release_v0.5.0:
9144

10145
Version 0.5.0

doc/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@
104104

105105
if celer_config['options']['sphinxmer']:
106106
extensions.append("sphinxcontrib.mermaid")
107+
mermaid_cmd = celer_config['executables']['mmdc'] or None
107108

108109
# Add any paths that contain templates here, relative to this directory.
109110
templates_path = []

doc/config.json.in

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,9 @@
66
"furo": @CELERITAS_USE_FURO@,
77
"sphinxbib": @CELERITAS_USE_SPHINXBIBTEX@,
88
"sphinxmer": @CELERITAS_USE_SPHINXMERMAID@
9+
},
10+
"executables": {
11+
"latexmk": "@LATEXMK_EXECUTABLE@",
12+
"mmdc": "@MMDC_EXECUTABLE@"
913
}
1014
}

0 commit comments

Comments
 (0)