From 604dade2a1b3de395cafd35d801d424c4e204106 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Achim=20Gsell=C3=BC?= Date: Tue, 4 Sep 2018 10:33:09 +0200 Subject: [PATCH] src/h5core/h5b_model.c - warning in 'h5b_3d_set_grid()' if compiled serial fixed --- src/h5core/h5b_model.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/h5core/h5b_model.c b/src/h5core/h5b_model.c index bc9b3c5..e4e047b 100644 --- a/src/h5core/h5b_model.c +++ b/src/h5core/h5b_model.c @@ -793,9 +793,9 @@ h5b_3d_set_grid ( f->b->j_grid = j; f->b->i_grid = k; +#ifdef H5_HAVE_PARALLEL int dims[3] = { k, j, i }; int period[3] = { 0, 0, 0 }; -#ifdef H5_HAVE_PARALLEL TRY( h5priv_mpi_cart_create( f->props->comm, 3, dims, period, 0, &f->b->cart_comm) ); #else