[petsc-users] Too few arguments to PetscInitialize

Xin Zhao sean.null at gmail.com
Tue Jul 15 14:46:11 CDT 2014


Dear all,

I'm using the old version of PETSc 2.3.3-p16. When I compiled some code
with the old version, I've got a batch of errors like:

error #165: too few arguments in function call

          PetscInitialize(&argc, &argv);

error #165: too few arguments in function call

          m_PetscMatrix = MatCreateSeqAIJ(m, n, nNonzero);

My thought is that the PetscPolymorphicSubroutine may not work.

Since the code is no longer under maintenance (the graduate who wrote the
code left), I wonder how much the API has been changed from 2.3.3 to the
latest 3.5.0?

My configuration for PETSc is

./config/configure.py --with-shared=1 --with-cc=icc --with-cxx=icpc
--with-fc=ifort --with-blas-lapack-dir=$MKLROOT --with-mpi=0
--with-debugging=0



Thanks.



Best,

Xin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140715/85d26222/attachment.html>


More information about the petsc-users mailing list