On Wed, May 14, 2014 at 10:14 AM, Miguel Angel Salazar de Troya < [email protected]> wrote:
> Hello everybody > > I am struggling trying to compile Libmesh properly. I attach the config log > and the log from the make check. These are the ./configure options I start > with: > > ./configure --enable-amr --enable-vsmoother --enable-dirichlet > --enable-nodeconstraint --enable-parmesh --enable-pfem --enable-ifem > --enable-second --enable-examples --enable-boost --enable-petsc > --enable-periodic --enable-tetgen --enable-triangle --enable-vtk > --with-boost=/usr/local --with-vtk-include=/usr/local/include/vtk-6.1 > --with-vtk-lib=/usr/local/lib/ --disable-slepc --disable-pthreads > --disable-eigen --with-cc=/usr/bin/gcc-4.7 --disable-mpi > I suspect this is the problem, you've specified a C compiler but not a C++ compiler, so it's probably finding one which doesn't match the C compiler. Anyway, if you have PETSc installed you should use the MPI that it uses (don't disable MPI), either by specifying the mpi compiler scripts as the argument to --with-cxx=mpicxx --with-cc=mpicc > I am using petsc 3.4-4 and gcc 4.7. I have gcc 4.8 installed by default, by > I thought I would change to 4.7 since it is the last version you guys > tested libmesh with (as it appears in the website). I am trying to install > it first in serial, because for parallel wouldn't even compile. > Not sure what this means, but it's actually more likely that libmesh will compile against a PETSc with a real MPI (since that's how it is used in 99% of cases) than with --enable-petsc --disable-mpi -- John ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
