Skip to content

Commit 8568dde

Browse files
committed
dockerfile updated to use pygemc - pushing this to test the ci
1 parent 83cbba0 commit 8568dde

3 files changed

Lines changed: 45 additions & 58 deletions

File tree

ci/dockerfile_creator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def install_gemc(geant4_version: str, gemc_version: str) -> str:
4646
commands += f" && DOCKER_ENTRYPOINT_SOURCE_ONLY=1 . {remote_entrypoint()} \\\n"
4747
commands += f' && module load geant4/{geant4_version} \\\n'
4848
commands += f' && ./ci/build.sh \\\n'
49-
commands += f' && echo "export PATH=\\${{SIM_HOME}}/gemc/dev/bin:\\${{PATH}}" >> {remote_entrypoint_addon()} \n'
49+
commands += f' && echo "export PATH=\\${{SIM_HOME}}/gemc/dev/bin:\\${{SIM_HOME}}/gemc/dev/python_env/bin:\\${{PATH}}" >> {remote_entrypoint_addon()} \n'
5050
return commands
5151

5252

releases/0.2.md

Lines changed: 37 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,5 +73,40 @@ Both x86_64 and ARM64 platforms are supported.
7373

7474
## Detailed list of changes and fixes
7575

76-
- Better generator statistics for some examples
77-
- Added
76+
- Changed Docker image names by removing the Geant4 version
77+
- Removed Docker build from the workflow summary
78+
- Used `ci/gemc_version.sh` for both the Meson project version and the GEMC version.
79+
Uses the tag name to determine the version
80+
- Added optical properties and moved material routines in `g4materials.cc`
81+
- Fixed CI tests not exiting after failures
82+
- Fixed the Python API not resetting ASCII files for new variations
83+
- Fixed `g4view` option help
84+
- Added a screenshot boolean and function in `GRunAction::EndOfRunAction`
85+
- Added cloud style for volumes (`0=wireframe`, `1=solid`, `2=cloud`)
86+
- YAML files are more consistent across examples
87+
- Installed the Python analyzer package alongside GEMC, matching the existing installed API layout.
88+
- Added installed `gemc.sh` and `gemc.csh` environment setup scripts that configure
89+
`PATH`, library paths, and `PYTHONPATH`, including the installed `api` directory
90+
on `PATH`
91+
- Cleaned up Meson test behavior by fixing duplicate test names and making
92+
ROOT-dependent tests conditional on ROOT availability
93+
- Used `$SIM_HOME` instead of `$GEMC` for installation paths
94+
- Preloaded streamer plugins before Geant4 creates worker threads
95+
- `gemc.cc` preloads only the streamers that are configured.
96+
- Temporarily protected explicit `G4VisExecutive` teardown on Linux. This is a possible
97+
Geant4 bug: a double-free in a process-wide G4Colour map during static destruction
98+
- Added a workaround for UndefinedBehaviorSanitizer on Linux by using `LD_PRELOAD`
99+
- Used common library and OS/version definitions for deployment and sanitizer workflows
100+
- Made CI workflow job names more consistent
101+
- Added the LUND input format through `gmanager`
102+
- Distributed LUND events and `gparticles` events to Geant4 threads
103+
- Added VTK capabilities: examples now display the interactive view
104+
- Added vertex information to true and digitized data
105+
- Fixed a missing closing brace in the JSON format
106+
- Adjusted `system_template` to provide simpler geometry and methane target material
107+
- Adjusted `simple_flux` target material to `G4_lH2`
108+
- Added handling of `style=2` in PyVista by using cloud rendering
109+
- Fixed wireframe rendering in PyVista
110+
- Improved the PyVista example
111+
- Added the `g4light` option to `g4camera` to set the light direction
112+
- Fixed not assigning optical properties to materials when they were set to zero

releases/0.3.md

Lines changed: 7 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -8,29 +8,14 @@ This version includes:
88

99
## Release notes
1010

