Status: RESOLVED INVALID
Alias: None
Product: Geant4
Classification: Unclassified
Component: config (show other problems)
Version: 7.1
Hardware: PC Linux
: P2 normal
Assignee: Gabriele Cosmo
URL:
: 790 (view as problem list)
Depends on:
Blocks:
 
Reported: 2005-08-29 00:43 CEST by ic02
Modified: 2005-08-29 02:56 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
Description ic02 2005-08-29 00:43:16 CEST
Dear all,
 I am currently installing the toolkit using a user specified config script
config.sh
Within this script I have specified the locations of all data libraries. When I
run the Configure script with
$ ./Configure -f config.sh -build

It appears that the config.sh file is read, as at the stage below the default
variables appear to be correct

Please, specify default directory where ALL the Geant4 data is installed:

 G4LEVELGAMMADATA:              /usr/local/geant4/data/PhotonEvaporation2.0

 G4RADIOACTIVEDATA:             /usr/local/geant4/data/RadiativeDecay3.0

 G4LEDATA:                      /usr/local/geant4/data/G4EMLOW3.0

 NeutronHPCrossSections:        /usr/local/geant4/data/G4NDL3.7

 G4ELASTICDATA:                 /usr/local/geant4/data/G4ELASTIC1.1

You will be asked about customizing these next.
[/usr/local/geant4/data]





Then in the next step, it appears as though some variables have been reset
to the original defaults.






Please, specify default directory where the Geant4 data is installed:

1) G4LEVELGAMMADATA:            /usr/local/geant4/data/PhotonEvaporation

2) G4RADIOACTIVEDATA:           /usr/local/geant4/data/RadiativeDecay

3) G4LEDATA:                    /usr/local/geant4/data/G4EMLOW3.0

4) NeutronHPCrossSections:      /usr/local/geant4/data/G4NDL3.7

5) G4ELASTICDATA:               /usr/local/geant4/data/G4ELASTIC1.1

To modify default settings, select number above (e.g. 2)
[Press [Enter] for default settings]




Thus when I build the toolkit, the environmental vaiables G4LEVELGAMMADATA
and G4RADIOACTIVEDATA are set incorrectly.

One could resolve this by: 1. changing the default values of these variables to
include the version numbers or 2. edit the Configure script so that it
does not reset these variables between the above 2 steps of the
configuration/installation process
Comment 1 Gabriele Cosmo 2005-08-29 02:21:59 CEST
You should NOT run the Configure script in the way you're doing:
  ./Configure -f config.sh -build
It is NOT necessary, since Configure 'remembers' as default the values specified
in a previously attempted installation.
Use the standard installation procedure as specified in the documentation:
  ./Configure -build
  ./Configure -install
  ./Configure
Note that the paths to data are not necessary at the time of the compilation
and installation of the libraries, they're only necessary at run-time and they
must be correct in the env[.sh.csh] scripts generated at the end of the
installation process.
Comment 2 Gabriele Cosmo 2005-08-29 02:56:59 CEST
*** Bug 790 has been marked as a duplicate of this bug. ***
*** 'Gabriele.Cosmo@cern.ch' will be responsible for bug 790. ***