Mentions légales du service

Skip to content

Check provided MPI thread support fits requested one

There is currently a (small) problem in Chameleon in the way the call to MPI_Init_thread() is managed. You are requesting MPI_THREAD_MULTIPLE thread support, but you are not checking that MPI actually provides you this level of thread support (in case MPI cannot provide this thread support, it continues with the highest level of thread support it can manage).

This MR adds the corresponding check.

One question still remains: do you need the MPI_THREAD_MULTIPLE thread support level ? Or could MPI_THREAD_SERIALIZED be enough ?

In the testings, MPI calls are made from StarPU's dedicated thread and then from Chameleon in the check step. This requires at least MPI_THREAD_SERIALIZED, but do you need more ? It changes the way NewMadeleine (MadMPI in this case) has to be built to work properly.

(have a look here if you need a reminder 😉 )

Ping @adenis

Merge request reports