Message: Re: Example N03 - Environment Variable G4LEDATA not defined *** Fatal Exception *** core dump *** Error Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Example N03 - Environment Variable G4LEDATA not defined *** Fatal Exception *** core dump *** Error  

Forum: Documentation and Examples
Re: Question Example N03 - Environment Variable G4LEDATA not defined *** Fatal Exception *** core dump *** Error (Ben Hug)
Date: 19 Dec, 2012
From: Paul Nicholas Colin Gloster <Paul Nicholas Colin Gloster>

Ben Hug sent:
|-----------------------------------------------------------------------|
|"Hi All,                                                               |
|                                                                       |
|Having a few troubles getting examples N03 to run. The example 'makes' |
|OK and then when you run the example (./exampleN03) and then go        |
|/run/beamOn 10 for example the following error is produced:            |
|                                                                       |
|"***G4Exception : em0006 issued by G4SeltzerBergerModel::ReadData()    |
|Environment variable G4LEDATA not defined *** Fatal Exception *** core |
|dump *** "                                                             |
|                                                                       |
|I am using Geant 4.9.6 installed on a mac but will also be using the   |
|simulations built on the mac to run on a RedHat server..               |
|                                                                       |
|Has anyone got any ideas how to solve this problem, have read the other|
|threads about this problem but none seem to make sense to me.. very    |
|basic Geant4 knowledge here.. only a novice!!                          |
|                                                                       |
|Thanks In Advance,                                                     |
|                                                                       |
|Cheers                                                                 |
|                                                                       |
|Ben"                                                                   |
|-----------------------------------------------------------------------|

On
HTTP://Geant4.CERN.CH/support/download.shtml
click on the button for
"Data files for low energy electromagnetic processes - version 6.32 (16.9Mb, 
17724068 bytes)".
This is an additional file which is used by exampleN03 but which is not used by 
Geant by default.

Extract the files from it (for example by using the command
tar -zxf G4EMLOW.6.32.tar.gz
). There should now be a directory called /somewhere/G4EMLOW6.32
(probably something other than "somewhere").

Set an environment variable like so:
export G4LEDATA=/somewhere/G4EMLOW6.32

Then try running  exampleN03

Good luck!

Yours sincerely,
Paul Colin de Gloucester

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

1 Feedback: Re: Example N03 - Environment Variable G4LEDATA not defined *** Fatal Exception *** core dump *** Error   (Ben Hug - 19 Dec, 2012)
 Add Message Add Message
to: "Re: Example N03 - Environment Variable G4LEDATA not defined *** Fatal Exception *** core dump *** Error "

 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 ]