Re: [petsc-users] TSAdjoint multilevel checkpointing running out of memory

2020-12-10 Thread Barry Smith
Anton, You can try running a smaller problem that does not run out of memory with -log_view -log_view_memory. This should show in the right most columns how much memory is being used and added for each event in the computation and might help you track down where the memory is being gobbl

Re: [petsc-users] Is there a way to estimate total memory prior to solve

2020-12-10 Thread Barry Smith
Randy This is a great question, I have made an issue based on it https://gitlab.com/petsc/petsc/-/issues/799 It is difficult, but not impossible to get some bounds on the memory required, but it would need to be done for each preconditione

[petsc-users] Is there a way to estimate total memory prior to solve

2020-12-10 Thread Randall Mackie
Dear PETSc users: While I can calculate the amount of memory any vector arrays I allocate inside my code (and probably get pretty close to any matrices), what I don’t know how to estimate is how much memory internal PETSc iterative solvers will take. Is there some way to get a reasonable estima