<div dir="ltr"><div><div><div><div>Hi PETSc-developers, <br><br></div>Currently, VecView loads an entire dataset from an hdf5 file into a PETSc vector (with any number of mpi ranks). Given that there is no routine to load a subset of an HDF5 dataset into a PETSc vector, the next best thing is to load the entire data-set into memory and select a smaller region as a sub-vector. Is there an example that demonstrates this ? (Mainly to get an idea on how to select a 2d array from a 3d array using a PETSc IS. Given that it's a regular 3D vector is it best to use a DMDA 3Dvec which gives ownership ranges that may aid with creating the IS ?)<br><br></div><div>I've seen on earlier threads that XDMF can be used to create a map of where data is present in hdf5 files, is there an example for doing this with regular vectors to select subvectors as described above ?<br></div></div></div><div><br></div><div>Also, is it possible to have different sub-comms read different hdf5 groups ? 



<br>

</div><div><br clear="all"><div><div><div><div><div>Thank You,<br></div><div><div dir="ltr" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div style="font-size:12.8px">Sajid Ali | PhD Candidate<br></div><div style="font-size:12.8px">Applied Physics<br></div><div style="font-size:12.8px">Northwestern University</div><div style="font-size:12.8px"><a href="http://s-sajid-ali.github.io" target="_blank">s-sajid-ali.github.io</a></div></div></div></div></div></div></div></div></div></div></div></div></div></div>