Commit 528753e0 authored by THIBAULT Samuel's avatar THIBAULT Samuel
Browse files

Fix test macro

parent a781a0a8
...@@ -187,7 +187,7 @@ void RUNTIME_resume( MORSE_context_t *morse ) ...@@ -187,7 +187,7 @@ void RUNTIME_resume( MORSE_context_t *morse )
void RUNTIME_comm_rank( int *rank ) void RUNTIME_comm_rank( int *rank )
{ {
#if defined(CHAMELEON_USE_MPI) #if defined(CHAMELEON_USE_MPI)
# if defined(HAVE_STARPU_MPI_RANK) # if defined(HAVE_STARPU_MPI_COMM_RANK)
starpu_mpi_comm_rank(MPI_COMM_WORLD, rank); starpu_mpi_comm_rank(MPI_COMM_WORLD, rank);
# else # else
MPI_Comm_rank(MPI_COMM_WORLD, rank); MPI_Comm_rank(MPI_COMM_WORLD, rank);
...@@ -204,7 +204,7 @@ void RUNTIME_comm_rank( int *rank ) ...@@ -204,7 +204,7 @@ void RUNTIME_comm_rank( int *rank )
void RUNTIME_comm_size( int *size ) void RUNTIME_comm_size( int *size )
{ {
#if defined(CHAMELEON_USE_MPI) #if defined(CHAMELEON_USE_MPI)
# if defined(HAVE_STARPU_MPI_RANK) # if defined(HAVE_STARPU_MPI_COMM_RANK)
starpu_mpi_comm_size(MPI_COMM_WORLD, size); starpu_mpi_comm_size(MPI_COMM_WORLD, size);
# else # else
MPI_Comm_size(MPI_COMM_WORLD, size); MPI_Comm_size(MPI_COMM_WORLD, size);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment