[petsc-users] PETSc with 64 bit indices and MKL Sparse BLAS fails to build
Bro H
broheimhelldawg29 at gmail.com
Sat Sep 24 10:04:53 CDT 2022
Hello.
I would like to build PETSc with support for MKL Sparse BLAS, so that
I can use MATAIJMKL for improved performance, but I also need to use
64 bit indices. I'm trying to build using the following parameters:
./configure --force --prefix="/opt/libs/petsc" --with-precision=double
--with-64-bit-indices
--with-blas-lapack-dir=/opt/intel/oneapi/mkl/latest/
--with-mkl_sparse=1 --with-mkl_sparse_optimize=1 --with-debugging=0
--with-shared-libraries=1 --with-cxx=0 --with-mpi=1 --with-hdf5=1
--with-hdf5-dir="${HDF5_ROOT}" --with-openmp=1
Configuration fails when using --with-64-bit-indices simultaneously
with --with-mkl_sparse=1 and/or --with-mkl_sparse_optimize=1 with the
following possible errors:
"Cannot use mkl_sparse with 64 bit integers, it is not coded for this
capability"
"Cannot use mkl_sparse_optimize with 64 bit integers, it is not coded
for this capability"
But doesn't the latest version of MKL Sparse BLAS support 64 bit
indices? It is using MKL_INT in mkl_spblas.h.
Is it possible to build PETSc with 64 bit indices and MKL Sparse BLAS?
More information about the petsc-users
mailing list