30 #ifndef __PASO_MKL_H__
31 #define __PASO_MKL_H__
37 #ifdef ESYS_INDEXTYPE_LONG
38 #define ES_PARDISO pardiso_64
39 #define ES_MKL_INT MKL_INT64
41 #define ES_PARDISO pardiso
42 #define ES_MKL_INT MKL_INT
46 #include <mkl_pardiso.h>
50 #define MKL_ERROR_NO 0
51 #define MKL_MTYPE_REAL_SYM -2
52 #define MKL_MTYPE_REAL_UNSYM 11
54 #define MKL_REORDERING_MINIMUM_DEGREE 0
55 #define MKL_REORDERING_NESTED_DISSECTION 2
56 #define MKL_REORDERING_NESTED_DISSECTION_OMP 3
57 #define MKL_PHASE_SYMBOLIC_FACTORIZATION 11
58 #define MKL_PHASE_FACTORIZATION 22
59 #define MKL_PHASE_SOLVE 33
60 #define MKL_PHASE_RELEASE_MEMORY -1
67 dim_t numRefinements,
bool verbose);
69 dim_t numRefinements,
bool verbose);
std::complex< real_t > cplx_t
complex data type
Definition: DataTypes.h:55
index_t dim_t
Definition: DataTypes.h:66
int index_t
type for array/matrix indices used both globally and on each rank
Definition: DataTypes.h:61
Definition: BiCGStab.cpp:25
void MKL_solve(SparseMatrix_ptr< double > A, double *out, double *in, index_t reordering, dim_t numRefinements, bool verbose)
Definition: MKL.cpp:66
void MKL_free(SparseMatrix< double > *A)
Definition: MKL.cpp:35
#define PASO_DLL_API
Definition: paso/src/system_dep.h:29