<div dir="ltr"><div dir="ltr">
<div><div>Hi Junchao/Barry, <br><br></div>It doesn't really matter what the h5 file contains,  so I'm attaching a lightly edited script of src/vec/vec/examples/tutorials/ex10.c which should produce a vector to be used as input for the above test case. (I'm working with `
<span class="gmail-pl-s"><span class="gmail-pl-pds"></span>--with-scalar-type</span>=complex`). <br><br></div>Now that I think of it, fixing this bug is not important, I can workaround the issue by creating a new vector with VecCreateMPI and accept the small loss in performance of VecPointwiseMult due to misaligned layouts. If it's a small fix it may be worth the time, but fixing this is not a big priority right now. If it's a complicated fix, this issue can serve as a note to future users. <br><div><div><div><br><br><div>Thank You, <br></div><div><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div style="font-size:12.8px">Sajid Ali<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>