diff options
author | Leon Arber <larber@ncsa.uiuc.edu> | 2005-04-05 21:42:02 (GMT) |
---|---|---|
committer | Leon Arber <larber@ncsa.uiuc.edu> | 2005-04-05 21:42:02 (GMT) |
commit | bba7693f56cdf01eca814e64fd289eeb48823a0d (patch) | |
tree | 815b99169a3deed737625e7864f2c89ab88aaf40 /test/h5test.h | |
parent | a4760c1ade4affb5a7d517a8a75311ba2186b5e8 (diff) | |
download | hdf5-bba7693f56cdf01eca814e64fd289eeb48823a0d.zip hdf5-bba7693f56cdf01eca814e64fd289eeb48823a0d.tar.gz hdf5-bba7693f56cdf01eca814e64fd289eeb48823a0d.tar.bz2 |
[svn-r10555] Purpose:
Feature
Description:
Added new function, getenv_all (only for parallel builds)
Solution:
getenv_all is a collective version of getenv. It is used to the return the value of
an environment variable in another task and can be used to synchronize all of the
environment variables used by all of the tasks. This helps to fix problems that commonly crop up
(like with HDF5_PARAPREFIX) when an environment variable does not propogate to other tasks.
This commit only includes the function. Future commits will replace the various getenv calls with getenv_all calls.
Platforms tested:
heping, sol, copper
Misc. update:
Diffstat (limited to 'test/h5test.h')
-rw-r--r-- | test/h5test.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/h5test.h b/test/h5test.h index 00d3367..a0e5ea1 100644 --- a/test/h5test.h +++ b/test/h5test.h @@ -148,6 +148,7 @@ H5TEST_DLL int h5_szip_can_encode(void); #ifdef H5_HAVE_PARALLEL H5TEST_DLL int h5_set_info_object(void); H5TEST_DLL void h5_dump_info_object(MPI_Info info); +H5TEST_DLL char* getenv_all(MPI_Comm comm, int root, const char* name); #endif #ifdef __cplusplus |