[petsc-users] PetscFECreateDefault in Fortran

Justin Pogacnik j.pogacnik at auckland.ac.nz
Tue May 30 22:19:34 CDT 2017


Hello,


I'm developing a finite element code in fortran 90. I recently updated my PETSc and am now getting the following error during compile/linking on an existing application:

Undefined symbols for architecture x86_64:

  "_petscfecreatedefault_", referenced from:

      _MAIN__ in fe_test.o

ld: symbol(s) not found for architecture x86_64

collect2: error: ld returned 1 exit status

make: *** [dist/fe_test] Error 1


I'm running Mac OS X Yosemite (10.10.5). I've created a "minimum working example" (attached) that re-creates the problem. It's basically just dm/impls/plex/examples/tutorials/ex3f90, but tries to create a PetscFE object. Everything goes fine and the DM looks like what is expected if PetscFECreateDefault is commented out. Any idea what am I missing?

Many thanks!

Justin



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20170531/a46cbf53/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fe_test.F90
Type: application/octet-stream
Size: 1679 bytes
Desc: fe_test.F90
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20170531/a46cbf53/attachment.obj>


More information about the petsc-users mailing list