[petsc-users] Problems when saving a large matrix

Barry Smith bsmith at mcs.anl.gov
Tue Sep 6 20:57:18 CDT 2011


  You will need to switch to the 3.2 release candidate:



http://ftp.mcs.anl.gov/pub/petsc/petsc-dev.tar.gz

> or via Mecurial at:
>> 
>> ssh://petsc@petsc.cs.iit.edu//hg/petsc/releases/petsc-3.2                        or    http://petsc.cs.iit.edu/petsc/releases/petsc-3.2
>> ssh://petsc@petsc.cs.iit.edu//hg/petsc/releases/BuildSystem-3.2           or    http://petsc.cs.iit.edu/petsc/releases/BuildSystem-3.2

  there are bugs in all the MPI implementations for very long buffers that 3.2 works around to allow any size matrix.

  Barry



On Sep 6, 2011, at 8:51 PM, S V N Vishwanathan wrote:

> Dear all
> 
> I have a large matrix in a text file which I am trying to convert and
> save in PETSc binary format. However I run into some strange MPI errors
> when I try to save the matrix.
> 
> I have created a minimal example file to reproduce my problem. I ran it
> with 
> 
> #PBS -l pmem=16GB
> #PBS -l select=8:mpiprocs=1:ncpus=1
> #PBS -l place=excl:scatter
> 
> and it crashed when writing the file to disk. Note that if I use smaller
> values of m in the code then it works reliably.
> 
> My PETSc installation is compiled with --with-64-bit-indices and I took
> care to ensure that all arguments to PETSc functions are PetscInt
> wherever appropriate. Please find code, output, and configure.log
> attached.
> 
> Any pointers on what is going wrong are deeply appreciated. 
> 
> thanks
> 
> vishy
> 
> <test.cpp>
> <test.out>
> <configure.log.bz2>



More information about the petsc-users mailing list