level 9
yuganziqin
楼主
正在学习geant4,使用cmake安装geant4,但现在出现如下问题,可我找了一圈没有发现/usr/local/share/Geant4-10.3.0/data这个目录,是需自己建一个文件夹吗?真是相当困惑。
*WARNING*
Geant4has been pre-configured to look for datasets
inthe directory:
/usr/local/share/Geant4-10.3.0/data
butthe following datasets are NOT present on disk at
thatlocation:
G4NDL(4.5)
G4EMLOW(6.50)
PhotonEvaporation(4.3)
RadioactiveDecay(5.1)
G4NEUTRONXS(1.4)
G4PII(1.3)
RealSurface(1.0)
G4SAIDDATA(1.1)
G4ABLA(3.0)
G4ENSDFSTATE(2.1)
Ifyou want to have these datasets installed automatically
simplyre-run cmake and set the GEANT4_INSTALL_DATA
variableto ON. This will configure the build to download
andinstall these datasets for you. For example, on the
commandline, do:
cmake-DGEANT4_INSTALL_DATA=ON <otherargs>
Thevariable can also be toggled in ccmake or cmake-gui.
Ifyou're running on a Windows system, this is the best
solutionas CMake will unpack the datasets for you
withoutany further software being required
Alternatively,you can install these datasets manually
nowor after you have installed Geant4. To do this,
downloadthe following files:
http://geant4.cern.ch/support/source/G4NDL.4.5.tar.gz
http://geant4.cern.ch/support/source/G4EMLOW.6.50.tar.gz
http://geant4.cern.ch/support/source/G4PhotonEvaporation.4.3.tar.gz
http://geant4.cern.ch/support/source/G4RadioactiveDecay.5.1.tar.gz
http://geant4.cern.ch/support/source/G4NEUTRONXS.1.4.tar.gz
http://geant4.cern.ch/support/source/G4PII.1.3.tar.gz
http://geant4.cern.ch/support/source/RealSurface.1.0.tar.gz
http://geant4.cern.ch/support/source/G4SAIDDATA.1.1.tar.gz
http://geant4.cern.ch/support/source/G4ABLA.3.0.tar.gz
http://geant4.cern.ch/support/source/G4ENSDFSTATE.2.1.tar.gz
andunpack them under the directory:
/usr/local/share/Geant4-10.3.0/data
Aswe supply the datasets packed in gzipped tar files,
youwill need the 'tar' utility to unpack them.
Notabene: Missing datasets will not affect or break
compilationand installation of the Geant4
libraries.
2016年12月30日 03点12分
1
*WARNING*
Geant4has been pre-configured to look for datasets
inthe directory:
/usr/local/share/Geant4-10.3.0/data
butthe following datasets are NOT present on disk at
thatlocation:
G4NDL(4.5)
G4EMLOW(6.50)
PhotonEvaporation(4.3)
RadioactiveDecay(5.1)
G4NEUTRONXS(1.4)
G4PII(1.3)
RealSurface(1.0)
G4SAIDDATA(1.1)
G4ABLA(3.0)
G4ENSDFSTATE(2.1)
Ifyou want to have these datasets installed automatically
simplyre-run cmake and set the GEANT4_INSTALL_DATA
variableto ON. This will configure the build to download
andinstall these datasets for you. For example, on the
commandline, do:
cmake-DGEANT4_INSTALL_DATA=ON <otherargs>
Thevariable can also be toggled in ccmake or cmake-gui.
Ifyou're running on a Windows system, this is the best
solutionas CMake will unpack the datasets for you
withoutany further software being required
Alternatively,you can install these datasets manually
nowor after you have installed Geant4. To do this,
downloadthe following files:
http://geant4.cern.ch/support/source/G4NDL.4.5.tar.gz
http://geant4.cern.ch/support/source/G4EMLOW.6.50.tar.gz
http://geant4.cern.ch/support/source/G4PhotonEvaporation.4.3.tar.gz
http://geant4.cern.ch/support/source/G4RadioactiveDecay.5.1.tar.gz
http://geant4.cern.ch/support/source/G4NEUTRONXS.1.4.tar.gz
http://geant4.cern.ch/support/source/G4PII.1.3.tar.gz
http://geant4.cern.ch/support/source/RealSurface.1.0.tar.gz
http://geant4.cern.ch/support/source/G4SAIDDATA.1.1.tar.gz
http://geant4.cern.ch/support/source/G4ABLA.3.0.tar.gz
http://geant4.cern.ch/support/source/G4ENSDFSTATE.2.1.tar.gz
andunpack them under the directory:
/usr/local/share/Geant4-10.3.0/data
Aswe supply the datasets packed in gzipped tar files,
youwill need the 'tar' utility to unpack them.
Notabene: Missing datasets will not affect or break
compilationand installation of the Geant4
libraries.