11-
- Cleaned up registry container names and improved the CI summary
12-
- Added a more robust algorithm to determine the GEMC version from the GitHub tag
13-
- Updated Assimp to 6.0.5
14-
- Added documentation:
15-
- Options
16-
- Geometry
17-
- Vertex Manipulation
18-
- pygemc
11+
1912

2013
<br/>
2114

2215
## New developments
2316

24-
- Support for the LUND generator format through the generator factory. Events are distributed over Geant4 threads.
25-
- Installed the Python analyzer package alongside GEMC.
26-
- Added Jupyter support for the examples and quickstart.
27-
- Added installed `gemc.sh` and `gemc.csh` environment setup scripts so users
28-
can source one file to configure `PATH`, library paths, and `PYTHONPATH`.
29-
The scripts add both the installed `bin` and `api` directories to `PATH`,
30-
since the `api` directory includes executables.
31-
- Added VTK export to the API. This requires the optional PyVista Jupyter extras:
32-
`pip install "pyvista[jupyter]"`.
33-
- Included various bug fixes and improvements.
17+
- Removed the need of any env variables: the api runs with the pygemc module, and
18+
the use just need the executable in the path
3419

3520
<br/>
3621

@@ -67,40 +52,7 @@ Both x86_64 and ARM64 platforms are supported.
6752

6853
## Detailed list of changes and fixes
6954

70-
- Changed Docker image names by removing the Geant4 version
71-
- Removed Docker build from the workflow summary
72-
- Used `ci/gemc_version.sh` for both the Meson project version and the GEMC version.
73-
Uses the tag name to determine the version
74-
- Added optical properties and moved material routines in `g4materials.cc`
75-
- Fixed CI tests not exiting after failures
76-
- Fixed the Python API not resetting ASCII files for new variations
77-
- Fixed `g4view` option help
78-
- Added a screenshot boolean and function in `GRunAction::EndOfRunAction`
79-
- Added cloud style for volumes (`0=wireframe`, `1=solid`, `2=cloud`)
80-
- YAML files are more consistent across examples
81-
- Installed the Python analyzer package alongside GEMC, matching the existing installed API layout.
82-
- Added installed `gemc.sh` and `gemc.csh` environment setup scripts that configure
83-
`PATH`, library paths, and `PYTHONPATH`, including the installed `api` directory
84-
on `PATH`
85-
- Cleaned up Meson test behavior by fixing duplicate test names and making
86-
ROOT-dependent tests conditional on ROOT availability
87-
- Used `$SIM_HOME` instead of `$GEMC` for installation paths
88-
- Preloaded streamer plugins before Geant4 creates worker threads
89-
- `gemc.cc` preloads only the streamers that are configured.
90-
- Temporarily protected explicit `G4VisExecutive` teardown on Linux. This is a possible
91-
Geant4 bug: a double-free in a process-wide G4Colour map during static destruction
92-
- Added a workaround for UndefinedBehaviorSanitizer on Linux by using `LD_PRELOAD`
93-
- Used common library and OS/version definitions for deployment and sanitizer workflows
94-
- Made CI workflow job names more consistent
95-
- Added the LUND input format through `gmanager`
96-
- Distributed LUND events and `gparticles` events to Geant4 threads
97-
- Added VTK capabilities: examples now display the interactive view
98-
- Added vertex information to true and digitized data
99-
- Fixed a missing closing brace in the JSON format
100-
- Adjusted `system_template` to provide simpler geometry and methane target material
101-
- Adjusted `simple_flux` target material to `G4_lH2`
102-
- Added handling of `style=2` in PyVista by using cloud rendering
103-
- Fixed wireframe rendering in PyVista
104-
- Improved the PyVista example
105-
- Added the `g4light` option to `g4camera` to set the light direction
106-
- Fixed not assigning optical properties to materials when they were set to zero
55+
- Better generator statistics for some examples
56+
- Api and analyzer moved to pygemc module
57+
- Examples and tests adapted to use pygemc
58+
- Fixed typos for various goptions help

0 commit comments

Comments
 (0)