[petsc-users] petscstack undefined reference from SLEPc
Matthew Knepley
knepley at gmail.com
Sat Jun 25 16:00:35 CDT 2011
On Sat, Jun 25, 2011 at 2:54 PM, Umut Tabak <u.tabak at tudelft.nl> wrote:
> Dear all,
>
> I was trying to update an old eigenvalue solver wrapper of mine that is
> dependent on Slepc, however I am getting an error on the linking phase as
> such
>
> /home/utab/external_programs/**slepc-3.1-p6/src/eps/**interface/basic.c:43:
> undefined reference to `petscstack'
>
> So basically the error comes from the SLEPc side but the nm command on the
> libpetsc.a also does not return a symbol with this name, so a bit puzzled. I
> am using 3.1.patch 8 and slepc 3.1 patch 6.
>
> Any pointer on the whereabouts of my problem is appreciated.
>
Its defined in src/sys/err/pstack.c. Its only defined if PETSC_USE_DEBUG is
#defined. Are you combining debug and non-debug libraries?
Matt
> Best regards,
> Umut
>
--
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/20110625/ed917e28/attachment.htm>
More information about the petsc-users
mailing list