[petsc-dev] error reading binary file

Matthew Knepley knepley at gmail.com
Tue Jun 12 14:42:24 CDT 2012


On Wed, Jun 13, 2012 at 3:45 AM, Mark F. Adams <mark.adams at columbia.edu>wrote:

> >
> > I thought there would be a -vec_block_size option, but alas its missing.
> Can you check in the debugger
> > when the block size is getting set? I cannot find it in
> VecSetFromOptions().
>
> Its in the stack trace right?
>

That is the second time, I want the first.

  Matt


> Thanks,
> mark
>
> [0]PETSC ERROR:
> ------------------------------------------------------------------------
> [0]PETSC ERROR: PetscLayoutSetBlockSize() line 460 in
> /Users/markadams/Codes/petsc-dev/src/vec/vec/impls/mpi/pmap.c
> [0]PETSC ERROR: VecSetBlockSize() line 1526 in
> /Users/markadams/Codes/petsc-dev/src/vec/vec/interface/vector.c
> [0]PETSC ERROR: VecLoad_Binary() line 104 in
> /Users/markadams/Codes/petsc-dev/src/vec/vec/utils/vecio.c
> [0]PETSC ERROR: VecLoad_Default() line 348 in
> /Users/markadams/Codes/petsc-dev/src/vec/vec/utils/vecio.c
> [0]PETSC ERROR: VecLoad() line 1111 in
> /Users/markadams/Codes/petsc-dev/src/vec/vec/interface/vector.c
> [0]PETSC ERROR: main() line 132 in src/ksp/ksp/examples/tutorials/ex10.c
>
>
>


-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20120613/4da2ab91/attachment.html>


More information about the petsc-dev mailing list