Boost logo

Boost Users :

Subject: Re: [Boost-users] boost MPI install error
From: Matthias Troyer (troyer_at_[hidden])
Date: 2010-08-03 23:05:23


On 3 Aug 2010, at 20:58, Jack Bryan wrote:

> I used mpicc to compile it.
>
> I used ./bjam to compile and ./bjam install boost.
>
> Any help is appreciated.
>
> Jack
> From: troyer_at_[hidden]
> Date: Tue, 3 Aug 2010 20:27:12 -0600
> To: boost-users_at_[hidden]
> 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?

It seems that you use a different wrapper compiler when building MPI. Did you look at http://www.boost.org/doc/libs/1_43_0/doc/html/mpi/getting_started.html#mpi.config and specify the *same* mpiCC that you use to compile your test programs?

Matthias



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net