[petsc-users] linker error, undefined reference to `petscstack'

Hari Kodali hari at iastate.edu
Mon Aug 23 22:28:56 CDT 2010


Hi all,

I received a linker error while using petsc

in $PETSC_DIR/$PETSC_ARCH/include/petscis.h:135: undefined reference to
`petscstack'

i tried
nm $PETSC_DIR/$PETSC_ARCH/lib/*.* | grep petscstack
but this command did not return any values.

PS:
petscstack is defined in 'petscerror.h' which is included in 'petsc.h'


any help to debug this would be appreciated.

-- 
Thanks,
Hari Krishna Kodali
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20100823/5a37c25f/attachment.htm>


More information about the petsc-users mailing list