Problem 1037

Summary: Problem with configuration files?
Product: Geant4 Reporter: farnea
Component: configAssignee: Ben Morgan <Ben.Morgan>
Status: CLOSED FIXED    
Severity: normal    
Priority: P1    
Version: other   
Hardware: Other   
OS: Linux   
URL: http://agata.pd.infn.it

Description farnea 2008-12-21 17:27:36 CET
Installing the new version (4.9.2), there is some problem
with the env.sh or env.csh files. The messages is get are:

On this machine the G4LEVELGAMMADATA=/usr/local/geant4_9_2/data/G4ABLA3.0
On this machine the G4RADIOACTIVEDATA=/usr/local/geant4_9_2/data/RadioactiveDecay3.2
On this machine the G4LEDATA=/usr/local/geant4_9_2/data/
On this machine the G4NEUTRONHPDATA=/usr/local/geant4_9_2/data/G4NDL3.13
On this machine the G4ABLADATA=/usr/local/geant4_9_2/data/G4ABLA3.0

meaning that the data files for the low-energy EM interactions
cannot be found, as confirmed running my application:

G4DopplerProfile::LoadBiggsP data file: /usr/local/geant4_9_2/data//doppler/p-biggs.dat not found

*** G4Exception: Aborting execution ***
Abort

If line 118 of my env.csh file is modified from:

#+
if ( X/usr/local/geant4_9_2/data/ != X ) then
setenv G4LEDATA "/usr/local/geant4_9_2/data/"
echo "On this machine the G4LEDATA=$G4LEDATA"
endif#+

to:

if ( X/usr/local/geant4_9_2/data/ != X ) then
setenv G4LEDATA "/usr/local/geant4_9_2/data/G4EMLOW6.2"
echo "On this machine the G4LEDATA=$G4LEDATA"
endif

the problem is solved.

                           Ciao, Enrico
Comment 1 Ben Morgan 2008-12-22 19:47:14 CET
Hi Enrico,

Could you let me know *exactly* the steps you followed in the data configuration part of running Configure please?

This is a WORKSFORME at the moment, so I need to know what steps you took so that I can try and reproduce this!

Cheers,

Ben.
Comment 2 Ben Morgan 2008-12-23 16:07:31 CET
O.k., tracked this down to a typo in the section where the data library paths are detected and set automatically. It's now fixed in CVS.

If you want to fix it directly in the 9.2 release version of Configure, the error is on line 3220, and you need to replace

                g4ledata=$g4data/$g4data_emlow_version

with:

                g4ledata=$g4data/$g4data_g4emlow_version

Sorry for the inconveniance!

Cheers,

Ben.