Xin Zhao <[email protected]> writes: > 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.
Or you are compiling with a C version of PETSc (not --with-clanguage=cxx)? PetscPolymorphicSubroutine was removed in petsc-3.3. > 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? Most things will work, but any complex code that has sat unmaintained for 7 years will need some updating.
pgp0VuJkNwjRc.pgp
Description: PGP signature
