diff --git a/control/control.c b/control/control.c index 5463536867ae66a082206dae78206f2d2c277a0b..27169f01697ddf7344313df8c7e4e4fdebcd6350 100644 --- a/control/control.c +++ b/control/control.c @@ -104,10 +104,13 @@ int MORSE_InitPar(int ncpus, int ncudas, int nthreads_per_worker) } # endif #endif + RUNTIME_init( morse, ncpus, ncudas, nthreads_per_worker ); +#if defined(CHAMELEON_USE_MPI) morse->my_mpi_rank = RUNTIME_comm_rank( morse ); morse->mpi_comm_size = RUNTIME_comm_size( morse ); +#endif return MORSE_SUCCESS; }