[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Petsc Error
- To: petsc-users@xxxxxxxxxxx
- Subject: Re: Petsc Error
- From: "Matthew Knepley" <knepley@xxxxxxxxx>
- Date: Tue, 9 Oct 2007 10:28:57 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=BtwGk/ZrBZQL373Am7L/Ce73YkBpddRjpk4Mhl8sjgg=; b=oRBZYAZgK+o5n+tx+hNwbUgc/drXr+5aLh2rbLWEgIOEJ4vdOl1yjzNkIys5C4qKnmz9dOv9FR+0cvSD8tYj25Fzw17LmSFbWq8R/W2UxlNXgjfOjl7glmQ1n/XHsme0nZzrPKx5rzSis77nUQl4v9lYv3qXjskVMQpJDjEU15w=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Z8HLRjZMf1uQvPgPNboR7Sf4OZ7YEBwtx68SSehRsQewtyndvBSe8wLbUj30Cz1ML6/CkAbfbvkBw3TDiFQmb0ipcW/WhFch0FwYWa8S+j5S7CMy3S+imMTWrhswG/FWFcSIMjj7ms8oAKW9VNqJ04zem7kbYZBnrE2gJGYX/cE=
- In-reply-to: <470B9D50.8060901@chalmers.se>
- References: <470B7B31.9070803@chalmers.se> <a9f269830710090613j7f491647ya5a0925576d96163@mail.gmail.com> <470B9D50.8060901@chalmers.se>
- Reply-to: petsc-users@xxxxxxxxxxx
- Sender: owner-petsc-users@xxxxxxxxxxx
On 10/9/07, Berend van Wachem <berend@xxxxxxxxxxx> 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@xxxxxxxxxxx> 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