Hi everyone,
I am begginer to Geant4, and I would highly appreciate your guidance to the following issue:
I am trying to run my code on a cluster, using multi-threading(MT) mode.
As I run my code on my PC it works in MT mode on its 4 cores. But as I run the code on the cluster it only works in the single-thread mode, and as I change it to MT in main.cc it compiles the core but when I run it, it gives 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 ***
Aborted (core dumped)
I would appreciate any suggestion on this problem.
Thanks in advance for your time.