mptensor is parallel C++ libarary for tensor calculations. It provides similar interfaces as Numpy and Scipy in Python.
- MPI Library
- ScaLAPACK
- (For RSVD) C++11 std::random, Boost C++ library, or dSFMT
- Modify
Makefile.option
as your environment and thenmake
. - Include
src/mptensor.hpp
in your codes. - Complie your applications with
src/libmptensor.a
.
By make doc
, HTML and LaTeX documents are generated in doxygen_docs
.
#include <mptensor.hpp>
using namespace mptensor;
typedef Tensor<scalapack::Matrix,double> ptensor;
ptensor A(Shape(3,4,5));
-
Tensordot: Code generator for tensor contraction
-
cuscalapack: pdgemm and pzgemm with cuBLAS