> On May 2, 2019, at 2:11 PM, zakaryah via petsc-users 
> <[email protected]> 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.
> 
>  

Reply via email to