build:feature_triggers
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
build:feature_triggers [2016/04/08 18:00] – created Yann Pouillon | build:feature_triggers [2016/04/24 14:21] (current) – Yann Pouillon | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | <WRAP important> | ||
+ | |||
====== Configuring feature triggers ====== | ====== Configuring feature triggers ====== | ||
- | The capabilities of Abinit can be enhanced by the use of optional external packages. The corresponding options of // | + | ===== Configure options ===== |
- | * // | + | |
+ | The intrinsic | ||
* // | * // | ||
- | * // | ||
* // | * // | ||
* // | * // | ||
- | In each of the previous items, **package** will be replaced by the names listed | + | In each of the previous items, |
+ | |||
+ | If you use the // | ||
+ | < | ||
+ | the // | ||
+ | * specific configuration programs in // | ||
+ | * include files in // | ||
+ | * libraries in // | ||
- | The // | + | The following table summarizes the available optional features of Abinit. To enable them, you will have to make sure that the corresponding [[build:optpkgs|optional packages]] are correctly installed on your system before configuring Abinit. |
- | < | + | |
- | * 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 | + | ^ Package |
+ | | [[build:optpkgs# | ||
+ | | [[build: | ||
+ | | [[build: | ||
+ | | [[build: | ||
+ | | [[build: | ||
+ | | [[build: | ||
+ | | [[build: | ||
+ | | [[build: | ||
+ | | [[build: | ||
+ | | [[build: | ||
+ | | [[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. | + | ===== Using a global prefix ===== |
- | ^ Package ID ^ Default | + | All the individual options can be overridden by // |
- | | 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 //with_libxc//, | + | <WRAP important> |
- | All these options cen be overridden by //with_extdeps_prefix//, which tells the //configure// script that all external dependencies have been installed in the same place. This option is mutually exclusive with the use of any other //with_*// option for optional features. If you decide to use it, it must be the only one. | + | As an example, let us now suppose that you have installed optional packages for Abinit under the //%%/%%path/to/my/packages%%/%%// directory. You directory tree will look like the following: |
+ | < | ||
+ | /path/to/my_packages | ||
+ | │ | ||
+ | ├── etsf_io-1.0.4 | ||
+ | │ ├── bin | ||
+ | │ ├── include | ||
+ | │ ├── lib | ||
+ | │ └── share | ||
+ | │ | ||
+ | ├── libpspio-bzr | ||
+ | │ ├── include | ||
+ | │ └── lib | ||
+ | ├── libxc-2.0.3 | ||
+ | │ ├── include | ||
+ | │ └── lib | ||
+ | │ | ||
+ | ├── libxc-2.2.1 | ||
+ | │ ├── bin | ||
+ | │ ├── include | ||
+ | │ └── lib | ||
+ | │ | ||
+ | ├── triqs-1.2 | ||
+ | │ ├── bin | ||
+ | │ ├── include | ||
+ | │ │ ├── pytriqs | ||
+ | │ │ └── triqs | ||
+ | │ ├── lib | ||
+ | │ │ └── python2.7 | ||
+ | │ └── share | ||
+ | │ | ||
+ | └── wannier90-1.2.0.4 | ||
+ | │ | ||
+ | │ | ||
+ | │ | ||
+ | │ | ||
+ | │ | ||
+ | └── wannier90-2.0.1.1 | ||
+ | ├── bin | ||
+ | ├── lib | ||
+ | │ | ||
+ | └── share | ||
+ | └── doc | ||
+ | </code> | ||
+ | As you can see, this directory tree includes 2 different versions of LibXC and Wannier90. Depending on which version of Abinit |
build/feature_triggers.1460131249.txt.gz · Last modified: 2016/04/08 18:00 by Yann Pouillon