mat_type mpiaijmkl;
Hello,
In one of the fvSolution files for the lid-driven cavity, an option is used to cache the preconditioner and coefficient matrix. A mat_type is also specified. I have tried to replicate this setup, but so far I am met with PETSC errors:
PETSC ERROR: Unknown Mat type given: mpiaijmkl
or
PETSC ERROR: Object is in wrong state (when specifying mat_type as mpiaij instead of mpiaijmkl)
Would it be possible to share the configure command for PETSc that allows the option for mpiaijmkl? Below is the most recent configure command I used.
./configure --force \
--with-64-bit-indices=1 \
--with-precision=double \
--with-debugging=0 \
--COPTFLAGS=-O3 \
--CXXOPTFLAGS=-O3 \
--FOPTFLAGS=-O3 \
PETSC_ARCH=$WM_OPTIONS \
--with-mkl_pardiso-dir=$MKLROOT \
--with-mkl_sparse-dir=$MKLROOT \
--with-mkl_sparse_optimize-dir=$MKLROOT \
--with-blaslapack-dir=$MKLROOT \
--with-mpi-dir=$MPI_ARCH_PATH \
--download-hypre
PETSc 3.16.4, OpenFOAM 2012, Intel oneAPI 2021.1.1
Thanks!