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# <n14003...@e.ntu.edu.sg>
wrote:

>  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 called before MPI_INIT was invoked.
> *** This is disallowed by the MPI standard.
> *** Your MPI job will now abort.
> [s4:29812] Local abort before MPI_INIT completed successfully; not able to
> aggregate error messages, and not able to guarantee that all other
> processes were killed!
> make: *** [runtest] Error 1
>
>  Please provide necessary information to resolve the issue. Your help
> will be highly appreciated.
>
>
>   Thanks & Regards,
> M. Asif Khan​
>
>
>

Reply via email to