Message: Segmentation fault while running example B1 Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Segmentation fault while running example B1 

Forum: Installation and Configuration
Date: 26 Jul, 2018
From: Aqsa <Aqsa>

Thank you all for helping me through my installation of GEANT4

I successfully installed geant4 by using following cmake and make commands

         cmake -DCMAKE_INSTALL_PREFIX=/home/aqsa/Downloads/GEANT4/geant4.10.04.p02-build -DGEANT4_INSTALL_DATA=OFF -DGEANT4_INSTALL_DATADIR=/home/aqsa/Downloads/GEANT4_DATA_FILES/G4ENSDFSTATE2.2 -DGEANT4_INSTALL_DATADIR=/home/aqsa/Downloads/GEANT4_DATA_FILES/G4ABLA3.1 -DGEANT4_INSTALL_DATADIR=/home/aqsa/Downloads/GEANT4_DATA_FILES/G4NDL4.5 -DGEANT4_INSTALL_DATADIR=/home/aqsa/Downloads/GEANT4_DATA_FILES/G4NEUTRONXS1.4 -DGEANT4_INSTALL_DATADIR=/home/aqsa/Downloads/GEANT4_DATA_FILES/G4EMLOW7.3 -DGEANT4_INSTALL_DATADIR=/home/aqsa/Downloads/GEANT4_DATA_FILES/G4PII1.3 -DGEANT4_INSTALL_DATADIR=/home/aqsa/Downloads/GEANT4_DATA_FILES/G4SAIDDATA1.1 -DGEANT4_INSTALL_DATADIR=/home/aqsa/Downloads/GEANT4_DATA_FILES/G4TENDL1.3.2 -DGEANT4_INSTALL_DATADIR=/home/aqsa/Downloads/GEANT4_DATA_FILES/PhotonEvaporation5.2 -DGEANT4_INSTALL_DATADIR=/home/aqsa/Downloads/GEANT4_DATA_FILES/RadioactiveDecay5.2 -DGEANT4_INSTALL_DATADIR=/home/aqsa/Downloads/GEANT4_DATA_FILES/RealSurface2.1.1 -DGEANT4_USE_QT=ON -DGEANT4_USE_OPENGL_X11=ON -DGEANT4_USE_RAYTRACER_X11=ON -DGEANT4_USE_GDML=ON -DGEANT4_USE_SYSTEM_CLHEP=OFF -DGEANT4_USE_SYSTEM_EXPAT=OFF -DGEANT4_BUILD_MULTITHREADED= ON -DGEANT4_USE_G3TOG4=ON -DGEANT4_INSTALL_DATA_TIMEOUT=3600 /home/aqsa/Downloads/GEANT4/geant4.10.04.p02

         make

Now when I am trying to run the example B1 I am getting the following error.

        ./exampleB1 
         Available UI session types: [ Qt, GAG, tcsh, csh ]
         Segmentation fault (core dumped)

I am unable to understand what might be wrong with my GEANT4 since this error does not contain any information about the cause of core dumped.

I had used the following commands to build and run example B1

         cmake -DCMAKE_PREFIX_PATH=/home/aqsa/Downloads/GEANT4/geant4.10.04.p02-build ../B1

         make
         ./examplesB1

I would mention the qmake version, just in case needed,

         QMake version 2.01a
         Using Qt version 4.8.7 in /usr/lib64

OS : CentOS 7, gcc 4.8.5, cmake version 3.12.0

Kindly Help.

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 Note: Re: Segmentation fault while running example B1   (Ben Morgan - 30 Jul, 2018)
(_ None: Re: Segmentation fault while running example B1   (Aqsa - 30 Jul, 2018)
(_ None: Re: Segmentation fault while running example B1   (Aqsa - 06 Aug, 2018)
1 Feedback: Re: Segmentation fault while running example B1   (Ben Morgan - 07 Aug, 2018)
1 Ok: Re: Segmentation fault while running example B1   (Aqsa - 08 Aug, 2018)
2 None: Re: Segmentation fault while running example B1   (Ferran - 22 Oct, 2018)
1 None: Re: Segmentation fault while running example B1   (Aqsa - 23 Oct, 2018)
 Add Message Add Message
to: "Segmentation fault while running example B1"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]