- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
安装geant4
安装geant4(一)
2009年05月21日 星期四 下午 05:49
安装编译环境和OpenGL图形驱动,为安装geant4做基础准备。1、安装基本编译环境sudo apt-get install build-essential2、安裝OpenGL Librarysudo apt-get install libgl1-mesa-dev3、安裝OpenGL Utilitiessudo apt-get install libglu1-mesa-devOpenGL Utilities 是一組建構於 OpenGL Library 之上的工具組,提供許多很方便的函式,使 OpenGL 更強大且更容易使用。4、安装sudo apt-get install libxt-dev不装这个包在编译geant4时会报error: X11/Intrinsic.h: No such file or directory的错误。5、打开新立得软件包管理器,查找libxmu。把找到的七项全装上。否则编译geant4时会遇到如下错 误:include/G4OpenGLXViewer.hh:46:29: error: X11/Xmu/StdCmap.h: No such file or directory原因可能是默认安装的libxmu相关包都不是dev版(develop),所以在系统中没有头文件。三、geant4安装geant4官方网站安装方法安装:example:clhep-.tgz
Put clhep-.tgz into your directory of choice, such as:
~/CLHEP
Navigate to this directory and unpack the file:
cd ~/CLHEP
tar -zxvf clhep-.tgz
The unpacking process will begin, starting with:
/
/CLHEP/
/CLHEP/CVS/
/CLHEP/CVS/Root
/CLHEP/CVS/Repository
And ending with:
/CLHEP/install-sh
/CLHEP/config.guess
/CLHEP/config.sub
/CLHEP/Makefile.in
/CLHEP/configure
For the following step, note that there are two dashes in a row before the word prefix.
Also note that for this command you should use the absolute path for your CLHEP, such as:
/u/ey/perl/CLHEP
rather than a relative path, such as:
~/CLHEP
And be sure to point to your top level CLHEP directory, NOT:
/u/ey/perl/CLHEP//CLHEP
Now navigate into the unpacked directory and begin the configuration process.
Of course, substitute your actual CLHEP path here:
cd /CLHEP
./configure --prefix /u/ey/perl/CLHEP
Run the build process:
make
Finally, move the build products to their installation area:
make install
You will now have directories such as:
~/CLHEP/include
and
~/CLHEP/lib
Youre done setting up CLHEP. 安装geant4(二)
2009年05月21日 星期四 下午 05:56
Getting Geant4
Put it into your directory of choice, such as:
~/geant4
Navigate to this directory and unpack the file:
cd ~/geant4
tar -zxvf geant4.9.0.tar.gz
Depending on the physics of your particular application, you may need
原创力文档


文档评论(0)