Error running example ICRP145_HumanPhantoms in Geant4

AI Thread Summary
The user encounters an error when attempting to run the ICRP145_Human Phantoms example in Geant4, specifically related to incorrect command usage. The error message indicates that the command syntax is not being followed correctly, suggesting a required macro and output file format. The user is running Geant4 version 11.1.1 on Ubuntu 22.04 within VirtualBox, using compiler version 11.4.0 and CMake version 3.22.1. To resolve the issue, the user needs to ensure that the command is formatted correctly according to the usage guidelines provided in the documentation. Properly adjusting the command should help in successfully executing the example without errors.
emilmammadzada
Messages
129
Reaction score
19
TL;DR Summary
Error running example ICRP145_HumanPhantoms
Dear experts , when I run the ICRP145_Human Phantoms example following the instructions in the user manual, I get this error response
[
VirtualBox:~/Geant4/share/Geant4/examples/advanced/ICRP145_HumanPhantoms/build$./ICRP145phantoms ./Internal -i 9500 -m example.in -o example.out

Usage: ./External -m [MACRO] -o [OUTPUT] -f (option for MRCP-AF phantom)

Example: ./External -m run.mac -o run.out (-f)

VirtualBox:~/Geant4/share/Geant4/examples/advanced/ICRP145_HumanPhantoms/build$]
How can i solve this problem?
_Geant4 Version:_v11.1.1
_Operating System:_VirtualBox Ubuntu22.04
_Compiler/Version:_11.4.0
_CMake Version:_3.22.1
 
Hello, I'm currently trying to compare theoretical results with an MCNP simulation. I'm using two discrete sets of data, intensity (probability) and linear attenuation coefficient, both functions of energy, to produce an attenuated energy spectrum after x-rays have passed through a thin layer of lead. I've been running through the calculations and I'm getting a higher average attenuated energy (~74 keV) than initial average energy (~33 keV). My guess is I'm doing something wrong somewhere...

Similar threads

Back
Top