[petsc-users] undefined reference error in make test

Matthew Knepley knepley at gmail.com
Thu Jan 14 10:09:46 CST 2016


On Thu, Jan 14, 2016 at 12:03 AM, praveen kumar <praveenpetsc at gmail.com>
wrote:

> I’ve written a fortan code (F90)  for domain decomposition.* I've
> specified **the paths of include files and libraries, but the
> compiler/linker still *
>
>
> *complained about undefined references.undefined reference to `vectorset_'*
>

http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Vec/VecSet.html


>
> *undefined reference to `dmdagetlocalinfo_'*
>

This function is not supported in Fortran since it takes a structure.

  Thanks,

    Matt


> I’m attaching makefile and code. any help will be appreciated.
>



-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20160114/28bbdb5d/attachment.html>


More information about the petsc-users mailing list