Petsc Error
Matthew Knepley
knepley at gmail.com
Tue Oct 9 10:28:57 CDT 2007
On 10/9/07, Berend van Wachem <berend at chalmers.se> wrote:
> Hi,
>
> I ran the same command again, running top, and got the result
>
> Mem: 6220940k total, 5879056k used, 341884k free, 143992k buffers
> Swap: 1951888k total, 2584k used, 1949304k free, 2363516k cached
>
> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
> 19117 berend 25 0 3037m 2.5g 3508 R 100 41.4 0:44.96 MultiFlow
>
>
>
> just before it crashed. I have a 2 processor machine with total 6 GB of
> memory (2 times 3 gb?), so I don't think it should be out of memory. How
> can I verify this for sure?
Run in the debugger and break on mal.c:61. malloc() is returning a null, but
you can look at errno to see if something crazy is happening.
Matt
> Thanks,
>
> Berend.
>
>
>
> Matthew Knepley wrote:
> > On 10/9/07, Berend van Wachem <berend at chalmers.se> wrote:
> >> Hi,
> >>
> >> On the command
> >>
> >> ierr = DACreateLocalVector(da,g); CHKERRQ(ierr);
> >>
> >> I get the error
> >>
> >>
> >> [0]PETSC ERROR: PetscMallocAlign() line 61 in src/sys/memory/mal.c
> >> Memory requested 6050600
> >> [0]PETSC ERROR: PETSC: Attaching gdb to Debug/MultiFlow of pid 19087 on
> >> display :0.0 on machine tfdpc102
> >>
> >>
> >> What does it mean exactly? Out of memory?
> >
> > Yes. This is strange. The line above these two should read "Out of memory".
> >
> > Matt
> >
> >> Thanks,
> >> Berend.
> >>
> >>
> >
> >
>
>
--
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which
their experiments lead.
-- Norbert Wiener
More information about the petsc-users
mailing list