31 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
76
views
C++ issue when installing Geant4
I have been trying to install Geant4 version 11.3.1 on my macbook for the past few days and keep running into errors that prevent a proper installation.
I am using macOs Ventura 13.7 and Homebrew ...
0
votes
0
answers
31
views
How to Track Energy transferred by Primaries to Secondaries In Geant4
Geant4 Version: 11.2.1
Operating System: Ubuntu
Compiler/Version: 11.4.0
CMake Version: 3.22.1
I have a layered detector consisting of two different materials: BGO and EJ232 (Plastic). I am ...
0
votes
0
answers
160
views
Issue With Xerces-C in Geant4
I am having an issue with Xerces-C in Geant4. It was working fine before I decided to update and upgrade my Homebrew packages. After updating, I am encountering the following error:
CMake Error at /...
0
votes
0
answers
571
views
Geant4 c++ segmentation fault
My code is based on the Geant4 c++ physics toolkit but I believe my problem may be more related to basic programming knowledge. Essentially a particle moves through the simulation in a loop of steps, ...
1
vote
1
answer
435
views
MacOS Dynamic library issues using a Makefile written for Linux platforms
I have to build a Geant4 code which was made on Linux and I have to make it work on MacOS. The problem is that the code requires a custom library (libTvectors), which I do have and I am compiling. ...
1
vote
0
answers
53
views
Finding the nucleus of neutron capture in geant4
I am shooting neutrons to gadolinium mix with water. I want to count how many neutron captured on hydrogen and gadolinium. I have found a question as Find nucleus involved in nCapture process in ...
-2
votes
1
answer
247
views
Having trouble with XCode: nullptr_t error
I am new to XCode and doing my first project for a simulation software called Geant4. I have the below code in C++ and when I run it I keep getting this error:
error: member 'nullptr_t' declared as a ...
0
votes
1
answer
2k
views
How to update ZLIB version in MacOS CommandLine Tools from version "1.2.11" to "1.2.13" to use CMake?
I am attempting to run a Geant4 simulation installed via Conda. To do so, it requires compiling "cmake". Though all of the packages required my Geant4 are up-to-date, a set library files ...
0
votes
0
answers
1k
views
Abort() has been called
After compiling successfully via CMake, I'm now stuck at another point:
When I press Retry, nothing happens except that I get back control over the prompt:
(base) PS C:\geant4\build\Debug> toy_ex....
Ben's user avatar
- 1,562
0
votes
0
answers
487
views
CMake error where root directory (I think maybe source?) does not exist
Here is a screenshot of the issues I'm having. I'm trying to set up geant4 so I can use g4beamline to run some physics simulations and I've hit a dead end.
I'm following the instructions in the "...
3
votes
1
answer
121
views
Calibrating the output(output factor) of a smaller source using Geant4/GATE MonteCarlo simulation
I am using GATE(which uses Geant4) to do MC studies on dosimetric output. I am using a cylindrical cobalt source at 80 cm SAD to measure the PDD in a water phantom and dose at depth of 10 cm.
I now ...
0
votes
0
answers
299
views
Errors during installing Geant4 in CentOS7
I'm trying to install Geant4 (version is 4.10.07.p01) and I got error refering to expat library priorities. I find a similar problem here Geant4 does not find Expat library and I followed the advice ...
0
votes
1
answer
132
views
G4GDMLParser Evaluator : syntax error C++
I am trying to read a GDML file with G4GDMLParser:
...
G4GDMLParser parser;
parser.Read(G4Str_Filename, fValidate);
But it gives an error:
...
G4GDML: Reading materials...
G4GDML: ...
-2
votes
2
answers
1k
views
cmake error when i have tried to build a compilining?
i have tried to compline a repository via "https://github.com/giglio0/DRAGON-G4-LaBr3.git" but while the compiling, i have taken a error. I don't Know why it is? i am not a coder. Just i ...
0
votes
1
answer
530
views
CMake Error variable not found LIBXML2_INCLUDE_DIR (Gate-9.0)
So, I'm currently installing Gate-9.0 it's a simulation kit based on Geant4. I'm following the installation guide in the documents which uses the
ccmake ../Gate-9.0
When itry to configure, it gives ...