space
*) Can I then remove them from the KSP? If so, how?
Thanks much
Yaron
-- next part --
An HTML attachment was scrubbed...
URL:
<http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20060508/41092b4f/attachment.htm>
Hi,
If I want to check the maximum amount of memory PETSc has used during a
program run, is PetscMemoryGetMaximumUsage the function to use? I take it a
call to this function will print out how much Process ID X has used, is this
correct? So If I want to see the total maximum amount of memory used
On Mon, 8 May 2006, Joshua L. Adelman wrote:
> I am a new user of PETsc and was hoping that a more experienced member of the
> group could give me some insight as to what would be the proper formulation
> of the following problem in PETsc. I am attempting to solve the simple ODE:
> d{rho}/dt =
Josh,
You may take a look at
~/src/ts/examples/tests/ex1.c, ex2.c
Let us know if you still have trouble.
Hong
On Mon, 8 May 2006, Joshua L. Adelman wrote:
> I am a new user of PETsc and was hoping that a more experienced
> member of the group could give me some insight as to what would be
> t
Unfortunately that routine is not currently "wired"; getting actual
memory usage is not portable and is a pain.
You can use PetscMallocGetMaximumUsage() to see the maximum amount
of memory PETSc has allocated at any one time (in all the PETSc objects).
Barry
On Mon, 8 May 2006, Sh.M
If you don't get any output with -trdump - it could mean that all
objects are getting properly destroyed. But the swap usage is a bit
unusual.
You could try the option -trmalloc_log to see how memory is allocate
on the PETSc side. And also -log_summary to see the summary of memory
usage.
Also - i
Thanks Barry,
I'm using petsc 2.2.0. When I run my program ( " ./myprogram -trdump " or with
-trmalloc, -trinfo...) I don't obtain anything... in the screen the code doesn't
print
anything.
If I use (for example) "./myprogram -start_on_debugger", in my screen apers gdb
and runs good... and
I am a new user of PETsc and was hoping that a more experienced
member of the group could give me some insight as to what would be
the proper formulation of the following problem in PETsc. I am
attempting to solve the simple ODE:
d{rho}/dt = K*rho
Where K is a large rate matrix that doesn't