<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Jan 14, 2016 at 12:03 AM, praveen kumar <span dir="ltr"><<a href="mailto:praveenpetsc@gmail.com" target="_blank">praveenpetsc@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">I’ve written a fortan code (F90) for domain decomposition.<i> I've specified </i><i>the paths of include files and libraries, but the compiler/linker still
</i><i>complained about undefined references.<br><br>undefined reference to `vectorset_'<br></i></div></blockquote><div><br></div><div><a href="http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Vec/VecSet.html">http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Vec/VecSet.html</a><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><i>undefined reference to `dmdagetlocalinfo_'<br></i></div></blockquote><div><br></div><div>This function is not supported in Fortran since it takes a structure.</div><div><br></div><div> Thanks,</div><div><br></div><div> Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><i></i>I’m attaching makefile and code. any help will be appreciated.<br></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">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></div>