summaryrefslogtreecommitdiffstats
path: root/src/H5FDmpio.c
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2000-03-24 02:12:44 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2000-03-24 02:12:44 (GMT)
commite2c95c478aeb1fbf31b06f6bfcea4b750d414df6 (patch)
tree115fa55209fb1c04d0c60682050277bc0cc2aaef /src/H5FDmpio.c
parentf5111838893288dc6f52e19e62b417b9d9dd85cf (diff)
downloadhdf5-e2c95c478aeb1fbf31b06f6bfcea4b750d414df6.zip
hdf5-e2c95c478aeb1fbf31b06f6bfcea4b750d414df6.tar.gz
hdf5-e2c95c478aeb1fbf31b06f6bfcea4b750d414df6.tar.bz2
[svn-r2057] Purpose:
Bug fix for parallel mode. Description: H5FD_mpio_tas_allsame was called for all cases, even when MPIO is not used for access. That corrupted the internal file handle structure. Solution: Define a macro, IS_H5FD_MPIO(f), for testing if f is opened with MPIO access. Will call H5FD_mpio_tas_allsame only if this condition is true. Platform tested: O2K, both -64 and -n32 modes.
Diffstat (limited to 'src/H5FDmpio.c')
-rw-r--r--src/H5FDmpio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/H5FDmpio.c b/src/H5FDmpio.c
index 7cac7f3..89dd768 100644
--- a/src/H5FDmpio.c
+++ b/src/H5FDmpio.c
@@ -424,6 +424,7 @@ H5FD_mpio_tas_allsame(H5FD_t *_file, hbool_t newval)
#endif
assert(file);
+ assert(H5FD_MPIO==file->pub.driver_id);
oldval = file->allsame;
file->allsame = newval;
Serhiy Storchaka2015-04-041-3/+2 * | Merge: #23792: also catch interrupt around pipe.write.R David Murray2015-03-301-1/+6 |\ \ | |/ | * #23792: also catch interrupt around pipe.write.R David Murray2015-03-301-1/+6 * | Merge: #23792: Ignore KeyboardInterrupt when the pydoc pager is active.R David Murray2015-03-291-3/+10 |\ \ | |/ | * #23792: Ignore KeyboardInterrupt when the pydoc pager is active.R David Murray2015-03-291-3/+10 * | Issue #19980: Improved help() for non-recognized strings. help('') nowSerhiy Storchaka2015-02-281-4/+10 * | Issue #23374: Fixed pydoc failure with non-ASCII files when stdout encodingSerhiy Storchaka2015-02-201-9/+13 |\ \ | |/ | * Issue #23374: Fixed pydoc failure with non-ASCII files when stdout encodingSerhiy Storchaka2015-02-201-9/+13 * | merge 3.4 (#21548)Benjamin Peterson2015-02-171-2/+2 |\ \ | |/ | * fix pydoc.apropos and pydoc.synopsis on modules with empty docstrings (#21548)Benjamin Peterson2015-02-171-2/+2 * | Issue #22314: pydoc now works when the LINES environment variable is set.Serhiy Storchaka2014-11-271-2/+8 |\ \ | |/ | * Issue #22314: pydoc now works when the LINES environment variable is set.Serhiy Storchaka2014-11-271-2/+8 * | Issue #20662: Argspec now is escaped in html output of pydoc.Serhiy Storchaka2014-11-171-1/+1 |\ \ | |/ | * Issue #20662: Argspec now is escaped in html output of pydoc.Serhiy Storchaka2014-11-171-1/+1 | * Move Doc/tools/sphinxext content to Doc/tools, there is no need for the neste...Georg Brandl2014-09-301-1/+1 * | Move Doc/tools/sphinxext content to Doc/tools, there is no need for the neste...Georg Brandl2014-09-301-1/+1 * | Merge from 3.4Senthil Kumaran2014-09-171-2/+2 |\ \ | |/ | * Merge from 3.3Senthil Kumaran2014-09-171-2/+2 | |\ | | * Issue #22421 - Secure pydoc server run. Bind it to localhost instead of all i...Senthil Kumaran2014-09-171-2/+2 | | * #17476: make allmethods actually return all methods.R David Murray2013-03-191-1/+4 | | |\ | | | * #17476: make allmethods actually return all methods.R David Murray2013-03-191-1/+4 * | | | Issue #22033: Reprs of most Python implemened classes now contain actualSerhiy Storchaka2014-07-25