Skip to content

Commit 872f282

Browse files
committed
small fixies for alltoall running oob
1 parent 2632b47 commit 872f282

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src_c/IMB_mem_info.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,6 @@ Header file newly introduced in IMB 3.1
5555
#define CACHE_LINE_SIZE 64 /* default last level cache line size (Bytes) */
5656

5757
#define MEM_UNIT 1073741824 /* Units for memory usage sizes */
58-
#define MAX_MEM_USAGE 1 /* default max. memory (in units MEM_UNIT Bytes) used for message buffers */
58+
#define MAX_MEM_USAGE 2 /* default max. memory (in units MEM_UNIT Bytes) used for message buffers */
5959

6060
#endif

src_c/IMB_output.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,11 @@ Input variables:
342342
break;
343343

344344
case SAMPLE_FAILED_INT_OVERFLOW:
345-
sprintf(aux_string + offset, " int-overflow.; The production rank*size caused int overflow for given sample");
345+
#ifdef MPI1
346+
sprintf(aux_string + offset, " int-overflow; The production rank*size=%u caused int overflow for given sample; use flag \"-data_type double\"", size*(c_info->w_num_procs));
347+
#else
348+
sprintf(aux_string + offset, " int-overflow; The production rank*size=%u caused int overflow for given sample", size*(c_info->w_num_procs));
349+
#endif
346350
break;
347351
case SAMPLE_FAILED_TIME_OUT:
348352
aux_string[offset] = '\0';

0 commit comments

Comments
 (0)