Re: [OMPI users] 'The MPI_Comm_rank() function was called before MPI_INIT was invoked'

2015-05-20 Thread Gilles Gouaillardet
Hi Mohammad, the error message is self explanatory. you cannot invoke MPI functions before invoking MPI_Init or after MPI_Finalize the easiest way to solve your problem is to move the MPI_Init call to the beginning of your program. Cheers, Gilles On Wednesday, May 20, 2015, #MOHAMMAD ASIF KHAN

[OMPI users] 'The MPI_Comm_rank() function was called before MPI_INIT was invoked'

2015-05-20 Thread #MOHAMMAD ASIF KHAN#
Hi, I am using caffe-parallel toolbox for deep learning. The framework has been parallelized using mpi. For my implementation I am using Open mpi 1.6.5??. The installation stage for openmpi goes fine but when I run the code following error appears: *** The MPI_Comm_rank() function was c