From 2b1ffb418875181a6dabe3b843da68e7a073505b Mon Sep 17 00:00:00 2001 From: Samuel Thibault <samuel.thibault@inria.fr> Date: Wed, 16 Sep 2015 12:53:27 +0000 Subject: [PATCH] Also make step6 use MORSE_Distributed_size --- example/lapack_to_morse/step6.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/example/lapack_to_morse/step6.c b/example/lapack_to_morse/step6.c index 407b03252..47fa54577 100644 --- a/example/lapack_to_morse/step6.c +++ b/example/lapack_to_morse/step6.c @@ -4,7 +4,7 @@ * of Tennessee Research Foundation. * All rights reserved. * @copyright (c) 2012-2014 Inria. All rights reserved. - * @copyright (c) 2012-2014 Bordeaux INP, CNRS (LaBRI UMR 5800), Inria, Univ. Bordeaux. All rights reserved. + * @copyright (c) 2012-2015 Bordeaux INP, CNRS (LaBRI UMR 5800), Inria, Univ. Bordeaux. All rights reserved. * **/ @@ -110,7 +110,7 @@ int main(int argc, char *argv[]) { MORSE_Set(MORSE_INNER_BLOCK_SIZE, iparam[IPARAM_IB] ); #if defined(CHAMELEON_USE_MPI) - MPI_Comm_size( MPI_COMM_WORLD, &NMPIPROC ); + MORSE_Distributed_size( &NMPIPROC ); /* Check P */ if ( (iparam[IPARAM_P] > 1) && (NMPIPROC % iparam[IPARAM_P] != 0) ) { -- GitLab