<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">Dear community,<div><br></div><div>I am transitioning a working Fortran code based on version 3.10.4 to version 3.19.0.<div>The code compiles except for one problem during linking where PetscInitialize can no longer be found (<span style="font-family: Menlo; font-size: 11px;">undefined reference to `petscinitialize_</span><font face="Menlo"><span style="font-size: 11px;">’</span></font>).</div><div><br></div><div>I am attaching the piece of code where the call is made. Removing the call makes the whole code compile so this is the only error.</div><div>I added the include line of petsc.h as the documentation seems to imply this, but this did not help.</div><div><br></div><div>Any help is appreciated.</div><div><br></div><div>Thanks,</div><div>Danny.</div></div></body></html>