[petsc-dev] patch for block size in VecLoad_HDF5

Matthew Knepley knepley at gmail.com
Wed May 16 18:35:39 CDT 2012


On Wed, May 16, 2012 at 6:27 PM, Blaise Bourdin <bourdin at lsu.edu> wrote:

> Hi,
>
> ex19 in src/vec/vec/examples/tutorials is still broken, since changing
> block size of a Vec is no longer supported.
> the mechanism in VecLoad_HDF5 was to rely on an undocumented flag
> (-vecload_block_size)
>
> Shall we require that the block size be set _before_ calling VecLoad (in
> which case, I will push a patch to VecLoad_HDF5), or should the block size
> be obtained from the hdf5 files and set?


That is horrible. Require that the input vector have that blocksize and get
rid of that option. The user can just
as easily use that option to set the blocksize before entry.

   Matt


>
> Blaise
>
> --
> Department of Mathematics and Center for Computation & Technology
> Louisiana State University, Baton Rouge, LA 70803, USA
> Tel. +1 (225) 578 1612, Fax  +1 (225) 578 4276
> http://www.math.lsu.edu/~bourdin
>
>
>
>
>
>
>
>


-- 
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/20120516/f81cbe5f/attachment.html>


More information about the petsc-dev mailing list