Barry, thanks, it appears to be working correctly after following your
latest suggestion. I used the following configuration command:
./configure --force --prefix=/opt/libs/petsc COPTFLAGS="-O3"
CXXOPTFLAGS="-O3" FOPTFLAGS="-O3" --with-precision=double
--with-64-bit-indices
Likely you can fix the problem by adding
#if defined(PETSC_HAVE_MKL_INTEL_ILP64)
#define MKL_ILP64
#endif
before the #include in
src/mat/impls/aij/seq/aijmkl/aijmkl.c and
src/mat/impls/baij/seq/baijmkl/baijmkl.c
Please let us know if this resolves the problem.
Barry
> On Sep 25,
Sorry, forgot to send a copy to petsc-users mailing list when I first
replied. My first reply is below.
On Sun, Sep 25, 2022 at 11:37 AM Bro H wrote:
>
> Barry, thank you for answering. I did some further testing. My MKL
> version is 20220002 as detected by PETSc. I tried to compile one of
> the
It is possible they recently added support for using it with 64 bit integers.
You would need to through their documents to see how to get mkl_spblas.h. to
use 64 bit integers and if the library for 64 bit integer has a different name
that would need to be linked to.
You would need to
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