I used mpicc to compile it. 

I used ./bjam to compile and ./bjam install boost.

Any help is appreciated. 

Jack 

From: troyer@phys.ethz.ch
Date: Tue, 3 Aug 2010 20:27:12 -0600
To: boost-users@lists.boost.org
Subject: Re: [Boost-users] boost MPI install error

On 3 Aug 2010, at 17:45, Jack Bryan wrote:

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 ? 


How do you compile this? And do you use the same compiler when building Boost?

Matthias


_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users