2013-09-17 14:55:55 +02:00
|
|
|
.. index:: Required libraries
|
2013-07-17 19:24:07 +02:00
|
|
|
|
2013-08-29 17:23:40 +02:00
|
|
|
.. _requirements:
|
2013-07-17 19:24:07 +02:00
|
|
|
|
2013-08-29 17:23:40 +02:00
|
|
|
A complete list of requirements
|
2013-08-30 16:15:47 +02:00
|
|
|
===============================
|
2013-07-17 19:24:07 +02:00
|
|
|
|
2013-08-29 17:23:40 +02:00
|
|
|
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
|
2013-08-30 16:15:47 +02:00
|
|
|
libraries and tools used by TRIQS are described below.
|
2013-07-17 19:24:07 +02:00
|
|
|
|
2013-08-27 19:17:17 +02:00
|
|
|
.. _require_cxx_compilers:
|
|
|
|
|
|
|
|
C++ compilers
|
2013-08-30 16:15:47 +02:00
|
|
|
-------------
|
2013-08-27 19:17:17 +02:00
|
|
|
|
2013-08-30 20:17:45 +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-08-30 20:17:45 +02:00
|
|
|
There are 3 categories of C++ compilers:
|
2013-08-27 19:17:17 +02:00
|
|
|
|
2013-08-30 16:15:47 +02:00
|
|
|
* Standard compliant C++ compilers
|
2013-08-27 19:17:17 +02:00
|
|
|
|
2013-08-30 16:15:47 +02:00
|
|
|
* :ref:`clang 3.3<install_clang>` and higher
|
|
|
|
* g++ 4.8.1 and higher
|
|
|
|
|
|
|
|
These compilers are recommended and supported.
|
|
|
|
|
|
|
|
|
|
|
|
* Obsolete compilers
|
|
|
|
|
|
|
|
* g++ 4.6.3 to 4.8.0
|
2013-08-27 19:17:17 +02:00
|
|
|
|
2013-08-30 16:15:47 +02:00
|
|
|
TRIQS can be built with these compilers but because they lack full C++11 support,
|
2013-08-30 20:17:45 +02:00
|
|
|
TRIQS may be slower (some optimisations are disabled in the library).
|
|
|
|
These compilers may not be supported in later releases.
|
2013-08-27 19:17:17 +02:00
|
|
|
|
2013-08-30 16:15:47 +02:00
|
|
|
* C++98 compilers
|
2013-08-27 19:17:17 +02:00
|
|
|
|
2013-08-30 16:15:47 +02:00
|
|
|
* g++ before 4.6
|
|
|
|
* Intel icc 12.0 and below
|
2013-08-27 19:17:17 +02:00
|
|
|
|
2013-08-30 16:15:47 +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-30 16:15:47 +02:00
|
|
|
---------
|
2013-08-27 19:17:17 +02:00
|
|
|
|
2013-07-17 19:24:07 +02:00
|
|
|
================== ================ ================================================================================
|
2013-08-30 16:15:47 +02:00
|
|
|
Library/tool Version Comment
|
2013-07-17 19:24:07 +02:00
|
|
|
================== ================ ================================================================================
|
2013-08-30 16:15:47 +02:00
|
|
|
mpi openmpi Parallelism.
|
2013-07-17 19:24:07 +02:00
|
|
|
Since standard linux distributions (and macports on OS X)
|
|
|
|
now provides openmpi, even on laptops, we avoid the unnecessary complication
|
2013-08-30 16:15:47 +02:00
|
|
|
of maintaining a non-parallel version of TRIQS
|
|
|
|
fftw >= 3.2 Fourier transforms
|
2013-07-17 19:24:07 +02:00
|
|
|
boost >= 1.49 C++ librairies
|
|
|
|
hdf5 >= 1.8.0 File storage system. Important: the *serial* version must be installed
|
2013-08-30 16:15:47 +02:00
|
|
|
python >= 2.6.5 The Python interpreter
|
|
|
|
scipy Python mathematical library
|
|
|
|
numpy Python scientific library
|
|
|
|
h5py Python interface to hdf5 library
|
|
|
|
mpi4py Python MPI
|
|
|
|
sphinx >= 1.0.1 Python documentation tools (to compile documentation)
|
2013-09-09 14:48:49 +02:00
|
|
|
cmake >= 2.8.7 CMake is used to control the software compilation process
|
2013-08-29 17:23:40 +02:00
|
|
|
pyparsing Tool for sphinx (to compile documentation)
|
2013-08-30 16:15:47 +02:00
|
|
|
matplotlib >= 0.99 Python 2D plotting library
|
|
|
|
cython >=0.17 A language that allows to write C extensions for the Python language
|
2013-07-17 19:24:07 +02:00
|
|
|
================== ================ ================================================================================
|
|
|
|
|
|
|
|
|