24小时热门版块排行榜    

CyRhmU.jpeg
查看: 1097  |  回复: 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 ]
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

jiaozy

木虫 (正式写手)


★★★ 三星级,支持鼓励

网盘上已经没有了,楼主可以发一份给我吗?邮箱:zhy_jiao@163.com  谢谢
4楼2009-03-05 15:17:59
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
重新上传,并添加了附件
5楼2009-03-10 15:08:56
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

awmc2008

至尊木虫 (文坛精英)


★★★★★ 五星级,优秀推荐

好资料,谢谢楼主。
6楼2009-07-16 21:44:38
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

qqpie

木虫 (职业作家)


★★★★★ 五星级,优秀推荐

3x!@@
7楼2009-10-09 00:17:46
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
简单回复
zdhlover2楼
2009-02-13 20:42   回复  
  [ Last edited by zdhlover on 2009-2-13 at 21:57 ]
2009-02-19 10:04   回复  
 
2009-12-29 14:47   回复  
 
相关版块跳转 我要订阅楼主 zxzj05 的主题更新
☆ 无星级 ★ 一星级 ★★★ 三星级 ★★★★★ 五星级
普通表情 高级回复(可上传附件)
信息提示
请填处理意见