<div dir="ltr">Dear all,<div><br></div><div>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:</div><div><br></div><div><p class="">error #165: too few arguments in function call</p>
<p class=""> PetscInitialize(&argc, &argv);</p></div><div>
<p class="">error #165: too few arguments in function call</p>
<p class=""> m_PetscMatrix = MatCreateSeqAIJ(m, n, nNonzero);</p></div><div><br></div><div>My thought is that the PetscPolymorphicSubroutine may not work.</div><div><br></div><div>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?</div>
<div><br></div><div>My configuration for PETSc is</div><div>
<p class="">./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</p><p class=""><br></p><p class=""><br></p><p class="">Thanks.</p>
<p class=""><br></p><p class=""><br></p><p class="">Best,</p><p class="">Xin</p></div></div>