LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Andrej Bagon (andrej.bagon_at_[hidden])
Date: 2003-04-15 03:47:40


Hi

I noticed a problem or an arhitecture limit or something. It will be
best described on an example.

using
int a[2000000];

and then using
MPI_Gather or
MPI_Bcast the array my application crashes (segfault). I dont know why,
but when using

int *a;
a = malloc(2000000*sizeof(int));

and then using MPI_Gather or MPI_Bcast lam works without a problem. What
kind of problem is this?

BTW: anyone practiced anything with Global Arrays? I mean what is it
good for and when it is better utilized than LAM (but again GA uses LAM
to distribute).

thank you

-- 
Andrej Bagon <andrej.bagon_at_[hidden]>