2011/5/26 Dürrwang, Jürgen <span dir="ltr"><<a href="mailto:Juergen.Duerrwang@iosb.fraunhofer.de">Juergen.Duerrwang@iosb.fraunhofer.de</a>></span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div lang="DE" link="blue" vlink="purple"><div><p class="MsoNormal">Hi,</p><p class="MsoNormal"> </p><p class="MsoNormal"><span lang="EN-US">I have some strange failure using </span><a href="http://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-3.1-p8.tar.gz" target="_blank"><span lang="EN-US" style="color:windowtext;text-decoration:none">petsc-3.1-p8</span></a><span lang="EN-US">. Before I used petsc-3.1-p3 and everything works fine. Now in this code block occurs a failure:</span></p>
</div></div></blockquote><div><br></div><div>1) This appears to be petsc-dev, not petsc-3.1-p8</div><div><br></div><div>2) The MatLoad() format did not change. You can send the binary file to <a href="mailto:petsc-maint@mcs.anl.gov">petsc-maint@mcs.anl.gov</a> and we can look at it.</div>
<div><br></div><div> Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div lang="DE" link="blue" vlink="purple"><div><p class="MsoNormal"> </p>
<p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US"> /* Read in matrix */ </span></p><p class="MsoNormal"><span lang="EN-US"> ierr = PetscViewerBinaryOpen(PETSC_COMM_WORLD,"A.dat",FILE_MODE_READ,&viewer);CHKERRQ(ierr);</span></p>
<p class="MsoNormal"><span lang="EN-US"> ierr = MatCreate(PETSC_COMM_WORLD,&A);CHKERRQ(ierr);</span></p><p class="MsoNormal"><span lang="EN-US"> ierr = MatLoad(A, viewer);CHKERRQ(ierr); //ierr = MatLoad(viewer,MATMPIAIJ,&A);CHKERRQ(ierr); this was the old call</span></p>
<p class="MsoNormal"><span lang="EN-US"> ierr = PetscViewerDestroy(&viewer);CHKERRQ(ierr);</span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal">
<span lang="EN-US">and this is the error Message:</span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">>singleCore.bat</span></p><p class="MsoNormal"><span lang="EN-US">[0]PETSC ERROR: --------------------- Error Message ------------------------------------</span></p>
<p class="MsoNormal"><span lang="EN-US">[0]PETSC ERROR: Read from file failed!</span></p><p class="MsoNormal"><span lang="EN-US">[0]PETSC ERROR: Read past end of file!</span></p><p class="MsoNormal"><span lang="EN-US">[0]PETSC ERROR: ------------------------------------------------------------------------</span></p>
<p class="MsoNormal"><span lang="EN-US">[0]PETSC ERROR: Petsc Development HG revision: HG Date: </span></p><p class="MsoNormal"><span lang="EN-US">[0]PETSC ERROR: See docs/changes/index.html for recent updates.</span></p>
<p class="MsoNormal"><span lang="EN-US">[0]PETSC ERROR: See docs/faq.html for hints about trouble shooting.</span></p><p class="MsoNormal"><span lang="EN-US">[0]PETSC ERROR: See docs/index.html for manual pages.</span></p>
<p class="MsoNormal"><span lang="EN-US">[0]PETSC ERROR: ------------------------------------------------------------------------</span></p><p class="MsoNormal"><span lang="EN-US">[0]PETSC ERROR: petscFirstParallel on a arch-win3 named MRD-PC43 by duerrw Thu May 26 13:33:51 2011</span></p>
<p class="MsoNormal"><span lang="EN-US">[0]PETSC ERROR: Libraries linked from /cygdrive/c/projekte/common/petsc/petsc-dev/arch-win32/lib</span></p><p class="MsoNormal"><span lang="EN-US">[0]PETSC ERROR: Configure run at Fri May 20 17:09:32 2011</span></p>
<p class="MsoNormal"><span lang="EN-US">[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</span></p>
<p class="MsoNormal"><span lang="EN-US">[0]PETSC ERROR: ------------------------------------------------------------------------</span></p><p class="MsoNormal"><span lang="EN-US">[0]PETSC ERROR: PetscBinaryRead() line 274 in src/sys/fileio/C:\projekte\common\petsc\PETSC-~1\src\sys\fileio\sysio.c</span></p>
<p class="MsoNormal"><span lang="EN-US">[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</span></p><p class="MsoNormal"><span lang="EN-US">[0]PETSC ERROR: MatLoad() line 868 in src/mat/interface/C:\projekte\common\petsc\PETSC-~1\src\mat\INTERF~1\matrix.c</span></p>
<p class="MsoNormal"><span lang="EN-US">[0]PETSC ERROR: User provided function() line 202 in "unknowndirectory/".\petscFirstpara.cpp</span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal">
<span>Has somebody an idea?</span></p><p class="MsoNormal"><span> </span></p><p class="MsoNormal"><span>Regards Jürgen</span></p><p class="MsoNormal"> </p></div></div></blockquote></div><br><br clear="all"><br>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>
-- Norbert Wiener<br>