[Darshan-commits] [Git][darshan/darshan][master] 2 commits: H5Pget_fapl_mpio returns errors for non MPIO VFD

Shane Snyder xgitlab at cels.anl.gov
Thu Feb 4 14:25:11 CST 2021



Shane Snyder pushed to branch master at darshan / darshan


Commits:
189b7350 by Shane Snyder at 2021-02-04T14:22:32-06:00
H5Pget_fapl_mpio returns errors for non MPIO VFD

Fixes #295

- - - - -
2344493e by Shane Snyder at 2021-02-04T14:25:09-06:00
Merge branch 'fix-295-hdf5-fapl' into 'master'

H5Pget_fapl_mpio returns errors for non MPIO VFD

Closes #295

See merge request darshan/darshan!73
- - - - -


1 changed file:

- darshan-runtime/lib/darshan-hdf5.c


Changes:

=====================================
darshan-runtime/lib/darshan-hdf5.c
=====================================
@@ -224,7 +224,7 @@ hid_t DARSHAN_DECL(H5Fcreate)(const char *filename, unsigned flags,
         }
 
 #ifdef DARSHAN_HDF5_PAR_BUILD
-        if(access_plist != H5P_DEFAULT && H5Pget_fapl_mpio(access_plist, NULL, NULL) >= 0)
+        if(access_plist != H5P_DEFAULT && H5Pget_driver(access_plist) == H5FD_MPIO)
             use_mpio = 1;
 #endif
 
@@ -300,7 +300,7 @@ hid_t DARSHAN_DECL(H5Fopen)(const char *filename, unsigned flags,
         }
 
 #ifdef DARSHAN_HDF5_PAR_BUILD
-        if(access_plist != H5P_DEFAULT && H5Pget_fapl_mpio(access_plist, NULL, NULL) >= 0)
+        if(access_plist != H5P_DEFAULT && H5Pget_driver(access_plist) == H5FD_MPIO)
             use_mpio = 1;
 #endif
 



View it on GitLab: https://xgitlab.cels.anl.gov/darshan/darshan/-/compare/df801f020dcbca38e45f0e8351acbc647e0dab41...2344493edfb16c98dc35bd6b6acd33f90b821438

-- 
View it on GitLab: https://xgitlab.cels.anl.gov/darshan/darshan/-/compare/df801f020dcbca38e45f0e8351acbc647e0dab41...2344493edfb16c98dc35bd6b6acd33f90b821438
You're receiving this email because of your account on xgitlab.cels.anl.gov.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/darshan-commits/attachments/20210204/64dae4f2/attachment.html>


More information about the Darshan-commits mailing list