Ranlux luxury in MT

Hello everyone!

A few time ago in a previous forum on hypernews engine I reported a bug that has been further fixed in 10.6.0 (#2184) but now during recompiling my codebase to match the upstream 11.4 I found the exactly same behaviour - by analyzing output I see again luxury == 1 in all child threads except the master if I manually set luxury to 4.

Geant4 Version: 11.4.1
Operating System: Windows 10
Compiler/Version: Visual Studio 2022
CMake Version: 3.31.6


2 Likes

Indeed, the regression has emerged when Tasking was introduced as the default parallelism mode (using “MT” as G4RUN_MANAGER_TYPE the initialisation of the engine is properly done in the workers)… A fix will be included in the next patch release.