Message: Re: environment variable G4LEDATA not defined Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Idea Re: environment variable G4LEDATA not defined 

Forum: Installation and Configuration
Re: Question environment variable G4LEDATA not defined (Julien Zhu)
Date: 14 Nov, 2012
From: Ben Morgan <Ben Morgan>

Hi Julien,

On Tue, 13 Nov 2012 03:33:19 GMT, Julien Zhu wrote:
>     Current I have two method to sovle:
> 1, export G4LEDATA=/home/.../G4EMLOW6.23
> 2, source /home/geant4/geant4.9.5-install/bin/
> However I have to input this command every time if I load the terminal.
> dose any body know how to fix this problem? I don't want to input these
> command in each time. that is boring!

There are, I think, two ways around this:

  • You can place the source command in your shell profile or rc file (depending on how you prefer to configure these).
  • You can write a small shell script that, when executed, runs the source command followed by the application itself.

Hope that helps,


 Add Message Add Message
to: "Re: environment variable G4LEDATA not defined"

 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 ]