<div dir="ltr"><div>Hi all,</div><div><br></div><div>I am trying to insert Petsc to OpenFOAM opensource software.<br></div><div>I have been successfully compiling Petsc with an available solver in OpenFOAM by linking it with the shared library libpetsc.so. However, when I call the solver to run a test case, I got an error saying that: "libpetsc.so cannot be found", even though the library still exists in the $PETSC_ARCH/lib folder.</div><div><br></div><div>I have been struggling for weeks but still, have not been able to figure it out. Therefore I would be very grateful for any suggestion to solve this problem.<br></div><div><div><br></div><div>Thanks in advance for your time,</div><div><br></div><div>Best regards,<br></div><div><br></div><div>Vu Do<br></div><div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr" style="font-size:12.8px"><div><b>Vu Q. Do<br></b>------------------------------------------------<br><i style="font-size:12.8px">Student of Aeronautical Engineering</i><br>Programme de Formation d'IngĂ©nieurs d'Excellence au Vietnam <i>- PFIEV</i><br></div><div>School of Transportation Engineering<i><br></i></div>Hanoi University of Science and Technology</div><div dir="ltr" style="font-size:12.8px">01 Dai Co Viet Avenue, Hanoi, Vietnam<br>E-mail: <a href="mailto:vu.doquochust@gmail.com" target="_blank">vu.doquochust@gmail.com</a></div></div></div></div></div></div></div></div></div></div></div></div></div>