On Apr 27, 2012, at 8:19 AM, Ataollah Mesgarnejad wrote:

> Dear all,
> 
> I was wondering if there is way to write numpy arrays as native PETSc  
> binaries in python so I can open them inside my program with VecView?

   In petsc-dev in the directory bin/pythonscripts is PetscBinaryIO.py which 
has python utilities for reading and writing python arrays to PETSc binary 
format.

    Barry

> 
> Thanks,
> Ata

Reply via email to