Browse Source

mpi: clarify messages about thread support level

Nathalie Furmento 12 years ago
parent
commit
eb8a2a80ce
1 changed files with 2 additions and 2 deletions
  1. 2 2
      mpi/src/starpu_mpi.c

+ 2 - 2
mpi/src/starpu_mpi.c

@@ -679,8 +679,8 @@ static void *progress_thread_func(void *arg)
 		switch (thread_support)
 		{
 		case MPI_THREAD_SERIALIZED: _STARPU_DISP("MPI_Init_thread level = MPI_THREAD_SERIALIZED (Multiple threads may make MPI calls, but only one at a time) \n");
-		case MPI_THREAD_FUNNELED: _STARPU_DISP("MPI_Init_thread level = MPI_THREAD_FUNNELED (Only the thread that initializes and finalizes MPI is allowed to make MPI calls)\n");
-		case MPI_THREAD_SINGLE: _STARPU_DISP("MPI_Init_thread level = MPI_THREAD_SINGLE (MPI does not have multi-thread support, this may cause problems)\n");
+		case MPI_THREAD_FUNNELED: _STARPU_DISP("MPI_Init_thread level = MPI_THREAD_FUNNELED (The application can safely make calls to StarPU-MPI functions, but should not call directly MPI communication functions)\n");
+		case MPI_THREAD_SINGLE: _STARPU_DISP("MPI_Init_thread level = MPI_THREAD_SINGLE (MPI does not have multi-thread support, this might cause problems. The application can make calls to StarPU-MPI functions, but not call directly MPI Communication functions)\n");
 		}
         }