Loading etc/unittests/test_core/test_06-11_multithreading_oneworkers copy.conf→etc/unittests/test_core/test_06-11_multithreading_oneworkers.conf +1 −2 Original line number Diff line number Diff line Loading @@ -14,5 +14,4 @@ workers = 1 #PASS (WARNING) Using multithreading with only one worker, this might be slower than multithreading=false #LABEL coverage #FAIL ERROR #FAIL FATAL #FAIL FATAL;ERROR src/modules/GeometryBuilderGeant4/GeometryBuilderGeant4Module.cpp +2 −0 Original line number Diff line number Diff line Loading @@ -129,6 +129,8 @@ void GeometryBuilderGeant4Module::initialize() { } else { LOG(DEBUG) << "Making a single-thread RunManager"; run_manager_g4_ = std::make_unique<RunManager>(); LOG(INFO) << "Using Geant4 modules without multithreading might reduce performance when using complex geometries, " "please check the documentation for details"; } // Set the geometry construction to use Loading src/modules/GeometryBuilderGeant4/tests/12-multithreading-oneworker.conf 0 → 100644 +32 −0 Original line number Diff line number Diff line # SPDX-FileCopyrightText: 2023 CERN and the Allpix Squared authors # SPDX-License-Identifier: MIT #DESC tests the use the MTRunManager with workers=1 [Allpix] detectors_file = "detector.conf" number_of_events = 1 random_seed = 0 multithreading=true workers=1 [GeometryBuilderGeant4] [DepositionGeant4] log_level = INFO particle_type = "e+" source_energy = 5MeV source_position = 0um 0um -500um beam_size = 0 beam_direction = 0 0 1 [ElectricFieldReader] model = "linear" bias_voltage = 100V depletion_voltage = 150V [ProjectionPropagation] temperature = 293K propagate_holes = true #PASS Deposited 71000 charges in sensor of detector mydetector #FAIL FATAL;ERROR Loading
etc/unittests/test_core/test_06-11_multithreading_oneworkers copy.conf→etc/unittests/test_core/test_06-11_multithreading_oneworkers.conf +1 −2 Original line number Diff line number Diff line Loading @@ -14,5 +14,4 @@ workers = 1 #PASS (WARNING) Using multithreading with only one worker, this might be slower than multithreading=false #LABEL coverage #FAIL ERROR #FAIL FATAL #FAIL FATAL;ERROR
src/modules/GeometryBuilderGeant4/GeometryBuilderGeant4Module.cpp +2 −0 Original line number Diff line number Diff line Loading @@ -129,6 +129,8 @@ void GeometryBuilderGeant4Module::initialize() { } else { LOG(DEBUG) << "Making a single-thread RunManager"; run_manager_g4_ = std::make_unique<RunManager>(); LOG(INFO) << "Using Geant4 modules without multithreading might reduce performance when using complex geometries, " "please check the documentation for details"; } // Set the geometry construction to use Loading
src/modules/GeometryBuilderGeant4/tests/12-multithreading-oneworker.conf 0 → 100644 +32 −0 Original line number Diff line number Diff line # SPDX-FileCopyrightText: 2023 CERN and the Allpix Squared authors # SPDX-License-Identifier: MIT #DESC tests the use the MTRunManager with workers=1 [Allpix] detectors_file = "detector.conf" number_of_events = 1 random_seed = 0 multithreading=true workers=1 [GeometryBuilderGeant4] [DepositionGeant4] log_level = INFO particle_type = "e+" source_energy = 5MeV source_position = 0um 0um -500um beam_size = 0 beam_direction = 0 0 1 [ElectricFieldReader] model = "linear" bias_voltage = 100V depletion_voltage = 150V [ProjectionPropagation] temperature = 293K propagate_holes = true #PASS Deposited 71000 charges in sensor of detector mydetector #FAIL FATAL;ERROR