Re: [petsc-users] Command line option -memory_info

2019-05-07 Thread Sanjay Govindjee via petsc-users
Thanks!  I had tried searching the petsc site for -memory_info, not sure why this did not come up. Notwithstanding, thanks again. -sanjay On 5/7/19 6:35 PM, Zhang, Junchao wrote: https://www.mcs.anl.gov/petsc/documentation/changes/37.html has   PetscMemoryShowUsage() and -memory_info changed

Re: [petsc-users] Command line option -memory_info

2019-05-07 Thread Zhang, Junchao via petsc-users
https://www.mcs.anl.gov/petsc/documentation/changes/37.html has PetscMemoryShowUsage() and -memory_info changed to PetscMemoryView() and -memory_view --Junchao Zhang On Tue, May 7, 2019 at 6:56 PM Sanjay Govindjee via petsc-users mailto:petsc-users@mcs.anl.gov>> wrote: I was trying to clean

[petsc-users] Command line option -memory_info

2019-05-07 Thread Sanjay Govindjee via petsc-users
I was trying to clean up some old scripts we have for running our codes which include the command line option -memory_info. I went digging in the manuals to try and figure out what this used to do and what has replaced its functionality but I wasn't able to figure it out.  Does anyone recall the

Re: [petsc-users] Question about parallel Vectors and communicators

2019-05-07 Thread Mark Adams via petsc-users
On Tue, May 7, 2019 at 11:38 AM GIRET Jean-Christophe via petsc-users < petsc-users@mcs.anl.gov> wrote: > Dear PETSc users, > > > > I would like to use Petsc4Py for a project extension, which consists > mainly of: > > - Storing data and matrices on several rank/nodes which could > not

Re: [petsc-users] Question about parallel Vectors and communicators

2019-05-07 Thread Jed Brown via petsc-users
The standard approach would be to communicate via the parent comm. So you split comm world into part0 and part1 and use a VecScatter with vecs on world (which can have zero entries on part1 and part0 respectively) to exchange your data. You can use VecPlaceArray or VecCreate*WithArray to avoid

[petsc-users] Question about parallel Vectors and communicators

2019-05-07 Thread GIRET Jean-Christophe via petsc-users
Dear PETSc users, I would like to use Petsc4Py for a project extension, which consists mainly of: - Storing data and matrices on several rank/nodes which could not fit on a single node. - Performing some linear algebra in a parallel fashion (solving sparse linear system for