---------- Forwarded message ---------- From: SourceForge.net <[email protected]> Date: Mon, Mar 12, 2012 at 2:27 PM Subject: [libmesh - Help] Compiling with PETSc fails To: "SourceForge.net" <[email protected]>
Read and respond to this message at: https://sourceforge.net/projects/libmesh/forums/forum/242317/topic/5111395 By: I am having trouble compiling libmesh with PETSc. Could someone please help me fix this problem. The details of my install are as follows: PETSC compiles without problems, I am using petsc-3.1-p8 (I also tried petsc-3.2-p6): ./configure --with-CXX=g++ --with-clanguage=CXX --with-boost-dir=/usr/lib --download-parmetis=1 --with-external-packages-dir=/home/slaughter/packages I also have the correct PETSC_DIR and PETSC_ARCH environmental variables set. I am using libmesh 0.7.2, it configures without error with ./configure. The configuration indicates that libmesh is "configuring library with PETSc version 3.1.0 support" When running make on libmesh, I receive a series of errors, which all look like PETSc related items to me. make[1]: Leaving directory `/home/slaughter/packages/libmesh-0.7.2/libmesh/contrib' Compiling C++ (in optimized mode) src/apps/amr.C... Linking bin/amr-opt /home/slaughter/packages/libmesh-0.7.2/libmesh/lib/x86_64-unknown-linux-gnu_opt/ libmesh.so: undefined reference to `EPSSetTolerances(_p_EPS*, double, int)' /home/slaughter/packages/libmesh-0.7.2/libmesh/lib/x86_64-unknown-linux-gnu_opt/ libmesh.so: undefined reference to `VecScatterEnd(_p_VecScatter*, _p_Vec*, _p_Vec*, InsertMode, ScatterMode)' /home/slaughter/packages/libmesh-0.7.2/libmesh/lib/x86_64-unknown-linux-gnu_opt/ libmesh.so: undefined reference to `SNESGetLinearSolveIterations(_p_SNES*, int*)' ... Thanks, Andrew _____________________________________________________________________________________ You are receiving this email because you elected to monitor this topic or entire forum. To stop monitoring this topic visit: https://sourceforge.net/projects/libmesh/forums/forum/242317/topic/5111395/unmonitor To stop monitoring this forum visit: https://sourceforge.net/projects/libmesh/forums/forum/242317/unmonitor -- John ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
