Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The egs_chamber sample input files don't run out-of-the-box #804

Open
ftessier opened this issue Dec 2, 2021 · 1 comment
Open

The egs_chamber sample input files don't run out-of-the-box #804

ftessier opened this issue Dec 2, 2021 · 1 comment
Assignees
Milestone

Comments

@ftessier
Copy link
Member

ftessier commented Dec 2, 2021

The sample input files provided in the egs_chamber application directory are complex, and moreover depend on a BEAMnrc source or materials that are not readily available. Hence, the examples don't run out-of-the-box after a fresh EGSnrc install. Also, a much simpler sample input file (pencil beam on slab) would prove useful.

Specifically, this was reported by Dave Rogers on 8 March 2014, but was never fixed:

  1. example1 uses a beam source as input and since this BEAM model is not
    part of the distribution, one cannot run the example. I would propose that
    source be commented out and a simpler point source be used. Leave the beam
    source there to show how it would be done, but it is better if an example
    input file will actually run. Also, near the top say that it needs
    521icru.pegs4dat to run.
  1. example2 makes use of materials that are not on the distribution (e.g.
    C173521ICRU) so these materials should be changed to similar materials in
    521icru and a similar note added to the top of the file re using 521icru.
@ftessier ftessier added this to the Release 2022 milestone Dec 2, 2021
@ftessier ftessier self-assigned this Dec 2, 2021
@mxxo
Copy link
Contributor

mxxo commented Apr 22, 2022

Just to add to this, example1_co60_Pfactors.egsinp fails with this error:

$ egs_chamber -i example1_co60_Pfactors.egsinp -p 521icru
In EGS_Application::initSimulation()
**********************************************
**********************************************
**********************************************

createGeometry: Error: multiple geometries with the same name exist: chamber_in_water

rtownson added a commit that referenced this issue Jan 9, 2023
Fix the egs_chamber examples so that they now run without needed to
compile any BEAMnrc accelerators or make changes to the input file. Also
fix a typo in the example2 water box size.
ftessier pushed a commit that referenced this issue Jan 16, 2023
Fix the egs_chamber examples so that they now run without needing to
compile any BEAMnrc accelerators or make changes to the input file. Also
fix a typo in the example2 water box size.
ftessier pushed a commit that referenced this issue Jan 16, 2023
Fix the egs_chamber examples so that they now run without needing to
compile any BEAMnrc accelerators or make changes to the input file. Also
fix a typo in the example2 water box size.
@ftessier ftessier modified the milestones: Release 2023, Release 2024 Mar 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants