Thanks for your reply. <br><div class="gmail_quote"><br>How long is it taking? What file system are you reading the matrix from?<br><br> It seems to never finish. Sorry, I do not know what does the file system mean.<br>
<br>What version of PETSc is this? How was the file generated? How many
processes are you using? Does it work on less processes (like 1, 2 )?
How many nonzeros in the matrix (roughly)?<br><br> I am using 64 processes. The nonzeros in the matrix is around 8 billion. <br><br> I am using PETSc dev. But the binary file was generated by PETSc 3.2 PetscViewerBinaryOpen(PETSC_COMM_WORLD,"l2projphim.dat",FILE_MODE_WRITE,&viewer). I just tried to use PETSc 3.2 to read and it had no problem. For a smaller matrix, PETSc dev successfully read the binary file generated by PETSc 3.2. But I do not know why it does not work for large matrix. <br>
<br>Thanks,<br><br>Regards,<br>Wen<br><br> <br><br><br></div><br>