Re: [petsc-users] How to dump and load a petsc object in python?

2016-11-08 Thread Florian Lindner
Hey, Am 08.11.2016 um 09:57 schrieb Ji Zhang: > Dear all, > > I'm a petsc and petsc4py user. I want to save some petsc matrices and vectors > after calculation, and reload them later. > However, it is difficult for me. I think one of the following two ways may > have the potential to perform

[petsc-users] How to dump and load a petsc object in python?

2016-11-08 Thread Ji Zhang
Dear all, I'm a petsc and petsc4py user. I want to save some petsc matrices and vectors after calculation, and reload them later. However, it is difficult for me. I think one of the following two ways may have the potential to perform what I want. 1) Using the pickle (a python module), I can not