From 135de73185c35c9f88476baabfd5cdf3e593d6a5 Mon Sep 17 00:00:00 2001 From: George Bosilca Date: Sun, 11 Jun 2006 19:53:39 +0000 Subject: [PATCH] Print the name of the array before printing the values. This commit was SVN r10290. --- ompi/datatype/dt_args.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ompi/datatype/dt_args.c b/ompi/datatype/dt_args.c index a92f55203c..fd504be05d 100644 --- a/ompi/datatype/dt_args.c +++ b/ompi/datatype/dt_args.c @@ -226,18 +226,21 @@ int32_t ompi_ddt_print_args( const ompi_datatype_t* pData ) printf( "type %d count ints %d count disp %d count datatype %d\n", pArgs->create_type, pArgs->ci, pArgs->ca, pArgs->cd ); if( pArgs->i != NULL ) { + printf( "ints: " ); for( i = 0; i < pArgs->ci; i++ ) { printf( "%d ", pArgs->i[i] ); } printf( "\n" ); } if( pArgs->a != NULL ) { + printf( "MPI_Aint: " ); for( i = 0; i < pArgs->ca; i++ ) { printf( "%ld ", (long)pArgs->a[i] ); } printf( "\n" ); } if( pArgs->d != NULL ) { + printf( "types: " ); for( i = 0; i < pArgs->cd; i++ ) { ompi_datatype_t* temp = pArgs->d[i]; if( temp->flags & DT_FLAG_PREDEFINED ) {