|Message: G4Exception: Run0107 G4RunMananger Geant4 code is compiled without multi-threading||Not Logged In (login)|
Click on the Forum title, e.g. on the "Forums by Category" page, to read a sequence of postings to the Forum and its threads all in one page. If you are only interested in one thread or the thread following a specific posting, click the thread or the posting, which takes you to a smaller page, which contains only the part you are interested in and may be easier to navigate.
Messages are "chained" if there are only replies at the first level, i.e. 1/1.html, 1/1/1.html etc. In case of "chained" messages the message number is replaced by the icon and there is no indentation.
Inline: Display the subject line only or also the text of the posting(s); for the choice "All" the "Outline" choices are switched off.
|1||0||1||no text / full text of posting|
|2||1||All||text for level 1 only / text for All postings|
Outline: Choose the depth of the posting thread, successive toggle controls provide increasing detail.
|1||2||1||2 levels / 1 level (original posting)|
|2||3||2||3 levels / 2 levels|
|3||3||All||3 levels / all levels (all postings)|
I am currently on the geant4-10.4-release branch and have successfully compiled gean4-10.4.2 using the following cmake command in my g4-build directory on Mac OSX 10.13.6 using Xcode 10.1:
cmake -DGEANT4_USE_GDML=ON -DCMAKE_INSTALL_PREFIX=../g4-install/. -DGEANT4_USE_QT=ON -DGEANT4_USE_OPENGL_X11=ON -DGEANT4_USE_RAYTRACER_X11=ON -DGEANT4_INSTALL_DATA=ON -DGEANT4_INSTALL_DATA_TIMEOUT=86400 -DGEANT4_BUILD_MULTITHREADED=ON ../g4-git/.;
I am trying to run example basic/B1 with multi-threading enabled but cannot enable parallel processing. I was able to force example B1 to compile with multi-threading enabled by adding #define G4MULTITHREADING directly to the exampleB1.cc file; however, on running this binary using run1.mac as input, I receive the following error:
-------- EEEE ------- G4Exception-START -------- EEEE -------
*** ExceptionHandler is not defined *** *** G4Exception : Run0107 issued by : G4RunManager::G4RunManager(G4bool) Geant4 code is compiled without multi-threading support (-DG4MULTITHREADED is set to off). This type of RunManager can only be used in mult-threaded applications. *** Fatal Exception *** -------- EEEE -------- G4Exception-END --------- EEEE -------
*** G4Exception: Aborting execution *** Abort trap: 6
I have not had this issue until now and was running on version 10.3.3 before the upgrade. Could someone assist me in determining why the compilation insists the multi-threading feature is disable when it clear is enabled? I checked this using the make VERBOSE=1 command from the g4-build directory and received this response:
-- The following Geant4 features are enabled: GEANT4_BUILD_CXXSTD: Compiling against C++ Standard '11' GEANT4_BUILD_MULTITHREADED: Build multithread enabled libraries GEANT4_BUILD_TLS_MODEL: Building with TLS model 'initial-exec' GEANT4_USE_SYSTEM_EXPAT: Using system EXPAT library GEANT4_USE_GDML: Building Geant4 with GDML support GEANT4_USE_QT: Build Geant4 with Qt support GEANT4_USE_RAYTRACER_X11: Build RayTracer driver with X11 support GEANT4_USE_OPENGL_X11: Build Geant4 OpenGL driver with X11 support
-- Configuring done -- Generating done
The libraries are present
|Inline Depth:||Outline Depth:||Add message:|