From 648b350cdb74f5bfde7f983d34782d90cf9245e7 Mon Sep 17 00:00:00 2001 From: Ed Hartnett Date: Wed, 4 May 2016 11:54:25 -0400 Subject: [PATCH] changed example data size, added valgrind suppression file --- examples/c/example2.c | 4 ++-- examples/c/valsupp_example1.supp | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 examples/c/valsupp_example1.supp diff --git a/examples/c/example2.c b/examples/c/example2.c index f4b75d075b74..d86af67774c0 100644 --- a/examples/c/example2.c +++ b/examples/c/example2.c @@ -48,8 +48,8 @@ * responsibilty for writing and reading them will be spread between * all the processors used to run this example. */ /**@{*/ -#define X_DIM_LEN 400 -#define Y_DIM_LEN 400 +#define X_DIM_LEN 20 +#define Y_DIM_LEN 30 /**@}*/ /** The number of timesteps of data to write. */ diff --git a/examples/c/valsupp_example1.supp b/examples/c/valsupp_example1.supp new file mode 100644 index 000000000000..63f3e073836d --- /dev/null +++ b/examples/c/valsupp_example1.supp @@ -0,0 +1,15 @@ +{ + cond_jump_1 + Memcheck:Cond + fun:MPIC_Waitall + fun:MPIR_Alltoallw_intra + fun:MPIR_Alltoallw + fun:MPIR_Alltoallw_impl + fun:PMPI_Alltoallw + fun:pio_swapm + fun:rearrange_comp2io + fun:PIOc_write_darray_multi + fun:flush_buffer + fun:PIOc_sync + fun:main +} \ No newline at end of file