Hello The attached trivial program work fines on my old setup (petsc-2.3.3-p7 built with old Intel compilers and MPICH1) but fails with the petsc-2.3.3-p15 which I just compiled on my new machine.
Any ideas as to what is wrong? Thanks in advance. T -------------- next part -------------- A non-text attachment was scrubbed... Name: petsc_ex.f90 Type: text/x-fortran Size: 2787 bytes Desc: not available URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20081031/5dfddd39/attachment.bin> -------------- next part -------------- A non-text attachment was scrubbed... Name: Makefile Type: text/x-makefile Size: 196 bytes Desc: not available URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20081031/5dfddd39/attachment-0001.bin> -------------- next part -------------- [0]PETSC ERROR: --------------------- Error Message ------------------------------------ [0]PETSC ERROR: Read from file failed! [0]PETSC ERROR: Read past end of file! [0]PETSC ERROR: ------------------------------------------------------------------------ [0]PETSC ERROR: Petsc Release Version 2.3.3, Patch 15, Tue Sep 23 10:02:49 CDT 2008 HG revision: 31306062cd1a6f6a2496fccb4878f485c9b91760 [0]PETSC ERROR: See docs/changes/index.html for recent updates. [0]PETSC ERROR: See docs/faq.html for hints about trouble shooting. [0]PETSC ERROR: See docs/index.html for manual pages. [0]PETSC ERROR: ------------------------------------------------------------------------ [0]PETSC ERROR: ./a.out on a linux-gnu named x61 by stali Fri Oct 31 16:20:47 2008 [0]PETSC ERROR: Libraries linked from /opt/petsc-2.3.3-p15/lib/linux-gnu-c-debug [0]PETSC ERROR: Configure run at Fri Oct 31 14:12:26 2008 [0]PETSC ERROR: Configure options --with-mpi-dir=/opt/mpich2-intel --with-blas-lapack-dir=/opt/intel/mkl/10.0.5.025 --with-shared=yes --with-blacs=1 --download-blacs=ifneeded --with-scalapack=1 --download-scalapack=ifneeded --with-mumps=1 --download-mumps=ifneeded --with-parmetis=1 --download-parmetis=ifneeded [0]PETSC ERROR: ------------------------------------------------------------------------ [0]PETSC ERROR: PetscBinaryRead() line 194 in src/sys/fileio/sysio.c [0]PETSC ERROR: MatLoad_MPIAIJ() line 2540 in src/mat/impls/aij/mpi/mpiaij.c [0]PETSC ERROR: MatLoad() line 131 in src/mat/utils/matio.c [0]PETSC ERROR: --------------------- Error Message ------------------------------------ [0]PETSC ERROR: Read from file failed! [0]PETSC ERROR: Read past end of file! [0]PETSC ERROR: ------------------------------------------------------------------------ [0]PETSC ERROR: Petsc Release Version 2.3.3, Patch 15, Tue Sep 23 10:02:49 CDT 2008 HG revision: 31306062cd1a6f6a2496fccb4878f485c9b91760 [0]PETSC ERROR: See docs/changes/index.html for recent updates. [0]PETSC ERROR: See docs/faq.html for hints about trouble shooting. [0]PETSC ERROR: See docs/index.html for manual pages. [0]PETSC ERROR: ------------------------------------------------------------------------ [0]PETSC ERROR: ./a.out on a linux-gnu named x61 by stali Fri Oct 31 16:20:47 2008 [0]PETSC ERROR: Libraries linked from /opt/petsc-2.3.3-p15/lib/linux-gnu-c-debug [0]PETSC ERROR: Configure run at Fri Oct 31 14:12:26 2008 [0]PETSC ERROR: Configure options --with-mpi-dir=/opt/mpich2-intel --with-blas-lapack-dir=/opt/intel/mkl/10.0.5.025 --with-shared=yes --with-blacs=1 --download-blacs=ifneeded --with-scalapack=1 --download-scalapack=ifneeded --with-mumps=1 --download-mumps=ifneeded --with-parmetis=1 --download-parmetis=ifneeded [0]PETSC ERROR: ------------------------------------------------------------------------ [0]PETSC ERROR: PetscBinaryRead() line 194 in src/sys/fileio/sysio.c [0]PETSC ERROR: VecLoad_Binary() line 263 in src/vec/vec/utils/vecio.c [0]PETSC ERROR: VecLoad() line 130 in src/vec/vec/utils/vecio.c [0]PETSC ERROR: --------------------- Error Message ------------------------------------ [0]PETSC ERROR: Invalid argument! [0]PETSC ERROR: Wrong type of object: Parameter # 1! [0]PETSC ERROR: ------------------------------------------------------------------------ [0]PETSC ERROR: Petsc Release Version 2.3.3, Patch 15, Tue Sep 23 10:02:49 CDT 2008 HG revision: 31306062cd1a6f6a2496fccb4878f485c9b91760 [0]PETSC ERROR: See docs/changes/index.html for recent updates. [0]PETSC ERROR: See docs/faq.html for hints about trouble shooting. [0]PETSC ERROR: See docs/index.html for manual pages. [0]PETSC ERROR: ------------------------------------------------------------------------ [0]PETSC ERROR: ./a.out on a linux-gnu named x61 by stali Fri Oct 31 16:20:47 2008 [0]PETSC ERROR: Libraries linked from /opt/petsc-2.3.3-p15/lib/linux-gnu-c-debug [0]PETSC ERROR: Configure run at Fri Oct 31 14:12:26 2008 [0]PETSC ERROR: Configure options --with-mpi-dir=/opt/mpich2-intel --with-blas-lapack-dir=/opt/intel/mkl/10.0.5.025 --with-shared=yes --with-blacs=1 --download-blacs=ifneeded --with-scalapack=1 --download-scalapack=ifneeded --with-mumps=1 --download-mumps=ifneeded --with-parmetis=1 --download-parmetis=ifneeded [0]PETSC ERROR: ------------------------------------------------------------------------ [0]PETSC ERROR: VecDuplicate() line 482 in src/vec/vec/interface/vector.c [0]PETSC ERROR: --------------------- Error Message ------------------------------------ [0]PETSC ERROR: Invalid argument! [0]PETSC ERROR: Wrong type of object: Parameter # 2! [0]PETSC ERROR: ------------------------------------------------------------------------ [0]PETSC ERROR: Petsc Release Version 2.3.3, Patch 15, Tue Sep 23 10:02:49 CDT 2008 HG revision: 31306062cd1a6f6a2496fccb4878f485c9b91760 [0]PETSC ERROR: See docs/changes/index.html for recent updates. [0]PETSC ERROR: See docs/faq.html for hints about trouble shooting. [0]PETSC ERROR: See docs/index.html for manual pages. [0]PETSC ERROR: ------------------------------------------------------------------------ [0]PETSC ERROR: ./a.out on a linux-gnu named x61 by stali Fri Oct 31 16:20:47 2008 [0]PETSC ERROR: Libraries linked from /opt/petsc-2.3.3-p15/lib/linux-gnu-c-debug [0]PETSC ERROR: Configure run at Fri Oct 31 14:12:26 2008 [0]PETSC ERROR: Configure options --with-mpi-dir=/opt/mpich2-intel --with-blas-lapack-dir=/opt/intel/mkl/10.0.5.025 --with-shared=yes --with-blacs=1 --download-blacs=ifneeded --with-scalapack=1 --download-scalapack=ifneeded --with-mumps=1 --download-mumps=ifneeded --with-parmetis=1 --download-parmetis=ifneeded [0]PETSC ERROR: ------------------------------------------------------------------------ [0]PETSC ERROR: KSPSolve() line 307 in src/ksp/ksp/interface/itfunc.c [0]PETSC ERROR: --------------------- Error Message ------------------------------------ [0]PETSC ERROR: Invalid argument! [0]PETSC ERROR: Wrong type of object: Parameter # 1! [0]PETSC ERROR: ------------------------------------------------------------------------ [0]PETSC ERROR: Petsc Release Version 2.3.3, Patch 15, Tue Sep 23 10:02:49 CDT 2008 HG revision: 31306062cd1a6f6a2496fccb4878f485c9b91760 [0]PETSC ERROR: See docs/changes/index.html for recent updates. [0]PETSC ERROR: See docs/faq.html for hints about trouble shooting. [0]PETSC ERROR: See docs/index.html for manual pages. [0]PETSC ERROR: ------------------------------------------------------------------------ [0]PETSC ERROR: ./a.out on a linux-gnu named x61 by stali Fri Oct 31 16:20:47 2008 [0]PETSC ERROR: Libraries linked from /opt/petsc-2.3.3-p15/lib/linux-gnu-c-debug [0]PETSC ERROR: Configure run at Fri Oct 31 14:12:26 2008 [0]PETSC ERROR: Configure options --with-mpi-dir=/opt/mpich2-intel --with-blas-lapack-dir=/opt/intel/mkl/10.0.5.025 --with-shared=yes --with-blacs=1 --download-blacs=ifneeded --with-scalapack=1 --download-scalapack=ifneeded --with-mumps=1 --download-mumps=ifneeded --with-parmetis=1 --download-parmetis=ifneeded [0]PETSC ERROR: ------------------------------------------------------------------------ [0]PETSC ERROR: VecView() line 719 in src/vec/vec/interface/vector.c Number of iterations = 0 [0]PETSC ERROR: --------------------- Error Message ------------------------------------ [0]PETSC ERROR: Null argument, when expecting valid pointer! [0]PETSC ERROR: Null Object: Parameter # 1! [0]PETSC ERROR: ------------------------------------------------------------------------ [0]PETSC ERROR: Petsc Release Version 2.3.3, Patch 15, Tue Sep 23 10:02:49 CDT 2008 HG revision: 31306062cd1a6f6a2496fccb4878f485c9b91760 [0]PETSC ERROR: See docs/changes/index.html for recent updates. [0]PETSC ERROR: See docs/faq.html for hints about trouble shooting. [0]PETSC ERROR: See docs/index.html for manual pages. [0]PETSC ERROR: ------------------------------------------------------------------------ [0]PETSC ERROR: ./a.out on a linux-gnu named x61 by stali Fri Oct 31 16:20:47 2008 [0]PETSC ERROR: Libraries linked from /opt/petsc-2.3.3-p15/lib/linux-gnu-c-debug [0]PETSC ERROR: Configure run at Fri Oct 31 14:12:26 2008 [0]PETSC ERROR: Configure options --with-mpi-dir=/opt/mpich2-intel --with-blas-lapack-dir=/opt/intel/mkl/10.0.5.025 --with-shared=yes --with-blacs=1 --download-blacs=ifneeded --with-scalapack=1 --download-scalapack=ifneeded --with-mumps=1 --download-mumps=ifneeded --with-parmetis=1 --download-parmetis=ifneeded [0]PETSC ERROR: ------------------------------------------------------------------------ [0]PETSC ERROR: MatDestroy() line 706 in src/mat/interface/matrix.c [0]PETSC ERROR: --------------------- Error Message ------------------------------------ [0]PETSC ERROR: Invalid argument! [0]PETSC ERROR: Wrong type of object: Parameter # 1! [0]PETSC ERROR: ------------------------------------------------------------------------ [0]PETSC ERROR: Petsc Release Version 2.3.3, Patch 15, Tue Sep 23 10:02:49 CDT 2008 HG revision: 31306062cd1a6f6a2496fccb4878f485c9b91760 [0]PETSC ERROR: See docs/changes/index.html for recent updates. [0]PETSC ERROR: See docs/faq.html for hints about trouble shooting. [0]PETSC ERROR: See docs/index.html for manual pages. [0]PETSC ERROR: ------------------------------------------------------------------------ [0]PETSC ERROR: ./a.out on a linux-gnu named x61 by stali Fri Oct 31 16:20:47 2008 [0]PETSC ERROR: Libraries linked from /opt/petsc-2.3.3-p15/lib/linux-gnu-c-debug [0]PETSC ERROR: Configure run at Fri Oct 31 14:12:26 2008 [0]PETSC ERROR: Configure options --with-mpi-dir=/opt/mpich2-intel --with-blas-lapack-dir=/opt/intel/mkl/10.0.5.025 --with-shared=yes --with-blacs=1 --download-blacs=ifneeded --with-scalapack=1 --download-scalapack=ifneeded --with-mumps=1 --download-mumps=ifneeded --with-parmetis=1 --download-parmetis=ifneeded [0]PETSC ERROR: ------------------------------------------------------------------------ [0]PETSC ERROR: VecDestroy() line 509 in src/vec/vec/interface/vector.c [0]PETSC ERROR: --------------------- Error Message ------------------------------------ [0]PETSC ERROR: Invalid argument! [0]PETSC ERROR: Wrong type of object: Parameter # 1! [0]PETSC ERROR: ------------------------------------------------------------------------ [0]PETSC ERROR: Petsc Release Version 2.3.3, Patch 15, Tue Sep 23 10:02:49 CDT 2008 HG revision: 31306062cd1a6f6a2496fccb4878f485c9b91760 [0]PETSC ERROR: See docs/changes/index.html for recent updates. [0]PETSC ERROR: See docs/faq.html for hints about trouble shooting. [0]PETSC ERROR: See docs/index.html for manual pages. [0]PETSC ERROR: ------------------------------------------------------------------------ [0]PETSC ERROR: ./a.out on a linux-gnu named x61 by stali Fri Oct 31 16:20:47 2008 [0]PETSC ERROR: Libraries linked from /opt/petsc-2.3.3-p15/lib/linux-gnu-c-debug [0]PETSC ERROR: Configure run at Fri Oct 31 14:12:26 2008 [0]PETSC ERROR: Configure options --with-mpi-dir=/opt/mpich2-intel --with-blas-lapack-dir=/opt/intel/mkl/10.0.5.025 --with-shared=yes --with-blacs=1 --download-blacs=ifneeded --with-scalapack=1 --download-scalapack=ifneeded --with-mumps=1 --download-mumps=ifneeded --with-parmetis=1 --download-parmetis=ifneeded [0]PETSC ERROR: ------------------------------------------------------------------------ [0]PETSC ERROR: VecDestroy() line 509 in src/vec/vec/interface/vector.c
