Skip to content

Commit

Permalink
Merge pull request CESM-Development#65 from NCAR/ejh_example_valgrind
Browse files Browse the repository at this point in the history
changed example data size, added valgrind suppression file
  • Loading branch information
jedwards4b committed May 5, 2016
2 parents 4b825ba + 648b350 commit 32228f5
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/c/example2.c
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down
15 changes: 15 additions & 0 deletions examples/c/valsupp_example1.supp
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit 32228f5

Please sign in to comment.