No map file neutrons.map

Hi. I’vs installed GEANT4 latest version. Installation was done successfully, but when I’m running Hadr03 example program dumped with next message

"No map file /home/sergey/Документы/GEANT4/geant4.10.07-install/share/Geant4-10.7.1/data/LEND_GND1.3_ENDF.BVII.1/neutrons.map

At line 115 of /home/sergey/Документы/GEANT4/geant4.10.07.p01/source/processes/hadronic/models/lend/src/MCGIDI_map.cc in function MCGIDI_map_readFile
terminate called after throwing an instance of ‘int’ "

How solve this problem ?

similar to the required postinstall configurations,
https://geant4-userdoc.web.cern.ch/UsersGuides/InstallationGuide/html/postinstall.html#environment-variables-for-datasets

it seems you are missing the LEND_GND1.3 Dataset. Can you try installing the data
ftp://gdo-nuclear.ucllnl.org/LEND_GND1.3/

1 Like

No, I’ve installed all environment variables via the terminal.

Is the file /home/sergey/Документы/GEANT4/geant4.10.07-install/share/Geant4-10.7.1/data/LEND_GND1.3_ENDF.BVII.1/neutrons.map present at that location, and if so, what permissions does it have?

Sorry. I was inattentive. I have not downloaded this folder. But now when I want download it through link that you upload the link doesn’t open by Firefox. How can I open it other way ?

wget ftp://gdo-nuclear.ucllnl.org/LEND_GND1.3/LEND_GND1.3_ENDF.BVII.1.tar.gz
2 Likes

It’s also possible to use the geant4-config script to download and install, e.g.

$ /home/sergey/Документы/GEANT4/geant4.10.07-install/bin/geant4-config --install-datasets
1 Like

not sure about this:

also the 10.7.2/geant4-config on my machine does not have LEND in it:

dataset_list=$(awk 'BEGIN { n = split( "G4NDL|G4NEUTRONHPDATA|/usr/local/Cellar/geant4/10.7.2/share/Geant4-10.7.2/data/G4NDL4.6|G4NDL.4.6.tar.gz|d07e43499f607e01f2c1ce06d7a09f3e;G4EMLOW|G4LEDATA|/usr/local/Cellar/geant4/10.7.2/share/Geant4-10.7.2/data/G4EMLOW7.13|G4EMLOW.7.13.tar.gz|55922521aa331655a0494cdf8f9a70e8;PhotonEvaporation|G4LEVELGAMMADATA|/usr/local/Cellar/geant4/10.7.2/share/Geant4-10.7.2/data/PhotonEvaporation5.7|G4PhotonEvaporation.5.7.tar.gz|81ff27deb23af4aa225423e6b3a06b39;RadioactiveDecay|G4RADIOACTIVEDATA|/usr/local/Cellar/geant4/10.7.2/share/Geant4-10.7.2/data/RadioactiveDecay5.6|G4RadioactiveDecay.5.6.tar.gz|acc1dbeb87b6b708b2874ced729a3a8f;G4PARTICLEXS|G4PARTICLEXSDATA|/usr/local/Cellar/geant4/10.7.2/share/Geant4-10.7.2/data/G4PARTICLEXS3.1.1|G4PARTICLEXS.3.1.1.tar.gz|98b766fa2c447b541834cc9bf5206c05;G4PII|G4PIIDATA|/usr/local/Cellar/geant4/10.7.2/share/Geant4-10.7.2/data/G4PII1.3|G4PII.1.3.tar.gz|05f2471dbcdf1a2b17cbff84e8e83b37;RealSurface|G4REALSURFACEDATA|/usr/local/Cellar/geant4/10.7.2/share/Geant4-10.7.2/data/RealSurface2.2|G4RealSurface.2.2.tar.gz|ea8f1cfa8d8aafd64b71fb30b3e8a6d9;G4SAIDDATA|G4SAIDXSDATA|/usr/local/Cellar/geant4/10.7.2/share/Geant4-10.7.2/data/G4SAIDDATA2.0|G4SAIDDATA.2.0.tar.gz|d5d4e9541120c274aeed038c621d39da;G4ABLA|G4ABLADATA|/usr/local/Cellar/geant4/10.7.2/share/Geant4-10.7.2/data/G4ABLA3.1|G4ABLA.3.1.tar.gz|180f1f5d937733b207f8d5677f76296e;G4INCL|G4INCLDATA|/usr/local/Cellar/geant4/10.7.2/share/Geant4-10.7.2/data/G4INCL1.0|G4INCL.1.0.tar.gz|85fe937b6df46d41814f07175d3f5b51;G4ENSDFSTATE|G4ENSDFSTATEDATA|/usr/local/Cellar/geant4/10.7.2/share/Geant4-10.7.2/data/G4ENSDFSTATE2.3|G4ENSDFSTATE.2.3.tar.gz|6f18fce8f217e7aaeaa3711be9b2c7bf", array, ";"); for (i=1;i<=n;i++) { print array[i]; } }')

On the download page, geant4.web.cern.ch, it is an easy to miss bulletpoint:

so indeed this dataset seems to be different from the others.

Maybe it would be a nice feedback to the developers/maintainers of the hadronic examples to include a short note in the appropriate readme that the dataset needs to be downloaded manually.

1 Like

Thanks @weller, and apologies I missed that. I’ll make a note to add the ability to download LEND in geant4-config and update the docs.

Thank you very much. Anything now is working excellent.

1 Like