[petsc-users] Compilation issues on cluster - PETSC ERROR: Unknown Mat type given: mpiaijmkl

Juan Salazar jp.salazar at pm.me
Thu Feb 10 14:19:08 CST 2022


> Hi Juan,
>
> I believe the problem is that you specify --with-mkl_sparse-dir, but that is not used because the BLAS/LAPACK logic checks for that, and you just
> need --with-mkl_sparse. Normally the "dir" option would do this automatically, but since it is not used, that logic does not kick in. Please tell me if
> this works.

It worked! Thank you very much! The only caveat is that these options don’t support 64 bit indices, so I had to set: --with-64-bit-indices=0

Juan S.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20220210/756c89ad/attachment.html>


More information about the petsc-users mailing list