[petsc-dev] many subdomains per process
Jed Brown
jed at 59A2.org
Sun Feb 7 10:38:28 CST 2010
On Sat, 6 Feb 2010 19:39:30 -0600, Barry Smith <bsmith at mcs.anl.gov> wrote:
>
> You could try running with -malloc_log to see where all the memory
> is being malloced by PETSc.
baijov.c:182
ierr = PetscMalloc((imax)*(sizeof(PetscBT) + sizeof(PetscInt*)+ sizeof(PetscInt)) +
(Mbs)*imax*sizeof(PetscInt) + (Mbs/PETSC_BITS_PER_BYTE+1)*imax*sizeof(char),&table);CHKERRQ(ierr);
This involves Mbs*imax which is the number of nodes per process times
the number of subdomains per process. I haven't investigated how
difficult it would be to make this scalable.
Jed
More information about the petsc-dev
mailing list