<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Nov 9, 2021 at 9:09 AM Magu Raam Prasaad R via petsc-users <<a href="mailto:petsc-users@mcs.anl.gov">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 style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Hello all,</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
I am getting this error message while loading vectors from files. I have attached the code to reproduce the error message. </div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Steps to compile and run the code can be found in monople/README</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Machine type: WorkStation</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
OS version : Ubuntu 17.04</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
PETSC version: 3.14.4</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Compiler : GNU C</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
MPI: mpich</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Petsc Components: Vec </div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
[0]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------
<div>[0]PETSC ERROR: Unable to open file</div>
<div>[0]PETSC ERROR: Cannot open file p-00502.dat for READ: ��H�E�� ��</div></div></div></blockquote><div><br></div><div>I don't see this .dat file. Maybe try the full path name or add the file to the working directory.</div><div><br></div><div> </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 style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<div>[0]PETSC ERROR: See <a href="https://www.mcs.anl.gov/petsc/documentation/faq.html" target="_blank">https://www.mcs.anl.gov/petsc/documentation/faq.html</a> for trouble shooting.</div>
<div>[0]PETSC ERROR: Petsc Release Version 3.14.4, unknown </div>
<div>[0]PETSC ERROR: ./kirchhoff on a linux-gnu-c-debug named galois by ratnesh Tue Nov 9 15:05:43 2021</div>
<div>[0]PETSC ERROR: Configure options --download-triangle --download-ctetgen --download-chaco --download-metis --download-parmetis --download-hdf5</div>
<div>[0]PETSC ERROR: #1 PetscBinaryOpen() line 505 in /home/ratnesh/petsc/src/sys/fileio/sysio.c</div>
<div>[0]PETSC ERROR: #2 PetscViewerFileSetUp_BinarySTDIO() line 1457 in /home/ratnesh/petsc/src/sys/classes/viewer/impls/binary/binv.c</div>
<div>[0]PETSC ERROR: #3 PetscViewerSetUp_Binary() line 1512 in /home/ratnesh/petsc/src/sys/classes/viewer/impls/binary/binv.c</div>
<div>[0]PETSC ERROR: #4 PetscViewerSetUp() line 328 in /home/ratnesh/petsc/src/sys/classes/viewer/interface/view.c</div>
<div>[0]PETSC ERROR: #5 VecLoad_Binary() line 73 in /home/ratnesh/petsc/src/vec/vec/utils/vecio.c</div>
<div>[0]PETSC ERROR: #6 VecLoad_Default() line 279 in /home/ratnesh/petsc/src/vec/vec/utils/vecio.c</div>
<div>[0]PETSC ERROR: #7 VecLoad() line 950 in /home/ratnesh/petsc/src/vec/vec/interface/vector.c</div>
<div>[0]PETSC ERROR: #8 ComputePressureAtEmissionTime() line 239 in /home/ratnesh/Desktop/kirchhoff/monopole/kirchhoff/kirchhoff.c</div>
<div>[0]PETSC ERROR: #9 main() line 425 in /home/ratnesh/Desktop/kirchhoff/monopole/kirchhoff/kirchhoff.c</div>
<div>[0]PETSC ERROR: PETSc Option Table entries:</div>
<div>[0]PETSC ERROR: -vecload_block_size 1</div>
<div>[0]PETSC ERROR: ----------------End of Error Message -------send entire error message to petsc-maint@mcs.anl.gov----------</div>
<div>--------------------------------------------------------------------------</div>
<div>Sorry! You were supposed to get help about:</div>
<div> mpi-abort</div>
<div>But I couldn't open the help file:</div>
<span> /usr/share/openmpi/help-mpi-api.txt: Too many open files. Sorry!</span><br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<span><br>
</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Thank you.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Regards</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Magu</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<span><br>
</span></div>
</div>
</blockquote></div></div>