Hi,

I have some strange failure using 
petsc-3.1-p8<http://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-3.1-p8.tar.gz>.
 Before I used petsc-3.1-p3 and everything works fine. Now in this code block 
occurs a failure:


  /* Read in matrix */
  ierr = 
PetscViewerBinaryOpen(PETSC_COMM_WORLD,"A.dat",FILE_MODE_READ,&viewer);CHKERRQ(ierr);
  ierr = MatCreate(PETSC_COMM_WORLD,&A);CHKERRQ(ierr);
  ierr = MatLoad(A, viewer);CHKERRQ(ierr);                                      
                                //ierr = 
MatLoad(viewer,MATMPIAIJ,&A);CHKERRQ(ierr); this was the old call
  ierr = PetscViewerDestroy(&viewer);CHKERRQ(ierr);


and this is the error Message:

>singleCore.bat
[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 Development HG revision:   HG Date:
[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: petscFirstParallel on a arch-win3 named MRD-PC43 by duerrw Thu 
May 26 13:33:51 2011
[0]PETSC ERROR: Libraries linked from 
/cygdrive/c/projekte/common/petsc/petsc-dev/arch-win32/lib
[0]PETSC ERROR: Configure run at Fri May 20 17:09:32 2011
[0]PETSC ERROR: Configure options --with-cc="win32fe cl" --with-fc=0 
--with-cxx="win32fe cl" 
--with-mpi-include=/cygdrive/c/Programme/Microsoft_HPC_Pack_2008_SDK/Include 
--with-mpi-lib=/cygdrive/c/Programme/Microsoft_HPC_Pack_2008_SDK/Lib/i386/msmpi.lib
 CXXFLAGS="-O2 -Ob2 -Oi -Ot -Oy -GT -GL -MD -openmp -FD -EHsc -Zp8 -W3 -Zi" 
CFLAGS="-O2 -Ob2 -Oi -Ot -Oy -GT -GL -MD -openmp -FD -EHsc -Zp8 -W3 -Zi" 
PETSC_ARCH=arch-win32 --download-c-blas-lapack=1 --with-c2html=0 --useThreads=0
[0]PETSC ERROR: 
------------------------------------------------------------------------
[0]PETSC ERROR: PetscBinaryRead() line 274 in 
src/sys/fileio/C:\projekte\common\petsc\PETSC-~1\src\sys\fileio\sysio.c
[0]PETSC ERROR: MatLoad_SeqAIJ() line 3717 in 
src/mat/impls/aij/seq/C:\projekte\common\petsc\PETSC-~1\src\mat\impls\aij\seq\aij.c
[0]PETSC ERROR: MatLoad() line 868 in 
src/mat/interface/C:\projekte\common\petsc\PETSC-~1\src\mat\INTERF~1\matrix.c
[0]PETSC ERROR: User provided function() line 202 in 
"unknowndirectory/".\petscFirstpara.cpp

Has somebody an idea?

Regards J?rgen

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110526/60c72026/attachment-0001.htm>

Reply via email to