[petsc-dev] error reading binary file

Mark F. Adams mark.adams at columbia.edu
Tue Jun 12 11:45:00 CDT 2012


I'm getting this error when I try to read a matrix/vector with block size 3:

~/Desktop/GAMG>./ex10 -f0  binaryoutput-sym
[0]PETSC ERROR: --------------------- Error Message ------------------------------------
[0]PETSC ERROR: Arguments are incompatible!
[0]PETSC ERROR: Cannot change block size 1 to 3!
[0]PETSC ERROR: ------------------------------------------------------------------------
[0]PETSC ERROR: Petsc Development HG revision: 4c35227011f74c2367a3a96a62bc4d6df701bcfb  HG Date: Sun Jun 10 00:30:22 2012 -0500
[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: ./ex10 on a arch-maco named madams-macbk-3.local by markadams Tue Jun 12 12:39:02 2012
[0]PETSC ERROR: Libraries linked from /Users/markadams/Codes/petsc-dev/arch-macosx-gnu-O/lib
[0]PETSC ERROR: Configure run at Mon Jun 11 15:15:38 2012
[0]PETSC ERROR: Configure options CXX=/sw/lib/gcc4.6/bin/g++-4 CC=/sw/lib/gcc4.6/bin/gcc-4 CFLAGS=-malign-double CXXFLAGS=-malign-double FC=/sw/lib/gcc4.6/bin/gfortran --download-parmetis=1 --download-metis=1 --download-hdf5=1 --download-hypre=1 --download-ml=1 --download-prometheus=1 --download-triangle=1 --with-x=0 --with-debugging=0 --download-mpich=1 PETSC_ARCH=arch-macosx-gnu-O
[0]PETSC ERROR: ------------------------------------------------------------------------
[0]PETSC ERROR: PetscLayoutSetBlockSize() line 460 in /Users/markadams/Codes/petsc-dev/src/vec/vec/impls/mpi/pmap.c
[0]PETSC ERROR: VecSetBlockSize() line 1526 in /Users/markadams/Codes/petsc-dev/src/vec/vec/interface/vector.c
[0]PETSC ERROR: VecLoad_Binary() line 104 in /Users/markadams/Codes/petsc-dev/src/vec/vec/utils/vecio.c
[0]PETSC ERROR: VecLoad_Default() line 348 in /Users/markadams/Codes/petsc-dev/src/vec/vec/utils/vecio.c
[0]PETSC ERROR: VecLoad() line 1111 in /Users/markadams/Codes/petsc-dev/src/vec/vec/interface/vector.c
[0]PETSC ERROR: main() line 132 in src/ksp/ksp/examples/tutorials/ex10.c
application called MPI_Abort(MPI_COMM_WORLD, 75) - process 0
[unset]: aborting job:
application called MPI_Abort(MPI_COMM_WORLD, 75) - process 0
~/Desktop/GAMG>

I just want to check if anyone has any thoughts before I start digging into this.

Mark


More information about the petsc-dev mailing list