| 查看: 1126 | 回复: 7 | ||
| 【奖励】 本帖被评价6次,作者zxzj05增加金币 5 个 | ||
| 当前主题已经存档。 | ||
| 当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖 | ||
[资源]
【资源】abinit安装详解
|
||
|
The build system of ABINIT 5.5 A definitive guide Yann Pouillon Draft version - December 2, 2007 Contents I Users 1 1 Overview of the build system 3 1.1 Main objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.2 Underlying concepts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 2 The configure script 5 2.1 Running configure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 2.2 Compiler options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 2.3 MPI options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 2.4 External libraries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2.5 Other options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 2.6 Options provided by Autoconf . . . . . . . . . . . . . . . . . . . . . . . . . . 10 2.7 Environment variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 2.8 The configuration process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 II Developers 17 3 Preprocessing macros 19 3.1 Propagating information to the source code . . . . . . . . . . . . . . . . . . . 19 3.2 Naming conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 3.3 If statements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 3.4 Preprocessing macros of ABINIT 5 . . . . . . . . . . . . . . . . . . . . . . . 20 3.4.1 Generic macros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 3.4.2 Architecture-related macros . . . . . . . . . . . . . . . . . . . . . . . 20 3.4.3 Optional library macros . . . . . . . . . . . . . . . . . . . . . . . . . 21 3.4.4 MPI macros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 3.4.5 Compiler macros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 3.4.6 Fortran-specific macros . . . . . . . . . . . . . . . . . . . . . . . . . . 22 3.4.7 Renamed macros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 3.4.8 Unmaintained macros . . . . . . . . . . . . . . . . . . . . . . . . . . 23 3.4.9 Removed macros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 i ii Contents 4 Adding external libraries / plug-ins 25 4.1 Overall procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 4.2 The library makefile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 4.3 Fine-tuning abinit.amf . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 III Maintainers 29 5 Extending the build system 31 5.1 Prerequisites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 5.2 Adding scripts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 5.3 Adding M4 macros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 5.4 Editing configure.ac . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 http://www.namipan.com/d/build-s ... a5353b110bd7f8d0100 [ Last edited by zxzj05 on 2009-3-10 at 15:08 ] |
» 猜你喜欢
酰胺脱乙酰基
已经有9人回复
有时候真觉得大城市人没有县城人甚至个体户幸福
已经有3人回复
CSC & MSCA 博洛尼亚大学能源材料课题组博士/博士后招生|MSCA经费充足、排名优
已经有5人回复
有70后还继续奋斗在职场上的吗?
已经有6人回复
博士延得我,科研能力直往上蹿
已经有7人回复
退学或坚持读
已经有27人回复
面上基金申报没有其他的参与者成吗
已经有5人回复
遇见不省心的家人很难过
已经有22人回复
5楼2009-03-10 15:08:56
4楼2009-03-05 15:17:59
6楼2009-07-16 21:44:38
简单回复
zdhlover2楼
2009-02-13 20:42
回复
[ Last edited by zdhlover on 2009-2-13 at 21:57 ]













回复此楼