build:configure
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
build:configure [2016/04/08 15:58] – [Tuning configure options] Yann Pouillon | build:configure [2024/10/10 07:52] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | <WRAP important> | ||
+ | |||
====== Configuring the build of Abinit ====== | ====== Configuring the build of Abinit ====== | ||
- | //Please read the [[wiki: | + | //Please read the [[wiki: |
+ | |||
+ | |||
+ | ===== Tutorials for beginners ===== | ||
+ | |||
+ | * {{ : | ||
===== The configure script ===== | ===== The configure script ===== | ||
Line 55: | Line 63: | ||
Please note that // | Please note that // | ||
- | If you use GCC compilers, you may sometimes want to use the // | + | <WRAP important> |
- | <WRAP important> | + | ==== LIBRARY_PATH ==== |
+ | |||
+ | If you use GCC compilers, you may sometimes want to use the // | ||
==== PYTHONPATH ==== | ==== PYTHONPATH ==== | ||
- | Python is usually installed by system administrators in a standard way on most computers. However, if you use a version of PYTHON | + | Python is usually installed by system administrators in a standard way on most computers. However, if you use custom Python modules |
==== Language-specific variables ==== | ==== Language-specific variables ==== | ||
Line 88: | Line 98: | ||
In order to accommodate as many situations as possible, we have designed a flexible mechanism to handle config files: | In order to accommodate as many situations as possible, we have designed a flexible mechanism to handle config files: | ||
* first, the build system looks into the build directory for a config file, which lets you import parameters for a specific build; | * first, the build system looks into the build directory for a config file, which lets you import parameters for a specific build; | ||
- | * if not found, it looks into the source directory, which allows | + | * if not found, it looks into the source directory, which allows |
* if still not found, it looks into the // | * if still not found, it looks into the // | ||
* finally, it looks into the // | * finally, it looks into the // | ||
- | Of these 4 possibilities, | + | Of these 4 possibilities, |
Since many developers of Abinit work on shared filesystems, | Since many developers of Abinit work on shared filesystems, | ||
Line 108: | Line 118: | ||
===== Tuning configure options ===== | ===== Tuning configure options ===== | ||
- | <WRAP tip> | + | <WRAP tip> |
The build system of Abinit is quite modular and is composed of logical blocks addressing each a specific configuration issue. The following documents will help you tune the build parameters depending on what you want to adjust. | The build system of Abinit is quite modular and is composed of logical blocks addressing each a specific configuration issue. The following documents will help you tune the build parameters depending on what you want to adjust. | ||
- | // | + | // |
// | // | ||
Line 120: | Line 130: | ||
// | // | ||
- | // | + | // |
- | + | ||
- | ==== Optional features ==== | + | |
- | + | ||
- | The capabilities of Abinit can be enhanced by the use of optional external packages. The corresponding options of // | + | |
- | * // | + | |
- | * // | + | |
- | * // | + | |
- | * // | + | |
- | * // | + | |
- | In each of the previous items, **package** will be replaced by the names listed below. Please note that the use of // | + | |
- | + | ||
- | The // | + | |
- | < | + | |
- | * binaries in /// | + | |
- | * include files in /// | + | |
- | * libraries in /// | + | |
- | + | ||
- | The following table summarizes the available optional features of Abinit. To enable them, you will have to make sure that the corresponding [[build: | + | |
- | + | ||
- | ^ Package | + | |
- | | BigDFT | + | |
- | | ETSF_IO | + | |
- | | FoX | Mature | + | |
- | | Libpspio | + | |
- | | LibXC | Mature | + | |
- | | LibYAML | + | |
- | | Wannier90 | Mature | + | |
- | + | ||
- | The following table indicates which options are allowed for each package and whether it is enabled by default. For purely optional packages, the default is to disable them, whereas packages transitioning from optional to mandatory are usually enabled by default. In the following, to determine the names of the options, just replace the stars by the corresponding package IDs. | + | |
- | + | ||
- | ^ Package ID ^ Default | + | |
- | | bigdft | + | |
- | | etsf_io | + | |
- | | fox | Disabled | Yes | No | Yes | Yes | | + | |
- | | libpspio | + | |
- | | libxc | Enabled | + | |
- | | libyaml | + | |
- | | wannier90 | + | |
- | + | ||
- | For instance, LibXC support is enabled by default, and there are // | + | |
- | All these options cen be overridden by // |
build/configure.1460131099.txt.gz · Last modified: 2016/04/08 15:58 by Yann Pouillon