[petsc-dev] undefined reference to `petscstack'

Blaise Bourdin bourdin at lsu.edu
Tue Jun 28 04:17:27 CDT 2011


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










More information about the petsc-dev mailing list