Elemental is a modern C++ library for distributed-memory dense and sparse-direct linear algebra, conic optimization, and lattice reduction. The library was initially released in Elemental: A new framework for distributed memory dense linear algebra and absorbed, then greatly expanded upon, the functionality from the sparse-direct solver Clique, which was originally released during a project on Parallel Sweeping Preconditioners.
Elemental has not been maintained since 2016. But the project was forked by Lawrence Livermore National Lab. The author stopped being interested in volunteering to develop MPI codes and no one has stepped up after three years.
Software consists of teams of people. If you want people to continue developing a project after it ceases to be their personal interest, fund them for it.
The developer is now volunteering time towards high-performance math software for workstations at hodgestar.com.
The (now outdated) documentation for Elemental is built using Sphinx and the Read the Docs Theme
Elemental supports a wide collection of sequential and distributed-memory functionality, including sequential and distributed-memory support for the datatypes:
float
, El::Complex<float>
double
, El::Complex<double>
El::DoubleDouble
, El::Complex<El::DoubleDouble>
(on top of QD's dd_real)El::QuadDouble
, El::Complex<El::QuadDouble>
(on top of QD's qd_real)El::Quad
, El::Complex<El::Quad>
(on top of GCC's __float128)El::BigFloat
, El::Complex<El::BigFloat>
(on top of MPFR's mpfr_t and MPC's mpc_t)Linear algebra:
Convex optimization:
Lattice reduction:
Core data structures:
DistMultiVec
in favor of the newly extended DistMatrix
DistSparseMatrix
to support elementwise and blockwise 2D distributionsLinear algebra:
DistMatrix
Convex optimization:
The vast majority of Elemental is distributed under the terms of the New BSD License. Please see the debian/copyright file for an overview of the copyrights and licenses for the files in the library.
The optional external dependency METIS is distributed under the (equally permissive) Apache License, Version 2.0, though ParMETIS can only be used for research purposes (and can be easily disabled). libquadmath is distributed under the terms of the GNU Lesser General Public License, version 2.1 or later, while, QD is distributed under the terms of the LBNL-BSD-License.
Intranodal linear algebra
OpenBLAS is automatically downloaded and installed if no vendor/tuned BLAS/LAPACK is detected.
Intranodal graph partitioning
If ParMETIS is not disabled and cannot be found (including access to internal APIs), then it is automatically downloaded and installed; otherwise, if METIS support is not detected, METIS is downloaded and installed.
Internodal linear algebra
If ScaLAPACK support is not explicitly disabled, then Elemental looks for a previous installation and, failing that, attempts to automatically download and install the library.
Internodal communication
Auxiliary libraries
QD for efficient software analogues of 128-bit and 256-bit floating-point arithmetic (Note: QD is licensed under the LBNL-BSD-License, which is a slight modification of the BSD License)
libquadmath for quad-precision support (especially for iterative refinement). (Note: libquadmath is licensed under the GNU Lesser General Public License, version 2.1 or later)
MPFR for arbitrary-precision real arithmetic. (Note: MPFR is licensed under the GNU Lesser General Public License, v3 or later)
MPC for arbitrary-precision complex arithmetic. (Note: MPC is licensed under the GNU Lesser General Public License, v3 or later)
Python interface
C++ visualization
Build system
In addition to the C++11, C, and Python interfaces included within the project, three external interfaces are currently being externally developed:
R-El is an R interface to Elemental developed by Rodrigo Canales and Paolo Bientinesi
Elemental.jl is an (in-progress) Julia interface to Elemental being developed by Jake Bolewski, Jiahao Chen, and Andreas Noack.
CVXPY is a Python-embedded modeling language for convex optimization problems with an (in-progress) interface to Elemental's distributed Interior Point Methods. This effort is being led by Steven Diamond.
Distributed dense linear algebra:
Distributed sparse-direct linear algebra:
Distributed linear algebra Frameworks
Convex optimization
Lattice reduction and number theory