diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2006-01-06 14:52:25 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2006-01-06 14:52:25 (GMT) |
commit | 16ec39276000b6e06e12dba66bce52e4dba5be04 (patch) | |
tree | 4a430d1b70af9b47a7ace1a140b27a9e5a0ec42b /perform/pio_standalone.c | |
parent | 63e69411fd5b98927b969594db2a18301cd6b6bd (diff) | |
download | hdf5-16ec39276000b6e06e12dba66bce52e4dba5be04.zip hdf5-16ec39276000b6e06e12dba66bce52e4dba5be04.tar.gz hdf5-16ec39276000b6e06e12dba66bce52e4dba5be04.tar.bz2 |
[svn-r11866] Purpose:
bug fix 504
Description:
testpar/t_mpi would hang if $HDF5_NOCLEANUP is set. E.g.,
% env HDF5_NOCLEANUP=yes mpirun -np 3 ./t_mpi
This happened because the environment variables are not exported to all
mpi processes by the mpirun command. So, some attempted to do cleanup
while others don't and some hang waiting for others to act.
Solution:
Instead individual program checking getenv, they all just called h5_cleanup
no matter. h5_cleanup now uses getenv_all to check the $HDF5_NOCLEANUP if
it is in parallel mode.
Platforms tested:
h5committested, tested pp in heping too.
Diffstat (limited to 'perform/pio_standalone.c')
0 files changed, 0 insertions, 0 deletions