[petsc-users] Problems when saving a large matrix
S V N Vishwanathan
vishy at stat.purdue.edu
Tue Sep 6 20:51:09 CDT 2011
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.cpp
Type: application/octet-stream
Size: 3405 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110906/d956c421/attachment-0003.obj>
-------------- next part --------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.out
Type: application/octet-stream
Size: 469 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110906/d956c421/attachment-0004.obj>
-------------- next part --------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.log.bz2
Type: application/octet-stream
Size: 123364 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110906/d956c421/attachment-0005.obj>
-------------- next part --------------
More information about the petsc-users
mailing list