Problem 1037 - Problem with configuration files?
Summary: Problem with configuration files?
Status: CLOSED FIXED
Alias: None
Product: Geant4
Classification: Unclassified
Component: config (show other problems)
Version: other
Hardware: Other Linux
: P1 normal
Assignee: Ben Morgan
URL: http://agata.pd.infn.it
Depends on:
Blocks:
 
Reported: 2008-12-21 17:27 CET by farnea
Modified: 2008-12-23 16:07 CET (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
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.