[Gate-users] Segmentation violation with GPU

David Boersma david.boersma at igp.uu.se
Fri Dec 15 11:15:20 CET 2017


Hi Jan-Nico,

(1) For reproducing your crash it might be of interest what kind of 
graphics card you have.
(2) Sadly, the GPU support will be discontinued in future releases of 
GATE. You may want to take a look at GGEMS: http://www.ggems.fr/

HTH,
David Boersma

Den 13/12/2017 kl. 05:45, skrev Jan-Nico Zaech:
> Dear fellow GATE users,
> 
> 
> I plan to use GATE for the simulation of CT imaging. Therefore I 
> installed GATE8.0 on Ubuntu16.04 with GPU support, with the following 
> software versions:
> 
> 
> CUDA 8.0
> 
> Root 5.34/36 (built from source as GATE did not built otherwise)
> 
> GEANT4 10.3.3
> 
> 
> The CT example from gpumacros in theGATE7.2 source does work on CPU, but 
> the GPU-version crashes with the following message:
> 
> 
> [Core-0] Initialization of geometry
> [Core-0] Initialization of physics
> ### WARNING: G4EmProcessOptions class is obsolete and will be removed in 
> the next public release
>      Please, try to use G4EmParameters class and/or UI interface to EM 
> parameters
> [Core-0] Initialization of actors
> [Core-0] "ResetData" = [ ResetData ]
> [Core-0] "GateGPUIO_Input_delete" = [ GateGPUIO_Input_delete ]
> [Core-0] "GateGPUIO_Input_new" = [ GateGPUIO_Input_new ]
> 
>   *** Break *** segmentation violation
> 
> 
> 
> ===========================================================
> There was a crash.
> This is the entire stack trace of all threads:
> ===========================================================
> #0  0x00007f27642d407a in __GI___waitpid (pid=15035, stat_loc=stat_loc
> entry=0x7ffd978c3b00, options=options
> entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:29
> #1  0x00007f276424cfbb in do_system (line=<optimized out>) at 
> ../sysdeps/posix/system.c:148
> #2  0x00007f276b4a3084 in TUnixSystem::StackTrace() () from 
> /usr/local/root/lib/libCore.so
> #3  0x00007f276b4a532c in TUnixSystem::DispatchSignals(ESignals) () from 
> /usr/local/root/lib/libCore.so
> #4  <signal handler called>
> #5  0x00000000008870a7 in GateGPUTransTomoActor::ResetData() ()
> #6  0x0000000000885042 in GateGPUTransTomoActor::Construct() ()
> #7  0x00000000007fda92 in GateActorManager::CreateListsOfEnabledActors() ()
> #8  0x00000000009a8090 in GateRunManager::InitializeAll() ()
> #9  0x00007f2765395e0c in G4UIcommand::DoIt(G4String) () from 
> /usr/local/geant4/lib/libG4intercoms.so
> #10 0x00007f27653b2018 in G4UImanager::ApplyCommand(char const*) () from 
> /usr/local/geant4/lib/libG4intercoms.so
> #11 0x00007f276537fc57 in G4UIbatch::ExecCommand(G4String const&) () 
> from /usr/local/geant4/lib/libG4intercoms.so
> #12 0x00007f2765381a2e in G4UIbatch::SessionStart() () from 
> /usr/local/geant4/lib/libG4intercoms.so
> #13 0x00007f27653b2d32 in G4UImanager::ExecuteMacroFile(char const*) () 
> from /usr/local/geant4/lib/libG4intercoms.so
> #14 0x00007f27653a0499 in 
> G4UIcontrolMessenger::SetNewValue(G4UIcommand*, G4String) () from 
> /usr/local/geant4/lib/libG4intercoms.so
> #15 0x00007f2765395e0c in G4UIcommand::DoIt(G4String) () from 
> /usr/local/geant4/lib/libG4intercoms.so
> #16 0x00007f27653b2018 in G4UImanager::ApplyCommand(char const*) () from 
> /usr/local/geant4/lib/libG4intercoms.so
> #17 0x0000000000502d0e in main ()
> ===========================================================
> 
> 
> The lines below might hint at the cause of the crash.
> If they do not help you then please submit a bug report at
> http://root.cern.ch/bugs. Please post the ENTIRE stack trace
> from above as an attachment in addition to anything else
> that might help us fixing this issue.
> ===========================================================
> #5  0x00000000008870a7 in GateGPUTransTomoActor::ResetData() ()
> #6  0x0000000000885042 in GateGPUTransTomoActor::Construct() ()
> #7  0x00000000007fda92 in GateActorManager::CreateListsOfEnabledActors() ()
> #8  0x00000000009a8090 in GateRunManager::InitializeAll() ()
> #9  0x00007f2765395e0c in G4UIcommand::DoIt(G4String) () from 
> /usr/local/geant4/lib/libG4intercoms.so
> #10 0x00007f27653b2018 in G4UImanager::ApplyCommand(char const*) () from 
> /usr/local/geant4/lib/libG4intercoms.so
> #11 0x00007f276537fc57 in G4UIbatch::ExecCommand(G4String const&) () 
> from /usr/local/geant4/lib/libG4intercoms.so
> #12 0x00007f2765381a2e in G4UIbatch::SessionStart() () from 
> /usr/local/geant4/lib/libG4intercoms.so
> #13 0x00007f27653b2d32 in G4UImanager::ExecuteMacroFile(char const*) () 
> from /usr/local/geant4/lib/libG4intercoms.so
> #14 0x00007f27653a0499 in 
> G4UIcontrolMessenger::SetNewValue(G4UIcommand*, G4String) () from 
> /usr/local/geant4/lib/libG4intercoms.so
> #15 0x00007f2765395e0c in G4UIcommand::DoIt(G4String) () from 
> /usr/local/geant4/lib/libG4intercoms.so
> #16 0x00007f27653b2018 in G4UImanager::ApplyCommand(char const*) () from 
> /usr/local/geant4/lib/libG4intercoms.so
> #17 0x0000000000502d0e in main ()
> ===========================================================
> 
> Kind regards
> Jan-Nico Zaech
> 
> 
> 
> 
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
> 


More information about the Gate-users mailing list