forked from alourei/NEXTSim
-
Notifications
You must be signed in to change notification settings - Fork 0
Multithreading
Cory R. Thornsberry edited this page Jun 7, 2019
·
1 revision
Last updated: May 24, 2019
If multithreading support was enabled during installation via -DGEANT4_BUILD_MULTITHREADED=ON,
then you may enable it through the -n or --mt-thread-limit command line flags. For example
nextSim -i ourFirstMacro.mac -n 4will run the simulation on four threads (usually CPU cores) simultaneously. If the number of
threads specified is greater than the maximum number available to NEXTSim, the maximum
number will be used instead. Additionally, if you specify zero threads -n 0 then the
program will use all available threads.