diff options
author | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2014-05-15 14:45:34 (GMT) |
---|---|---|
committer | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2014-05-15 14:45:34 (GMT) |
commit | 148aa1a57144d5102a540d3740d543b942f2dc11 (patch) | |
tree | f72292f9baecc41cecd0abf8a5b41472896ed0bf /examples/h5ff_client_M7.2-pep_demo.c | |
parent | 4b2f4f74fab402b7e4837a8d770121f3ffa02ea5 (diff) | |
download | hdf5-148aa1a57144d5102a540d3740d543b942f2dc11.zip hdf5-148aa1a57144d5102a540d3740d543b942f2dc11.tar.gz hdf5-148aa1a57144d5102a540d3740d543b942f2dc11.tar.bz2 |
[svn-r25194] - add required barrier in M7.2 demo program
- add USER env to file_name of eff_vpic when corrupting to allow others to run corruption tests.
Diffstat (limited to 'examples/h5ff_client_M7.2-pep_demo.c')
-rw-r--r-- | examples/h5ff_client_M7.2-pep_demo.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/h5ff_client_M7.2-pep_demo.c b/examples/h5ff_client_M7.2-pep_demo.c index bcd52a0..3183e3c 100644 --- a/examples/h5ff_client_M7.2-pep_demo.c +++ b/examples/h5ff_client_M7.2-pep_demo.c @@ -721,6 +721,9 @@ int main( int argc, char **argv ) { free( value_p );
free( value_s );
+ /* wait for all ranks to complete read before evicting replicas */
+ MPI_Barrier( MPI_COMM_WORLD );
+
/* Rank 0 evicts replicas */
if ( my_rank == 0 ) {
if ( use_daos_lustre ) {
|