Error running example ICRP145_HumanPhantoms in Geant4

Click For Summary
SUMMARY

The error encountered while running the ICRP145_HumanPhantoms example in Geant4 version 11.1.1 on Ubuntu 22.04 is due to incorrect command usage. The command should specify the macro file and output file correctly, as indicated by the usage message. The correct command format is: ./External -m [MACRO] -o [OUTPUT] -f for MRCP-AF phantom. Users must ensure they are using the appropriate macro file and output file names to resolve this issue.

PREREQUISITES
  • Familiarity with Geant4 version 11.1.1
  • Understanding of command-line operations in Ubuntu 22.04
  • Basic knowledge of macro files in Geant4
  • Experience with CMake version 3.22.1 for building projects
NEXT STEPS
  • Review the Geant4 user manual for detailed command usage
  • Learn how to create and manage macro files in Geant4
  • Explore troubleshooting common errors in Geant4 applications
  • Investigate advanced features of CMake for project configuration
USEFUL FOR

Geant4 users, researchers in computational physics, and developers working with simulation tools who need to troubleshoot example applications and enhance their understanding of command-line execution in Ubuntu.

emilmammadzada
Messages
133
Reaction score
19
TL;DR
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
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 2 ·
Replies
2
Views
10K