I had problems building libmesh with PETSc 2.3.3 but with 2.3.2-p10 everything worked fine (under ubuntu 7.10). These were the steps:
cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/libmesh co libmesh cd libmesh cd contrib wget ftp://ftp.mcs.anl.gov/pub/petsc/petsc-lite-2.3.2.tar.gz tar -xpvzf petsc-lite-2.3.2.tar.gz cd petsc-2.3.2-p10 export PETSC_ARCH=linux export PETSC_DIR=`pwd` config/configure.py --with-cc=gcc --with-cxx=g++ --with-fc=g77 --with-shared=1 \ --download-f-blas-lapack=1 --with-mpi-dir=/usr/lib/mpich make all test cd .. cd .. ./configure make make run_examples The problem was to find that PETSc 2.3.3-p8 did not work... ./Paulo > sorry, do you mean I had better using --with-mpi=0 by > "libMesh doesn't really support using an MPI configuration that differs from the configuration in PETSc" ? > I wonder what commands and options you have used when installed PETSc? Could you give some of these ? > Thanks. > > yunfei > > Quoting Roy Stogner <[EMAIL PROTECTED]>: > >> On Fri, 29 Feb 2008, [EMAIL PROTECTED] wrote: >>> Actually, in the process of install PETSC, it has prompted that MPI compiler wrappers are invalid. so I use: --with-mpi=0 Actually, I want to use MPI, but it seems that this command --download-mpich=1 can't install valid mpich. so what should I do? which one of MPI is valid? thanks. >> libMesh doesn't really support using an MPI configuration that differs from the configuration in PETSc, so if you want to get MPI working in libMesh then the first thing to do is get it working in PETSc. You might want to try the PETSc mailing list for help, but don't just tell them "can't install valid mpich", give the detailed error messages involved. It's hard enough to help diagnose someone else's computer problems when you do know what the errors are; it's impossible to help when you don't. >> --- >> Roy > > > > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Libmesh-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/libmesh-users > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
