OpenGATE / Gate

Official public repository of Gate
http://www.opengatecollaboration.org
GNU Lesser General Public License v3.0
236 stars 263 forks source link

gjs executable crash - Gate9 #630

Open ACTIVgroup opened 1 year ago

ACTIVgroup commented 1 year ago

Execution of gjs crashes with Gate9 but not with Gate8

Minimal example main.mac:

############# WORLD ###############
/gate/geometry/setMaterialDatabase ../GateMaterials.db

########### ACQUISITION ###############
/control/execute acquisition.mac

############## OUTPUT ################
/gate/output/imageCT/enable
/gate/output/imageCT/setFileName test

exit

terminal:

➜  localadmin✗ source gate_env_8.2.sh                                                 
➜  localadmin ✗ ./gjs_Gate8.2 -numberofsplits 2 -cs condor.script -v 3 main.mac
Information : using  condor as default cluster platform!
Information : using  condor as cluster platform!
Summary of all outputs:
  ROOT       output is disabled
  ASCII      output is disabled
  ARF        output is disabled
  PROJECTION output is disabled
  ECAT7      output is disabled
  SINOGRAM   output is disabled
  SINOACCEL  output is disabled
  LMF        output is disabled
  CT         output is disabled
  GPUSPECT   output is disabled
Summary of all actors:
  ~~~
Number of enabled output: 1
Number of enabled actors: 0
➜  localadmin ✗ source gate_env_9.3.sh                                         
➜  localadmin ✗ ./gjs_Gate9.3 -numberofsplits 2 -cs condor.script -v 3 main.mac
Information : using  condor as default cluster platform!
Information : using  condor as cluster platform!
Summary of all outputs:
  ROOT       output is disabled
  ASCII      output is disabled
  ARF        output is disabled
  PROJECTION output is disabled
  ECAT7      output is disabled
  SINOGRAM   output is disabled
  SINOACCEL  output is disabled
  LMF        output is disabled
  CT         output is disabled
  GPUSPECT   output is disabled
Summary of all actors:
  ~~~
Number of enabled output: 1
Number of enabled actors: 0
[1]    1417745 floating point exception (core dumped)  ./gjs_Gate9.3 -numberofsplits 2 -cs condor.script -v 3 main.mac

gate_env_8.2.sh:

#!/bin/zsh

### ROOT ###
source /home/localadmin/workspace/root/root_cxx17_install/bin/thisroot.sh

### GEANT4 ###
temp="$(pwd)"
cd /home/localadmin/workspace/geant4/geant4_10/geant4.10.05.p01_OPENGL_install/bin
source geant4.sh
cd $temp

### GATE ###
export PATH=$PATH:/home/localadmin/workspace/gate/Gate8.2-install/bin
export GC_DOT_GATE_DIR=/home/localadmin/PycharmProjects/ct-scripts/open_gate/phase_contrast
export GC_GATE_EXE_DIR=/home/localadmin/workspace/gate/Gate8.2-install/bin
export GC_EXEC=/home/localadmin/workspace/gate/Gate9.3-G4DATA-install/bin

gate_env_9.3.sh:

#!/bin/zsh

### ROOT ###
source /home/localadmin/workspace/root/root_cxx17_install/bin/thisroot.sh

### GEANT4 ###
temp="$(pwd)"
cd /home/localadmin/workspace/geant4/geant4_11.1.2/geant4-v11.1.2-DATA-install/bin
source geant4.sh
cd $temp

### GATE ###
export PATH=$PATH:/home/localadmin/workspace/gate/Gate9.3-G4DATA-install/bin
export GC_DOT_GATE_DIR=/home/localadmin/PycharmProjects/ct-scripts/open_gate/phase_contrast
export GC_GATE_EXE_DIR=/home/localadmin/workspace/gate/Gate9.3-G4DATA-install/bin
export GC_EXEC=/home/localadmin/workspace/gate/Gate9.3-G4DATA-install/bin

Additional context

ACTIVgroup commented 1 year ago

in gate_env_8.2.sh the last line should be with Gate8.2, sorry. Same problem after correction ;)

Lsman0211 commented 5 months ago

did you solve this problem?

ACTIVgroup commented 4 months ago

nope...

jasqs commented 4 months ago

The same problem for me. Does anyone have a solution?