On Wed, Jun 29, 2011 at 2:37 PM, Elias Goldmann <span dir="ltr"><<a href="mailto:goldmann@itp.uni-bremen.de">goldmann@itp.uni-bremen.de</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<u></u>
<div text="#000000" bgcolor="#ffffff">
Hello,<br>
<br>
i just did my first steps with SLEPc working my way through the
given examples. <br>
Apperently i encounter the error message below when i try to read
from binary files. <br>
If i do understand <a href="http://lists.mcs.anl.gov/pipermail/petsc-users/2009-October/005223.html" target="_blank">this</a>
correctly, this could be related to the combination of 64 bit
systems and complex binary files. Since i want to solve complex
eigenproblems from input files im confused that this causes
problems.<br></div></blockquote><div><br></div><div>It appears the file is not valid. If you used Matlab to make the binary file, this will not work</div><div>because PETSc can only read real numbers from Matlab. However, valid complex binary</div>
<div>files are fine (say from SLEPc or PETSc itself).</div><div><br></div><div>I would check the file I am trying to load.</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 text="#000000" bgcolor="#ffffff">
Any help available?<br>
Thanks,<br>
Elias<br>
<br>
<br>
./ex7 -f1 /home/egoldmann/elias/bfw62a.petsc -f2
/home/egoldmann/elias/bfw62b.petsc<br>
<br>
Generalized eigenproblem stored in file.<br>
<br>
Reading COMPLEX matrices from binary files...<br>
[0]PETSC ERROR: --------------------- Error Message
------------------------------------<br>
[0]PETSC ERROR: Read from file failed!<br>
[0]PETSC ERROR: Read past end of file!<br>
[0]PETSC ERROR:
------------------------------------------------------------------------<br>
[0]PETSC ERROR: Petsc Release Version 3.1.0, Patch 8, Thu Mar 17
13:37:48 CDT 2011<br>
[0]PETSC ERROR: See docs/changes/index.html for recent updates.<br>
[0]PETSC ERROR: See docs/faq.html for hints about trouble shooting.<br>
[0]PETSC ERROR: See docs/index.html for manual pages.<br>
[0]PETSC ERROR:
------------------------------------------------------------------------<br>
[0]PETSC ERROR: ./ex7 on a linux-gnu named node5 by egoldmann Wed
Jun 29 15:54:06 2011<br>
[0]PETSC ERROR: Libraries linked from
/home/egoldmann/petsc-3.1-p8/linux-gnu-c-debug/lib<br>
[0]PETSC ERROR: Configure run at Wed Jun 29 10:19:42 2011<br>
[0]PETSC ERROR: Configure options --with-scalar-type=complex
--download-blopex<br>
[0]PETSC ERROR:
------------------------------------------------------------------------<br>
[0]PETSC ERROR: PetscBinaryRead() line 249 in src/sys/fileio/sysio.c<br>
[0]PETSC ERROR: MatLoad_SeqAIJ() line 3572 in
src/mat/impls/aij/seq/aij.c<br>
[0]PETSC ERROR: MatLoad() line 124 in src/mat/utils/matio.c<br>
[0]PETSC ERROR: main() line 64 in ex7.c<br>
[unset]: aborting job:<br>
application called MPI_Abort(MPI_COMM_WORLD, 66) - process 0<br>
<br>
</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>