| ²é¿´: 1180 | »Ø¸´: 7 | ||
| ¡¾½±Àø¡¿ ±¾Ìû±»ÆÀ¼Û6´Î£¬×÷Õßzxzj05Ôö¼Ó½ð±Ò 5 ¸ö | ||
| µ±Ç°Ö÷ÌâÒѾ´æµµ¡£ | ||
zxzj05ÈÙÓþ°æÖ÷ (ÖøÃûдÊÖ)
|
[×ÊÔ´]
¡¾×ÊÔ´¡¿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 ] |
» ²ÂÄãϲ»¶
286Çóµ÷¼Á
ÒѾÓÐ14È˻ظ´
Ò»Ö¾Ô¸211£¬0703»¯Ñ§305·ÖÇóµ÷¼Á
ÒѾÓÐ10È˻ظ´
362Çóµ÷¼Á
ÒѾÓÐ8È˻ظ´
0703µ÷¼Á
ÒѾÓÐ17È˻ظ´
333Çóµ÷¼Á
ÒѾÓÐ4È˻ظ´
085600²ÄÁÏÓ뻯¹¤×¨Ë¶329 Çóµ÷¼Á
ÒѾÓÐ12È˻ظ´
Ò»Ö¾Ô¸¼ª´ó»¯Ñ§327Çóµ÷¼Á
ÒѾÓÐ8È˻ظ´
0703»¯Ñ§µ÷¼Á 348·Ö
ÒѾÓÐ8È˻ظ´
һ־Ը̫ÔÀí¹¤´óѧ¼ÆËã»ú¼¼Êõר˶348£¬Çóµ÷¼ÁÖ¸µ¼
ÒѾÓÐ3È˻ظ´
²ÄÁÏ¿¼ÑÐÇóµ÷¼Á×Ü·Ö280
ÒѾÓÐ16È˻ظ´
4Â¥2009-03-05 15:17:59
zxzj05
ÈÙÓþ°æÖ÷ (ÖøÃûдÊÖ)
- 1STÇ¿Ìû: 1
- Ó¦Öú: 0 (Ó×¶ùÔ°)
- ¹ó±ö: 1.242
- ½ð±Ò: 5912.5
- Ìû×Ó: 1528
- ÔÚÏß: 144.5Сʱ
- ³æºÅ: 406147
5Â¥2009-03-10 15:08:56
awmc2008
ÖÁ×ðľ³æ (ÎÄ̳¾«Ó¢)
- Ó¦Öú: 62 (³õÖÐÉú)
- ½ð±Ò: 13759.6
- Ìû×Ó: 12279
- ÔÚÏß: 736.8Сʱ
- ³æºÅ: 600677
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
»Ø¸´
















»Ø¸´´ËÂ¥