[petsc-users] Changed output of VecView in 3.2
Jed Brown
jedbrown at mcs.anl.gov
Thu Nov 10 08:17:53 CST 2011
On Thu, Nov 10, 2011 at 06:14, Manfred Gratt <manfred.gratt at uibk.ac.at>wrote:
> I am using petsc since 3.1 and upgraded my program to 3.2. I have now the
> problem that the Vector output in ASCII has changed.
> From only a list of numbers to the name of process that had the data and
> then the numbers. Like this:
>
> Vector Object: 2 MPI processes
> type: mpi
> Process [0]
> 0
> 0
> 0
>
> Is there a option to change it back to only display numbers again?
>
There isn't an option to do this. Of course it's easy to implement, but
it's feature-creep.
> I use this output only for a rough estimation if the solution is correct
> and I don't want to rewrite the tool to check the correctness.
>
Is it that hard to update the tests, either by updating the "gold" output,
or by passing the results through a filter that strips out those lines, e.g.
perl -pe 's,^(Vector Object:\w* \d+ MPI processes| type: \w+|Process
\[\d+\])\n,,'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20111110/46c4aadf/attachment.htm>
More information about the petsc-users
mailing list