[petsc-users] Vector layout in PetscBinaryRead.m

Smith, Barry F. bsmith at mcs.anl.gov
Thu May 2 16:07:28 CDT 2019



> On May 2, 2019, at 2:11 PM, zakaryah via petsc-users <petsc-users at mcs.anl.gov> wrote:
> 
> I get a segfault on VecViewFromOptions, with the command line you suggested.  Likewise, if I execute ex10 (Tests I/O of vectors for different data formats (binary,HDF5) and illustrates the use of user-defined event logging), even with -n 1, I get a segfault.

   Please send the command line options you use and all the output with the error message. We would like for it to never crash with a segfault but rather for it to return a very useful error message if your syntax is wrong.


   Barry



> 
> Is VecViewFromOptions documented somewhere?  Google only turns up the version from 3.2, which took two arguments.  From the source, it looks like a wrapper for PetscObjectViewFromOptions, but I still don't see all the format specifications.  I'd like to test whether the same code crashes for other formats, like binary, matlab, etc.
> 
>  



More information about the petsc-users mailing list