Hi, I think that depends on how you get the external vector (i.e. can you create it internally or externally), and how big it is (1k entries, 1kk entries, 1kkk entries)?
Regards, Roland Am 03.03.2021 um 22:23 schrieb Smit Thijs: > > Hi All, > > > > I would like to readin a fairly large external vector into PETSc to be > used further. My idea was to write a hdf5 file using Python with the > vector data. Then read that hdf5 file into PETSc using > PetscViewerHDF5Open and VecLoad. Is this the advised way or is there a > better alternative to achieve the same (getting this external array > data into PETSc)? > > > > Best regards, > > > > Thijs Smit > > > > PhD Candidate > > ETH Zurich > > Institute for Biomechanics > > >
