[petsc-dev] undefined reference to `petscstack'

Blaise Bourdin bourdin at lsu.edu
Tue Jun 28 05:26:10 CDT 2011


That  would make sense...
I think that the external packages were compiled with debugging=1, but petsc-dev with debugging=0.  I am rebuilding and testing now.

Thanks a lot,

Blaise

On Jun 28, 2011, at 12:10 PM, Matthew Knepley wrote:

> This usually comes from mixing something debug with something optimized. 'petscstack' is only defined for debug builds.
> 
>    Matt
> 
> On Tue, Jun 28, 2011 at 4:17 AM, Blaise Bourdin <bourdin at lsu.edu> wrote:
> Hi,
> 
> On a freshly pulled / reconfigured / rebuild version of petsc-dev, I get the following link error whenever I try to compile any example:
> 
> /share/apps/mvapich2-1.6-ib-intel11.1/bin/mpicxx -lstdc++   -wd1572 -O3 -axSSE4.2 -Kc++  -o ex10 ex10.o -Wl,-rpath,/share/apps/petsc-dev/Linux-intel11.1-mef90-O/lib -L/share/apps/petsc-dev/Linux-intel11.1-mef90-O/lib  -lpetsc -lX11 -Wl,-rpath,/share/apps/petsc-dev/Linux-intel11.1-mef90-O/lib -lchaco -lpromfei -lprometheus -lparmetis -lmetis -lHYPRE -lml -Wl,-rpath,/share/apps/intel/Compiler/11.1/075/mkl -L/share/apps/intel/Compiler/11.1/075/mkl -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -liomp5 -lpthread -Wl,-rpath,/share/apps/exodusii-4.81-intel11.1/lib -L/share/apps/exodusii-4.81-intel11.1/lib -lexoIIv2for -lexoIIv2c -Wl,-rpath,/share/apps/netcdf-4.1.1-intel11.1/lib -L/share/apps/netcdf-4.1.1-intel11.1/lib -lnetcdf_c++ -lnetcdf -lhdf5_fortran -lhdf5 -lz -lstdc++ -ldl -Wl,-rpath,/share/apps/mvapich2-1.6-ib-intel11.1/lib -L/share/apps/mvapich2-1.6-ib-intel11.1/lib -lmpich -lopa -llimic2 -lpthread -lrdmacm -libverbs -libumad -lrt -Wl,-rpath,/share/apps/intel/Compiler/11.1/075/mkl/lib/em64t -L/share/apps/intel/Compiler/11.1/075/mkl/lib/em64t -Wl,-rpath,/share/apps/intel/Compiler/11.1/075/lib/intel64 -L/share/apps/intel/Compiler/11.1/075/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.1.2 -L/usr/lib/gcc/x86_64-redhat-linux/4.1.2 -limf -lsvml -lipgo -ldecimal -lgcc_s -lirc -lirc_s -lmpichf90 -lifport -lifcore -lm -lm -lmpichcxx -lstdc++ -ldl -lmpich -lopa -llimic2 -lpthread -lrdmacm -libverbs -libumad -lrt -limf -lsvml -lipgo -ldecimal -lgcc_s -lirc -lirc_s -ldl
> /share/apps/petsc-dev/Linux-intel11.1-mef90-O/lib/libpetsc.so: undefined reference to `petscstack'
> make: [ex10] Error 1 (ignored)
> /bin/rm -f ex10.o
> 
> Has anybody seen this? I've looked at recent changelogs but could not find anything related.
> 
> Blaise
> 
> --
> Department of Mathematics and Center for Computation & Technology
> Louisiana State University, Baton Rouge, LA 70803, USA
> Tel. +1 (225) 578 1612, Fax  +1 (225) 578 4276 http://www.math.lsu.edu/~bourdin
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> -- 
> 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

-- 
Department of Mathematics and Center for Computation & Technology
Louisiana State University, Baton Rouge, LA 70803, USA
Tel. +1 (225) 578 1612, Fax  +1 (225) 578 4276 http://www.math.lsu.edu/~bourdin







-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20110628/12ccefa1/attachment.html>


More information about the petsc-dev mailing list