Sorry for the long delay on my behalf too.
Using MPI_Init_thread with MPI_THREAD_MULTIPLE fixes this problem!
Should have had a closer look at the documentation...
Cheers,
Pedro
> Sorry for the delay in replying.
> I think you need to use MPI_INIT_THREAD with a level of
> MPI_THREAD_MULTIPLE
Glad it worked!
On Nov 13, 2011, at 6:15 AM, Pedro Gonnet wrote:
>
> Sorry for the long delay on my behalf too.
>
> Using MPI_Init_thread with MPI_THREAD_MULTIPLE fixes this problem!
> Should have had a closer look at the documentation...
>
> Cheers,
> Pedro
>
>
>
>> Sorry for the delay in
I have open-mpi v1.5.4, installed from the binary installer for
Windows. The following program test.c
#include
#include
int main(int argc, char *argv[])
{
int rank, size;
MPI_Init(&argc,&argv);
MPI_Comm_size(MPI_COMM_WORLD,&size);
MPI_Comm_rank(MPI_COMM_WORLD,&rank);
printf("hellow wor