Re: [OMPI users] Having problem with the Master/Slave program...

2016-11-07 Thread Gilles Gouaillardet
Hi, master() never MPI_Bcast(dojob=2, c...), hence the hang Cheers, Gilles On Tuesday, November 8, 2016, Baris Kececi via users < users@lists.open-mpi.org> wrote: > Hi friends, > I'm trying to write a simple parallel master/slave program. > Here in my program the task of master is to distribut

[OMPI users] Having problem with the Master/Slave program...

2016-11-07 Thread Baris Kececi via users
Hi friends,I'm trying to write a simple parallel master/slave program.Here in my program the task of master is to distribute a randomly filled array to the workers.And each worker have to print a part of the array. That's all what i want to do. The master need to make run the workers each time.