Roy,

I followed your suggestion

dowload the cvs version
configure with 
sudo ./configure --enable-laspack --enable-petsc --disable-shared --with-mpi-dir=/usr/local/mpich --with-blas-lapack=/Library/Frameworks/Intel_MKL.framework/Versions/9.0/lib/32/ --enable-mpi


The library was succesfully built

However I did make run_examples and got  the error


[Imac-Intel-de-Tahar-Amari:/usr/local/libmesh] amari% sudo make run_examples
Password:
Compiling C++ (in optimized mode) ex0.C...
g++ -DNDEBUG  -O2 -felide-constructors -funroll-loops -fstrict-aliasing -Wdisabled-optimization /Library/Frameworks/Intel_MKL.framework/Headers -I/usr/local/libmesh/include/base -I/usr/local/libmesh/include/enums -I/usr/local/libmesh/include/fe -I/usr/local/libmesh/include/geom -I/usr/local/libmesh/include/mesh -I/usr/local/libmesh/include/numerics -I/usr/local/libmesh/include/partitioning -I/usr/local/libmesh/include/quadrature -I/usr/local/libmesh/include/solvers -I/usr/local/libmesh/include/utils -I/usr/local/libmesh/contrib/boost -I/usr/local/libmesh/contrib/laspack -I/usr/local/libmesh/contrib/parmetis/Lib -I/usr/local/libmesh/contrib/metis/Lib -I/usr/local/libmesh/contrib/sfcurves -I/usr/local/libmesh/contrib/gzstream  -I/usr/local/libmesh/contrib/gmv -I/usr/local/libmesh/contrib/tetgen -I/usr/local/libmesh/contrib/triangle -I/usr/local/petsc/include -I/usr/local/petsc/bmake/macx   -I/usr/local/mpich/include   -I/usr/local/libmesh/include/base -I/usr/local/libmesh/include/enums -I/usr/local/libmesh/include/fe -I/usr/local/libmesh/include/geom -I/usr/local/libmesh/include/mesh -I/usr/local/libmesh/include/numerics -I/usr/local/libmesh/include/partitioning -I/usr/local/libmesh/include/quadrature -I/usr/local/libmesh/include/solvers -I/usr/local/libmesh/include/utils -I/usr/local/libmesh/contrib/boost -I/usr/local/libmesh/contrib/laspack -I/usr/local/libmesh/contrib/parmetis/Lib -I/usr/local/libmesh/contrib/metis/Lib -I/usr/local/libmesh/contrib/sfcurves -I/usr/local/libmesh/contrib/gzstream  -I/usr/local/libmesh/contrib/gmv -I/usr/local/libmesh/contrib/tetgen -I/usr/local/libmesh/contrib/triangle -I/usr/local/petsc/include -I/usr/local/petsc/bmake/macx   -I/usr/local/mpich/include   -c ex0.C -o ex0.i686-apple-darwin8.10.1.opt.o
i686-apple-darwin8-g++-4.0.1: /Library/Frameworks/Intel_MKL.framework/Headers: linker input file unused because linking not done
Linking ex0-opt...
/usr/bin/ld: Undefined symbols:
_MPI_Wtime
_MPI_Alltoall
collect2: ld returned 1 exit status
make[2]: *** [ex0-opt] Error 1
make[1]: *** [run] Error 1
make: *** [run_examples] Error 2


I looked at Make.common and got for MPI

# (only explicitly defined when PETSc is absent, otherwise snooped from PETSc)
MPI_IMPL             = petsc_snooped
MPI_INCLUDE          =
MPI_LIB              =


Is there something wrong  somewhere else please ?


Many thanks

Tahar






--------------------------------------------

T. Amari

Centre de Physique Theorique

Ecole Polytechnique

91128 Palaiseau Cedex France

tel : 33 1 69 33 47 53

fax: 33 1 69 33 30 08

email: <mailto:amari@cpht.polytechnique.fr>

URL : http://www.cpht.polytechnique.fr/cpht/amari


Le 2 juil. 07 à 20:00, Roy Stogner a écrit :

On Mon, 2 Jul 2007, Tahar Amari wrote:

I tried with your new files

./configure --enable-laspack --enable-petsc --disable-shared --with-mpi-dir=/usr/local/mpich --with-blas-lapack=/Library/Frameworks/Intel_MKL.framework/Versions/9.0/lib/32/ --enable-mpi

and then make
and then I got the error

src/numerics/petsc_vector.C:30:22: error: parallel.h: No such file or directory

I was afraid of that; there are too many changes in CVS to just copy a
file or two back to 0.6.0.  You'll need to download the whole CVS
libMesh.
---
Roy