On Jun 2, 2012, at 12:31 PM, Wen Jiang wrote: > Thanks for your reply. > > How long is it taking? What file system are you reading the matrix from? > > It seems to never finish. Sorry, I do not know what does the file system > mean. > > 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)? > > I am using 64 processes. The nonzeros in the matrix is around 8 billion. > > 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. >
Are both PETSc's configured with --with-64-bit-indices? Can you read it with fewer processes? Like 32 or 16? barry > Thanks, > > Regards, > Wen > > > > >
