thanks for reply. 

My test program works well. 

#include <stdio.h>
#include "mpi.h"

int main(int argc, char* argv[])
{
  int rank, size;
  MPI_Init(0,0);
  MPI_Comm_size(MPI_COMM_WORLD, &size);
  MPI_Comm_rank(MPI_COMM_WORLD, &rank);
  printf("I am process %d out of total process \n\n ", rank, size );
  MPI_Finalize();
  return 0;
}

What may be the reason for the boost MPI install failure ? 

Any help is appreciated. 

thanks

JACK


> From: troyer@phys.ethz.ch
> Date: Tue, 3 Aug 2010 17:14:04 -0600
> To: boost-users@lists.boost.org
> Subject: Re: [Boost-users] boost MPI install error
>
>
> On 3 Aug 2010, at 15:20, Jack Bryan wrote:
>
> > thanks for reply.
> > The cluster has been installed with openMPI and mpich2.
>
> I doubt it since you actually include the LAM headers - look at the linker errors!
>
> > Do I still use MPI wrapper compiler to re-compile it ?
> > What is meaning of "by compiling an MPI program using the C API, before building Boost."
>
> Get a simple MPI program using the native C API to work first.
>
> Matthias
>
> _______________________________________________
> Boost-users mailing list
> Boost-users@lists.boost.org
> http://lists.boost.org/mailman/listinfo.cgi/boost-users