Thanks for your reply. Now I think the make errors are :
"macro "MPI_ALLgather" requires 7 arguments, but only 6 given.
MPI_ALLgather was not declared in this scope
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
can't install valid mpich. so what should I do? which one of MPI is valid?
Quoting Roy Stogner <roystgnr@...>:
> On Fri, 29 Feb 2008, yzhu@... wrote:
>> I am suffering from installing PETSC the last few days. Before PETSC
>> was installed, libmesh examples runs well except for those need PETSC;
>> when PETSC was installed, configure libmesh again, it said compilation
>> failed, none of the example could run any more.
>> For installing PETSC, I have tried the following commands:
>> 1. ./config/configure.py --download-c-blas-lapack=1 --download-mpich=1
>> 2. ./config/configure.py --download-c-blas-lapack=1 --with-mpi=0
>> the result of "./configure" is below, could you help me out? Many thanks.
> The result of ./configure looked fine; but what was the error in
> "make" (or if that worked, in "make run_examples")?