| 查看: 1145 | 回复: 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 ] |
» 猜你喜欢
球磨粉体时遇到了大的问题,请指教!
已经有15人回复
过年走亲戚时感受到了所开私家车的鄙视链
已经有5人回复
情人节自我反思:在爱情中有过遗憾吗?
已经有5人回复
江汉大学解明教授课题组招博士研究生/博士后
已经有3人回复
4楼2009-03-05 15:17:59
5楼2009-03-10 15:08:56
6楼2009-07-16 21:44:38
7楼2009-10-09 00:17:46
简单回复
zdhlover2楼
2009-02-13 20:42
回复
[ Last edited by zdhlover on 2009-2-13 at 21:57 ]
狼狼乾坤3楼
2009-02-19 10:04
回复



2009-12-29 14:47
回复















回复此楼