diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2006-04-07 15:00:47 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2006-04-07 15:00:47 (GMT) |
commit | d4a986445c1371eafe67d798de3fd1311cbc3479 (patch) | |
tree | fef2d3aea6ec3aa532447ce788b1a3dd44444481 /test/bittests.c | |
parent | e6310e08692c631e95a9d827a0f7ec0ddf12d82a (diff) | |
download | hdf5-d4a986445c1371eafe67d798de3fd1311cbc3479.zip hdf5-d4a986445c1371eafe67d798de3fd1311cbc3479.tar.gz hdf5-d4a986445c1371eafe67d798de3fd1311cbc3479.tar.bz2 |
[svn-r12209] Purpose:
Bug fix.
Description:
getenv_all would fail if one calls it without calling MPI_initialized first.
This may happen if one uses PHDF5 library to build a serial nature code
and does not make any MPI calls.
Solution:
Added code to detect if MPI has been initialized. If not, use the
original getenv.
Platforms tested:
heping (serial) and mir (parallel).
Diffstat (limited to 'test/bittests.c')
0 files changed, 0 insertions, 0 deletions