Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
S
src
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
6
Issues
6
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Code Review
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
H5hut
src
Commits
e3b93e43
Commit
e3b93e43
authored
May 13, 2010
by
Marc Howison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed redundant VFD code in _H5Part_open and added an option for CORE VFD
parent
3e99a8cc
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
34 deletions
+20
-34
NEWS
NEWS
+7
-0
src/H5Part.c
src/H5Part.c
+8
-32
src/H5Part.h
src/H5Part.h
+3
-2
src/H5PartF.c
src/H5PartF.c
+2
-0
No files found.
NEWS
View file @
e3b93e43
...
...
@@ -29,6 +29,13 @@ To better accomodate round-robin lustre striping, the new policy is to
execute P/N batches of N writes. Thus, matching N to the number of stripes
results in the desirable 1-1 matching of writers to stripes.
Other Fixes
-----------
* The configure script should correctly detect PGI compilers now.
* There was a small memory leak in the Fortran file open calls.
* There was a compile error with HDF5 1.6.x due to a missing assignment.
#### H5PART 1.6 ##############################################################
Updated Documentation
...
...
src/H5Part.c
View file @
e3b93e43
...
...
@@ -194,36 +194,7 @@ _H5Part_open_file (
goto
error_cleanup
;
}
/* select the HDF5 VFD */
if
(
flags
&
H5PART_VFD_MPIPOSIX
)
{
_H5Part_print_info
(
"Selecting MPI-POSIX VFD"
);
if
(
H5Pset_fapl_mpiposix
(
f
->
access_prop
,
comm
,
0
)
<
0
)
{
HANDLE_H5P_SET_FAPL_ERR
;
goto
error_cleanup
;
}
}
else
{
_H5Part_print_info
(
"Selecting MPI-IO VFD"
);
if
(
H5Pset_fapl_mpio
(
f
->
access_prop
,
comm
,
info
)
<
0
)
{
HANDLE_H5P_SET_FAPL_ERR
;
goto
error_cleanup
;
}
if
(
flags
&
H5PART_VFD_MPIIO_IND
)
{
_H5Part_print_info
(
"Using independent mode"
);
}
else
{
_H5Part_print_info
(
"Using collective mode"
);
f
->
xfer_prop
=
H5Pcreate
(
H5P_DATASET_XFER
);
if
(
f
->
xfer_prop
<
0
)
{
HANDLE_H5P_CREATE_ERR
;
goto
error_cleanup
;
}
if
(
H5Pset_dxpl_mpio
(
f
->
xfer_prop
,
H5FD_MPIO_COLLECTIVE
)
<
0
)
{
HANDLE_H5P_SET_DXPL_MPIO_ERR
;
goto
error_cleanup
;
}
}
}
/* optional lustre optimizations */
if
(
flags
&
H5PART_FS_LUSTRE
)
{
/* extend the btree size so that metadata pieces are
...
...
@@ -279,8 +250,13 @@ _H5Part_open_file (
HANDLE_H5P_SET_FAPL_ERR
;
goto
error_cleanup
;
}
}
else
{
}
else
if
(
flags
&
H5PART_VFD_CORE
)
{
_H5Part_print_info
(
"Selecting CORE VFD"
);
if
(
H5Pset_fapl_core
(
f
->
access_prop
,
comm
,
0
)
<
0
)
{
HANDLE_H5P_SET_FAPL_ERR
;
goto
error_cleanup
;
}
}
else
{
_H5Part_print_info
(
"Selecting MPI-IO VFD"
);
if
(
H5Pset_fapl_mpio
(
f
->
access_prop
,
comm
,
info
)
<
0
)
{
HANDLE_H5P_SET_FAPL_ERR
;
...
...
src/H5Part.h
View file @
e3b93e43
...
...
@@ -16,10 +16,10 @@ extern "C" {
#include "H5MultiBlock.h"
#endif
#define H5PART_VER_STRING "1.6.
1
"
#define H5PART_VER_STRING "1.6.
2
"
#define H5PART_VER_MAJOR 1
#define H5PART_VER_MINOR 6
#define H5PART_VER_RELEASE
1
#define H5PART_VER_RELEASE
2
/* error values */
#define H5PART_SUCCESS 0
...
...
@@ -42,6 +42,7 @@ extern "C" {
#define H5PART_VFD_MPIPOSIX 0x08
#define H5PART_FS_LUSTRE 0x10
#define H5PART_VFD_MPIIO_IND 0x20
#define H5PART_VFD_CORE 0x40
/* verbosity level flags */
#define H5PART_VERB_NONE 0
...
...
src/H5PartF.c
View file @
e3b93e43
...
...
@@ -200,6 +200,8 @@ _H5Part_flagsfor2c (
while
(
flags
!=
NULL
)
{
if
(
strcmp
(
flags
,
"vfd_mpiposix"
)
==
0
)
fbits
|=
H5PART_VFD_MPIPOSIX
;
else
if
(
strcmp
(
flags
,
"vfd_core"
)
==
0
)
fbits
|=
H5PART_VFD_CORE
;
else
if
(
strcmp
(
flags
,
"vfd_mpio_ind"
)
==
0
)
fbits
|=
H5PART_VFD_MPIIO_IND
;
else
if
(
strcmp
(
flags
,
"fs_lustre"
)
==
0
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment