Problem 966 - Missing data files for NeutronHP
Summary: Missing data files for NeutronHP
Status: RESOLVED INVALID
Alias: None
Product: Geant4
Classification: Unclassified
Component: processes/hadronic/models/neutron_hp (show other problems)
Version: 9.0
Hardware: PC Linux
: P3 normal
Assignee: tkoi
URL:
Depends on:
Blocks:
 
Reported: 2007-08-30 18:10 CEST by Johnny Goett
Modified: 2007-09-07 03:29 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 Johnny Goett 2007-08-30 18:10:29 CEST
We are in the process of migrating our geant based simulation for 4.8.3 to 4.9.0.
Compilation runs smoothly, however some troubling errors appear at runtime with 4.9.0 that are not present with 4.8.3:

....
[geant] =I= LogG4dyb.cc : 22            | NeutronHP: /Inelastic file for Z = 1, A = 1 is not found and NeutronHP will use /noosphere/g4data//G4NDL3.11/Inelastic//CrossSection/1_2_Hydrogen
[geant] =I= LogG4dyb.cc : 22            | NeutronHP: /Capture file for Z = 6, A = 13 is not found and NeutronHP will use /noosphere/g4data//G4NDL3.11/Capture//CrossSection/6_nat_Carbon
[geant] =I= LogG4dyb.cc : 22            | NeutronHP: /Elastic file for Z = 6, A = 13 is not found and NeutronHP will use /noosphere/g4data//G4NDL3.11/Elastic//CrossSection/6_nat_Carbon
....

We are using data set G4NDL3.11 as above for both 4.8.3 and 4.9.0 based executables. Running strace at runtime indicates that the corresponding system calls are being handled differently with the two versions, for example....

4.8.3:
open("/noosphere/g4data/G4NDL3.11/Elastic///CrossSection/8_17_Oxygen", O_RDONLY|O_LARGEFILE) = 12
read(12, "           2\n           0\n      "..., 8191) = 729
close(12)                               = 0

4.9.0:
open("/noosphere/g4data//G4NDL3.11/Elastic//CrossSection/8_17_Oxygen", O_RDONLY|O_LARGEFILE) = 12
write(1, "[geant] =I= \33[0mNeutronHP: /Elas"..., 160) = 160
write(1, "\33[0m", 4)                   = 4
write(7, "[geant] =I= LogG4dyb.cc : 22    "..., 186) = 186
close(12)

I have been unable to locate where this call is made in the source code and thus cannot tell if the new messages are intended as informational or more substantial.

thanks,
Johnny
Comment 1 tkoi 2007-09-07 03:29:13 CEST
Neutron HP Models and Cross Sections need data file which basically prepared for each isotope. And if an exact data file is not available in the library(G4NDL), then a data file which has relatively close A and Z might be used in calculation.
In this case the "warning" message will appear.
The messages you got are this warnings.
This feature is added in v9.0, so that you do not get the messages in v8.3.
(Usage of substituted data files was happened implicitly until v8.3.)

Tatsumi