Geant4 Version:10.7.1
_Operating System:linux
_Compiler/Version:gcc12
_CMake Version:3.16
Hi everyone, I have an issue when using multi-threading. Indeed, in sequential mode, I get the data and the hits recorded on my detector, but in multi-threading mode, the recorded hits are null, the hit count equals 0. How can I fix this error? Thanks, best regards. All responses are welcome.
Can you run examples B1 and B3? If so, you have a syntax error likely related to not building the master thread correctly. If not, that might point to a deeper cmake error.
Here’s the link to the compressed folder :
Please take a look at my runAction, eventAction and actionInitialisation files.
Sending the entire project is a bit much for this forum. Code audits are time expensive and hard to do. You will ultimately be your best debugger unless you can narrow it down to specific items. Again, are you able to run examples B1 and B3 since both of those use multithreading when compiled?
1 Like