Yep, we found these. I am going to make a PR. Thanks for reporting.

   Matt

On Fri, Dec 14, 2018 at 9:17 PM Eric Chamberland via petsc-dev <petsc-dev@mcs.anl.gov> wrote:

Hi,

I just noticed there are warnings at compile time for some mkl_cpardiso.c routines:

/pmi/cmpbib/compilation_BIB_gcc_redhat_petsc-master_debug/COMPILE_AUTO/petsc-master-debug/src/mat/impls/aij/mpi/mkl_cpardiso/mkl_cpardiso.c: In function ‘MatDestroy_MKL_CPARDISO’:
/pmi/cmpbib/compilation_BIB_gcc_redhat_petsc-master_debug/COMPILE_AUTO/petsc-master-debug/src/mat/impls/aij/mpi/mkl_cpardiso/mkl_cpardiso.c:236:7: warning: passing argument 16 of ‘cluster_sparse_solver’ from incompatible pointer type [enabled by default]
       (int*)&mat_mkl_cpardiso->err);
and some more, full log here:

http://www.giref.ulaval.ca/~cmpgiref/petsc-master-debug/2018.12.14.09h24m33s_make.log


and configure log:

http://www.giref.ulaval.ca/~cmpgiref/petsc-master-debug/2018.12.14.09h24m33s_configure.log


Thanks,

Eric




--
What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.
-- Norbert Wiener