[petsc-users] undefined symbols in libpetsc.a

Christian Staudt christian.staudt at ira.uka.de
Fri Apr 20 10:17:31 CDT 2012


Hi PETSc users,

I am trying out PETSc with something very simple from the tutorials [3], creating a vector. My source code:  [1]
The compiler (via Eclipse CDT) fails with the output [2] - undefined symbols "_dswap" "_dnrm2" etc.. in libpetsc.a

I have no idea where to start looking for the error and would be thankful for some hints.

Chris

[1] http://pastebin.com/eMdpAbHy
[2] http://pastebin.com/AB6UynTV
[3] http://www.mcs.anl.gov/petsc/petsc-current/src/vec/vec/examples/tutorials/ex1.c.html




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120420/0f58b357/attachment.htm>


More information about the petsc-users mailing list