<div dir="ltr">This error persists after updating petsc to 3.10.3. <br></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Dec 14, 2018 at 4:17 PM Matthew Knepley <<a href="mailto:knepley@gmail.com">knepley@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">I think this was the last commit (5eab803f81ff61e3e81a6486d2410623a017e36d) in the branch,</div><div>but just using the current master should work.</div><div><br></div><div> Matt</div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Dec 14, 2018 at 4:04 PM Sajid Ali <<a href="mailto:sajidsyed2021@u.northwestern.edu" target="_blank">sajidsyed2021@u.northwestern.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail-m_-7350965135967399322gmail-m_1135637871216751188markdown-here-wrapper"><p style="margin:0px 0px 1.2em">Hi Matthew, </p>
<p style="margin:0px 0px 1.2em">Thanks for the info. Could you give a specific commit that I should rebuild PETSc with ? I’m currently building with commit=<code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);background-color:rgb(248,248,248);border-radius:3px;display:inline">83593104eb216a023c00ab8a3f9897d55e531412'. </code></p>
<div title="MDH:PGRpdj5IaSBNYXR0aGV3LCA8YnI+PGJyPjwvZGl2PlRoYW5rcyBmb3IgdGhlIGluZm8uIENvdWxk
IHlvdSBnaXZlIGEgc3BlY2lmaWMgY29tbWl0IHRoYXQgSSBzaG91bGQgcmVidWlsZCBQRVRTYyB3
aXRoID8gSSdtIGN1cnJlbnRseSBidWlsZGluZyB3aXRoIGNvbW1pdD1gODM1OTMxMDRlYjIxNmEw
MjNjMDBhYjx3YnI+OGEzZjk4OTdkNTVlNTMxNDEyJ2A8YnI+" style="height:0px;width:0px;max-height:0px;max-width:0px;overflow:hidden;font-size:0em;padding:0px;margin:0px"></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Dec 14, 2018 at 12:56 PM Matthew Knepley <<a href="mailto:knepley@gmail.com" target="_blank">knepley@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">I believe this is now fixed in 'master', It was a bug in HDF5 attribute creation.<div><br></div><div> Thanks,</div><div><br></div><div> Matt</div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Dec 14, 2018 at 1:16 PM Sajid Ali via petsc-users <<a href="mailto:petsc-users@mcs.anl.gov" target="_blank">petsc-users@mcs.anl.gov</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><div><div>Hi, <br><br></div>I have a question about PetscViewerHDF5SetTimestep usage. <br></div><br></div><div>I have tried the following minimal example which tries to write a vector twice to an hdf5 file and it fails with the error message shown below. <br></div><div><br></div><div>Example : <a href="https://pastebin.com/cAeZsUgA" target="_blank">https://pastebin.com/cAeZsUgA</a></div><div><br></div><div>Error :<br><br>writing vector in hdf5 to vector.dat ...<br>HDF5-DIAG: Error detected in HDF5 (1.10.4) MPI-process 0:<br> #000: H5A.c line 279 in H5Acreate2(): unable to create attribute<br> major: Attribute<br> minor: Unable to initialize object<br> #001: H5Aint.c line 323 in H5A__create(): unable to create attribute<br> major: Attribute<br> minor: Unable to create file<br> #002: H5Aint.c line 167 in H5A__create_common(): attribute already exists<br> major: Attribute<br> minor: Object already exists<br>[0]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------<br>[0]PETSC ERROR: Error in external library<br>[0]PETSC ERROR: Error in HDF5 call H5Acreate2() Status -1<br>[0]PETSC ERROR: See <a href="http://www.mcs.anl.gov/petsc/documentation/faq.html" target="_blank">http://www.mcs.anl.gov/petsc/documentation/faq.html</a> for trouble shooting.<br>[0]PETSC ERROR: Petsc Release Version 3.10.2, unknown <br><br></div><br></div><div>The error is related to the second VecView after setting the timestep to 1. Am i doing something wrong ? <br clear="all"></div><div dir="ltr"><div><div><div><div><div><br></div><div>Thank You, <br></div><div><div dir="ltr" class="gmail-m_-7350965135967399322gmail-m_1135637871216751188gmail-m_-2679415242072822356gmail-m_8486086263868930825gmail_signature"><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></div></div></div></div></div></div></div></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail-m_-7350965135967399322gmail-m_1135637871216751188gmail-m_-2679415242072822356gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener</div><div><br></div><div><a href="http://www.cse.buffalo.edu/~knepley/" target="_blank">https://www.cse.buffalo.edu/~knepley/</a><br></div></div></div></div></div></div></div>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail-m_-7350965135967399322gmail-m_1135637871216751188gmail_signature"><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></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail-m_-7350965135967399322gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener</div><div><br></div><div><a href="http://www.cse.buffalo.edu/~knepley/" target="_blank">https://www.cse.buffalo.edu/~knepley/</a><br></div></div></div></div></div></div></div>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><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></div>