Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gjs executable crash - Gate9 #630

Open
ACTIVgroup opened this issue Jul 20, 2023 · 4 comments
Open

gjs executable crash - Gate9 #630

ACTIVgroup opened this issue Jul 20, 2023 · 4 comments

Comments

@ACTIVgroup
Copy link

Execution of gjs crashes with Gate9 but not with Gate8

  • OS: Ubuntu 20.04,
  • Gate versions: v8.2, v9.0, v9.1, v9.3
  • Geant4 versions: 10.05.p01, 10.6.3, 10.7.4, 11.1.2
  • Root version: v6-26-06
  • compiler version: gcc 9.4.0

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

  • Problem occurs with bash and zsh
  • Problem also occurs with Gate9.0 and Gate9.1
  • Problem occurs with all my other (complete) .mac files
  • Geant4 was installed with flags -DGEANT4_INSTALL_DATA=ON -DGEANT4_BUILD_MULTITHREADED=OFF
@ACTIVgroup
Copy link
Author

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

@Lsman0211
Copy link

Lsman0211 commented May 29, 2024

did you solve this problem?

@ACTIVgroup
Copy link
Author

nope...

@jasqs
Copy link

jasqs commented Jun 14, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants