[petsc-users] VecLoad hdf5

Josh L ysjosh.lo at gmail.com
Tue Dec 4 13:42:44 CST 2018


Hi,

I have a vec.h5 that generated serially by
  gv is a sequential vec
 VecSetblockSize(gv,3)
 PetscViewerHDF5Open(vec,h5,write)
  VecView(gv)

and I want to read in with different number of processor by
  DMGetGlobalVector(dm,nv)
  PetscViewerHDF5Open(write)
  VecLoad(nv)

nv has bs=3, and I have set bs for gv as 3.

I get the following error. any hint to solve it ? thanks

Error in HDF5 call H5Gcreate2() Status -1
  #000: H5G.c line 314 in H5Gcreate2(): unable to create group
    major: Symbol table
    minor: Unable to initialize object
  #001: H5Gint.c line 194 in H5G__create_named(): unable to create and link
to group
    major: Symbol table
    minor: Unable to initialize object
  #002: H5L.c line 1638 in H5L_link_object(): unable to create new link to
object
    major: Links
    minor: Unable to initialize object
  #003: H5L.c line 1882 in H5L_create_real(): can't insert link
    major: Symbol table
    minor: Unable to insert object
  #004: H5Gtraverse.c line 861 in H5G_traverse(): internal path traversal
failed
    major: Symbol table
    minor: Object not found
  #005: H5Gtraverse.c line 641 in H5G_traverse_real(): traversal operator
failed
    major: Symbol table
    minor: Callback failed
  #006: H5L.c line 1685 in H5L_link_cb(): unable to create object
    major: Object header
    minor: Unable to initialize object
  #007: H5O.c line 3016 in H5O_obj_create(): unable to open object
    major: Object header
    minor: Can't open object
  #008: H5Goh.c line 268 in H5O_group_create(): unable to create group
    major: Symbol table
    minor: Unable to initialize object
  #009: H5Gint.c line 245 in H5G__create(): unable to create group object
header
    major: Symbol table
    minor: Unable to initialize object
  #010: H5Gobj.c line 163 in H5G__obj_create(): unable to create group
    major: Symbol table
    minor: Unable to create file
  #011: H5Gobj.c line 206 in H5G__obj_create_real(): no write intent on file
    major: Object cache
    minor: Bad value
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20181204/9d3d4ab0/attachment.html>


More information about the petsc-users mailing list