3
0
mirror of https://github.com/triqs/dft_tools synced 2024-12-27 06:43:40 +01:00
dft_tools/doc/installation/requirements.rst

80 lines
5.1 KiB
ReStructuredText
Raw Normal View History

.. index:: Required libraries
.. _requirements:
A complete list of requirements
===============================
TRIQS is built upon several python and C++ libraries, which, if not present
already in your system, can be freely downloaded and installed. All the
libraries and tools used by TRIQS are described below.
2013-08-27 19:17:17 +02:00
.. _require_cxx_compilers:
C++ compilers
-------------
2013-08-27 19:17:17 +02:00
TRIQS is written in C++, i.e. in the **C++11** standard as defined by the ISO standardization committee.
2013-08-27 19:17:17 +02:00
A recent compiler is therefore mandatory.
2013-09-18 15:13:23 +02:00
* Standard compliant C++ compilers (recommended and supported).
2013-08-27 19:17:17 +02:00
2014-07-23 20:55:41 +02:00
* :ref:`clang 3.3<install_clang>` and higher (in particular the default clang on OS X >= 10.8).
* g++ 4.8.1 and higher
2014-07-23 20:55:41 +02:00
* The intel icc 15.0 is close to be C++11 compliant, but presents currently too many bugs to be supported
2013-09-18 15:13:23 +02:00
at present. It compiles 99% of TRIQS, but we do not have the ressources to write and
maintains all necessary workarounds.
* C++98 compilers
2013-08-27 19:17:17 +02:00
2013-09-18 15:13:23 +02:00
* g++ before 4.8.1
* Intel icc 13.0 and below
2013-08-27 19:17:17 +02:00
Compilers implementing the previous version of the C++ standard (C++98) do not work and
will *not* be supported.
2013-08-27 19:17:17 +02:00
Libraries
---------
2013-08-27 19:17:17 +02:00
2013-11-03 18:56:55 +01:00
+------------------------+----------+------------------------------------------------------------------------+
| Library/tool | Version | Comment |
+========================+==========+========================================================================+
| mpi | openmpi | Parallelism (1). |
2013-12-17 08:54:03 +01:00
+------------------------+----------+------------------------------------------------------------------------+
2013-11-03 18:56:55 +01:00
| fftw | >= 3.2 | Fourier transforms |
2013-12-17 08:54:03 +01:00
+------------------------+----------+------------------------------------------------------------------------+
2013-11-03 18:56:55 +01:00
| boost | >= 1.49 | C++ librairies |
2013-12-17 08:54:03 +01:00
+------------------------+----------+------------------------------------------------------------------------+
| hdf5 | >= 1.8.2 | File storage system. Important: the *serial* version must be installed |
2013-12-17 08:54:03 +01:00
+------------------------+----------+------------------------------------------------------------------------+
| python | >= 2.7 | The Python interpreter |
2013-12-17 08:54:03 +01:00
+------------------------+----------+------------------------------------------------------------------------+
2013-11-03 18:56:55 +01:00
| scipy | >= ? | Python mathematical library |
2013-12-17 08:54:03 +01:00
+------------------------+----------+------------------------------------------------------------------------+
2013-11-03 18:56:55 +01:00
| numpy | >= ? | Python scientific library |
2013-12-17 08:54:03 +01:00
+------------------------+----------+------------------------------------------------------------------------+
2013-11-03 18:56:55 +01:00
| h5py | >= ? | Python interface to hdf5 library |
2013-12-17 08:54:03 +01:00
+------------------------+----------+------------------------------------------------------------------------+
2013-11-03 18:56:55 +01:00
| mpi4py | >= ? | Python MPI |
2013-12-17 08:54:03 +01:00
+------------------------+----------+------------------------------------------------------------------------+
2013-11-03 18:56:55 +01:00
| sphinx | >= 1.0.1 | Python documentation tools (to compile documentation) |
2013-12-17 08:54:03 +01:00
+------------------------+----------+------------------------------------------------------------------------+
2013-11-03 18:56:55 +01:00
| cmake | >= 2.8.7 | CMake is used to control the software compilation process |
2013-12-17 08:54:03 +01:00
+------------------------+----------+------------------------------------------------------------------------+
2014-07-23 20:55:41 +02:00
| mako | >= 0.9.1 | mako templates are used to generate the C++/python wrapper |
+------------------------+----------+------------------------------------------------------------------------+
2013-11-03 18:56:55 +01:00
| pyparsing | >= ? | Tool for sphinx (to compile documentation) |
2013-12-17 08:54:03 +01:00
+------------------------+----------+------------------------------------------------------------------------+
2013-11-03 18:56:55 +01:00
| sphinxcontrib-doxylink | >= ? | Tool for sphinx (to compile documentation) |
2013-12-17 08:54:03 +01:00
+------------------------+----------+------------------------------------------------------------------------+
2013-11-03 18:56:55 +01:00
| matplotlib | >= 0.99 | Python 2D plotting library |
2013-12-17 08:54:03 +01:00
+------------------------+----------+------------------------------------------------------------------------+
2014-07-23 20:55:41 +02:00
| libclang | 3.4 | python bindings of the clang lib (for TRIQS developers ONLY) |
+------------------------+----------+------------------------------------------------------------------------+
2013-11-03 18:56:55 +01:00
(1) Since standard linux distributions (and macports on OS X) now provides openmpi, even on laptops, we avoid the unnecessary complication of maintaining a non-parallel version of TRIQS