Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 6971dbe2 authored by Mathieu Faverge's avatar Mathieu Faverge
Browse files

Add mpi protection

parent 54f8c920
No related branches found
No related tags found
1 merge request!92Fix issue #8 and #4 - gitlab parsec
...@@ -104,10 +104,13 @@ int MORSE_InitPar(int ncpus, int ncudas, int nthreads_per_worker) ...@@ -104,10 +104,13 @@ int MORSE_InitPar(int ncpus, int ncudas, int nthreads_per_worker)
} }
# endif # endif
#endif #endif
RUNTIME_init( morse, ncpus, ncudas, nthreads_per_worker ); RUNTIME_init( morse, ncpus, ncudas, nthreads_per_worker );
#if defined(CHAMELEON_USE_MPI)
morse->my_mpi_rank = RUNTIME_comm_rank( morse ); morse->my_mpi_rank = RUNTIME_comm_rank( morse );
morse->mpi_comm_size = RUNTIME_comm_size( morse ); morse->mpi_comm_size = RUNTIME_comm_size( morse );
#endif
return MORSE_SUCCESS; return MORSE_SUCCESS;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment