diff options
author | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2014-03-18 16:39:46 (GMT) |
---|---|---|
committer | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2014-03-18 16:39:46 (GMT) |
commit | 081b9a1e6bfdf03bc147d639109b31016893cea0 (patch) | |
tree | e0cebc29e9ee56f331c5d567df247f00c1f435ab /examples/h5ff_client_M7.2-pep_demo.c | |
parent | 929eb3fe85e407427a6eeb7bf4fa4807ae6c5609 (diff) | |
download | hdf5-081b9a1e6bfdf03bc147d639109b31016893cea0.zip hdf5-081b9a1e6bfdf03bc147d639109b31016893cea0.tar.gz hdf5-081b9a1e6bfdf03bc147d639109b31016893cea0.tar.bz2 |
[svn-r24825] add a needed barrier.
Diffstat (limited to 'examples/h5ff_client_M7.2-pep_demo.c')
-rw-r--r-- | examples/h5ff_client_M7.2-pep_demo.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/h5ff_client_M7.2-pep_demo.c b/examples/h5ff_client_M7.2-pep_demo.c index 1a9f93b..36012df 100644 --- a/examples/h5ff_client_M7.2-pep_demo.c +++ b/examples/h5ff_client_M7.2-pep_demo.c @@ -540,6 +540,8 @@ int main( int argc, char **argv ) { ret = H5RCrelease( rc_id, H5_EVENT_STACK_NULL); ASSERT_RET;
ret = H5RCclose( rc_id ); ASSERT_RET;
+ MPI_Barrier( MPI_COMM_WORLD );
+
/* Close H5 Objects that are still open */
fprintf( stderr, "APP-r%d: Close all H5 objects that are still open\n", my_rank );
ret = H5Fclose_ff( file_id, 1, H5_EVENT_STACK_NULL ); ASSERT_RET;
|