Message: Re: Running Examples gives Fatal Error, see Below Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Running Examples gives Fatal Error, see Below 

Forum: Run Management
Re: Question Running Examples gives Fatal Error, see Below (Maluba Vernon)
Date: 05 Feb, 2014
From: Paul Nicholas Colin Gloster <Paul Nicholas Colin Gloster>

On 3rd February 2014, Maluba Vernon sent:
|------------------------------------------------------------------------|
|"Hi, I will greatly appreciate help on the following "Fatal error":     |
|                                                                        |
|maluba@maluba-Satellite-C850-F32Z :~$ cd Geant4.10/B1-build/            |
|maluba@maluba-Satellite-C850-F32Z :~/Geant4.10/B1-build$ ls             |
|CMakeCache.txt exampleB1 init.mac run1.mac CMakeFiles exampleB1.in      |
|init_vis.mac run2.mac cmake_install.cmake exampleB1.out Makefile vis.mac|
|maluba@maluba-Satellite-C850-F32Z :~/Geant4.10/B1-build$ ./exampleB1    |
|                                                                        |
|*************************************************************           |
| Geant4 version Name: geant4-10-00    (6-December-2013)                 |
|                      Copyright : Geant4 Collaboration                  |
|                      Reference : NIM A 506 (2003), 250-303             |
|                            WWW : http://cern.ch/geant4                 |
|*************************************************************           |
|                                                                        |
|-------- EEEE ------- G4Exception-START -------- EEEE -------           |
|*** G4Exception : PhysicsLists002                                       |
|      issued by : G4DataQuestionaire                                    |
|                                                                        |
|Low energy electromagnetic data are needed. This is a NEW requirement   |
|for standard EM physics since geant4 9.5. Please set the environmental  |
|variable G4LEDATA to point to your G4EMLOW directory. Note: EMLOW6.23 or|
|above is needed for Bremsstrahlung data. Data are available from the    |
|Geant4 download page.                                                   |
|                                                                        |
|Photon-evaporation data are needed. Please set the environmental        |
|variable G4LEVELGAMMADATA to point to your PhotonEvaporation directory. |
|Data are available from the Geant4 download page.                       |
|                                                                        |
|G4NEUTRONXS are needed. Please set the environmental variable           |
|G4NEUTRONXSDATA to point to your G4NEUTRONXS directory. Data are        |
|available from the Geant4 download page.                                |
|                                                                        |
|*** Fatal error: Missing mandatory data for this simulation engine ***  |
|                                                                        |
|*** Fatal Exception *** core dump *** -------- EEEE --------            |
|G4Exception-END --------- EEEE -------                                  |
|                                                                        |
|*** G4Exception: Aborting execution *** Aborted (core dumped)           |
|maluba@maluba-Satellite-C850-F32Z :~/Geant4.10/B1-build$                |
|                                                                        |
|I have successfully installed and reinstalled Geant4.9 (also Geant4.10  |
|now) several times, but this problem have not gone away. The only time I|
|have successfully run an example (B1 to be specific) is after           |
|reinstalling Ubuntu on my laptop (which I have done thrice in a period  |
|of 6months).                                                            |
|                                                                        |
|It's complaining about data files, which I have ensured are present in  |
|maluba@maluba-Satellite-C850-F32Z                                       |
|:~/Geant4.10/geant4.10.00-install/share/Geant4-10.0.0/data$.            |
|                                                                        |
|I am a newbie with Geant4, and have seen (have even posted on this forum|
|before) a lot of people complaining about problem similar to this one on|
|the forums, but solutions seems to be computer/OS/and Installation      |
|specific.                                                               |
|                                                                        |
|Your help will be much appreciated. If it's necessary, I am running     |
|Geant4 in Ubuntu 12.04.3, and also use the cmake-curseses-gui (ccmake). |
|                                                                        |
|Thank you."                                                             |
|------------------------------------------------------------------------|

Hi,

It is not sufficient to install Geant and the data. As the error
messages clearly stated, you need to set environment variables, for
example:
|-------------------------------------------------------------|
|"[. . .]                                                     |
|[. . .] Please set the environmental                         |
|variable G4LEDATA to point to your G4EMLOW directory. [. . .]|
|[. . .]"                                                     |
|-------------------------------------------------------------|
You did not do this. You installed Geant. Installing Geant is not
doing this. You installed the data. Installing the data is not doing
this. How is the program supposed to know where you installed the
data? By doing this. For example:
on a bash command line:
export G4LEDATA=/where/you/installed/the/G4EMLOW/data

Yours sincerely,
Colin Paul Gloster

 Add Message Add Message
to: "Re: Running Examples gives Fatal Error, see Below"

 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 ]