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

Reply via email to