Hi
Im passing some multidimensional al arrays over MPI. However, Im struggling with some hangups.
Essentially I do
static cont int NK=16
static cont int NT=400
static cont int NK=S=4
static cont int NK=IR=2
double SIGMA [NK][NK][NT][IR];
...
cout<< MPI_RANK<< " begin "<<endl;
MPI_Bcast(&SIGMA, NK*NK*NT*S*IR, MPI_DOUBLE, 0, MPI_COMM_WORLD);
cout<< MPI_RANK<< " end "<<endl;
...
Now, I have done this before and never had any trouble. But now, some of my processes get stuck. They do print 'begin', but not 'end'.
Also, some of the processes even finish and quit entirely, while others just wait forever.
Is it something wrong with this MPI call?
Best
//
Johan
Im passing some multidimensional al arrays over MPI. However, Im struggling with some hangups.
Essentially I do
static cont int NK=16
static cont int NT=400
static cont int NK=S=4
static cont int NK=IR=2
double SIGMA [NK][NK][NT]
...
cout<< MPI_RANK<< " begin "<<endl;
MPI_Bcast(&SIGMA, NK*NK*NT*S*IR, MPI_DOUBLE, 0, MPI_COMM_WORLD);
cout<< MPI_RANK<< " end "<<endl;
...
Now, I have done this before and never had any trouble. But now, some of my processes get stuck. They do print 'begin', but not 'end'.
Also, some of the processes even finish and quit entirely, while others just wait forever.
Is it something wrong with this MPI call?
Best
//
Johan