Which Geant4 mode is better?

I have read that Multithreaded Geant4 has several advantages compared to Sequential Geant4, taking this into account could one say that Multithreaded Geant4 is better than Sequential Geant4?

_Geant4 Version:_11.2.1
_Operating System:_Windows 10
_Compiler/Version:_Visual Studio 2022
_CMake Version:_3.29.0-rc2

It depends on what you’re doing.

Are you generating very large numbers of large events? If so, then multithreaded allows you to generate events in parallel.

Are you debugging a problem somewhere in your simulation? If so, then you probably want single-threaded to make stepping through the debugger simpler.

1 Like

Ok, thank you for the answer. Now I think I understand things better

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.