Re: [OMPI users] Build problem

2017-05-24 Thread Andy Riebs
Exactly the hint that I needed -- thanks Gilles! Andy On 05/24/2017 10:33 PM, Gilles Gouaillardet wrote: Andy, it looks like some MPI libraries are being mixed in your environment from the test/datatype directory, what if you ldd .libs/lt-external32 does it resolve the the libmpi.so you e

Re: [OMPI users] Build problem

2017-05-24 Thread Gilles Gouaillardet
Andy, it looks like some MPI libraries are being mixed in your environment from the test/datatype directory, what if you ldd .libs/lt-external32 does it resolve the the libmpi.so you expect ? Cheers, Gilles On 5/25/2017 11:02 AM, Andy Riebs wrote: Hi, I'm trying to build OMPI on RHEL

[OMPI users] Build problem

2017-05-24 Thread Andy Riebs
Hi, I'm trying to build OMPI on RHEL 7.2 with MOFED on an x86_64 system, and I'm seeing = Open MPI gitclone: test/datatype/test-suite.log = # TOTAL: 9 # PASS: 8 # SKI

Re: [OMPI users] All processes waiting on MPI_Bcast

2017-05-24 Thread gilles
; >> */ > >> > >>return 0; > >> } > >> > >> and my utils.h file is: > >> > >> void linspace(double *ret, double start_in, double end_in, unsigned long int num_in){ > >>/* This function g

Re: [OMPI users] All processes waiting on MPI_Bcast

2017-05-24 Thread Pranav Sumanth
ay with the results */ >> >> >>assert(num_in!=0); >> >> >>cout << "\tReceived start :" << start_in << "\tEnd :" << end_in << >> "\tNum_in :" << num_in << endl; >> >>double delta_in = (end_in - sta

Re: [OMPI users] All processes waiting on MPI_Bcast

2017-05-24 Thread gilles
Hi, your program hangs because rank 0 does not call MPI_Bcast() generally speaking, when using collective operations (such as MPI_Bcast), all tasks of the communicators must invoke the collective operation, and with "matching" arguments. in the case of MPI_Bcast(), the root value must be the sam

Re: [OMPI users] All processes waiting on MPI_Bcast

2017-05-24 Thread Siva Srinivas Kolukula
When you call mpi_bcast all the processors should be calledin you code you are calling mpi_bcast in all the roots expect root. Try keeping mpi_bcast out of if condition. _ *SAVE WATER ** ~ **SAVE ENERGY**~ **~ **SAVE EARTH *[image: Earth-22-june.gif (7996 bytes)] http://sites.google.com/sit

[OMPI users] All processes waiting on MPI_Bcast

2017-05-24 Thread Pranav Sumanth
Greetings! I include a static header file utils.h with a function linspace. My main.cpp file is as follows: #include #include #include using namespace std; int main(int argc, const char * argv[]) { float start = 0., end = 1.; unsigned long int num = 100; double *linspaced;