Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge 839 (round 5) PRs to hdf5 1 10 #891

Merged
merged 27 commits into from
Aug 11, 2021
Merged
Show file tree
Hide file tree
Changes from 26 commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
c5d3ff5
Revert addition of & to 2 parameters in DSetCreatPropList::setVirtual to
lrknox May 17, 2021
df9c7de
Merge branch 'hdf5_1_10' of https://github.com/HDFGroup/hdf5 into hdf…
lrknox Jun 3, 2021
426b504
Fix H5Eget_auto2/H5Eauto_is_v2 to not clear error stack (#625)
jhendersonHDF May 12, 2021
da089c5
Removes gratuitous (double)x.yF casts (#632)
derobins May 7, 2021
e2bfcf4
Cleans up a const warning left over from previous constification (#633)
derobins May 7, 2021
a317873
Purges UFAIL from the library (#637)
derobins May 11, 2021
cc05a1e
Bmr dev hdffv 11223 (#640)
bmribler May 12, 2021
59a0ebd
Committing clang-format changes
github-actions[bot] Jun 3, 2021
6ed1a94
Restore "error:" in line 2666.
lrknox Jun 3, 2021
c502c85
Merge branch 'hdf5_1_10' of https://github.com/lrknox/hdf5 into hdf5_…
lrknox Jun 3, 2021
d3a6523
Revert "Fix H5Eget_auto2/H5Eauto_is_v2 to not clear error stack (#625)"
lrknox Jun 3, 2021
8234aac
Snapshot version 1.10 release 8-1. Update version to 1.10.8-2.
lrknox Jul 14, 2021
764cc03
Merge branch 'HDFGroup:hdf5_1_10' into hdf5_1_10
lrknox Jul 14, 2021
ef387ad
Squashed commit of the following:
lrknox Jul 20, 2021
628fcae
Revert references to SIZE_MAX to ((size_t)(-1)) in C header defines u…
lrknox Jul 21, 2021
1bfaf3b
Merge branch 'hdf5_1_10' into hdf5_1_10
lrknox Jul 21, 2021
6cefc9b
Merge branch 'HDFGroup:hdf5_1_10' into hdf5_1_10
lrknox Jul 29, 2021
2ffa5fa
Merge branch 'HDFGroup:hdf5_1_10' into hdf5_1_10
lrknox Jul 30, 2021
85438b2
Merge branch 'HDFGroup:hdf5_1_10' into hdf5_1_10
lrknox Aug 1, 2021
9d4bd08
Merge branch 'HDFGroup:hdf5_1_10' into hdf5_1_10
lrknox Aug 8, 2021
00c77e7
Merge branch 'HDFGroup:hdf5_1_10' into hdf5_1_10
lrknox Aug 11, 2021
785cf04
Removes unused commented-out code from h5jamgentest.c (#851)
derobins Jul 22, 2021
6686942
Updates a comment in H5mpi.c (#863)
derobins Jul 28, 2021
49d1022
Unsigned comparison to 0 warning avoidance (#869)
lrknox Aug 2, 2021
afd957b
Updates the RELEASE.txt file with a note about the variable-length fi…
derobins Aug 3, 2021
159b81a
Add parallel version of h5pfc script (#881)
byrnHDF Aug 7, 2021
447fad2
Revert "Unsigned comparison to 0 warning avoidance (#869)"
lrknox Aug 11, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions fortran/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -579,4 +579,17 @@ if (NOT WIN32 AND NOT MINGW)
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
COMPONENT fortlibraries
)
if (HDF5_ENABLE_PARALLEL AND MPI_Fortran_FOUND)
configure_file (
${HDF_RESOURCES_DIR}/libh5cc.in
${HDF5_BINARY_DIR}/CMakeFiles/h5pfc
@ONLY
)
install (
FILES ${HDF5_BINARY_DIR}/CMakeFiles/h5pfc
DESTINATION ${HDF5_INSTALL_BIN_DIR}
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
COMPONENT fortlibraries
)
endif ()
endif ()
4 changes: 4 additions & 0 deletions release_docs/RELEASE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -769,6 +769,10 @@ The following platforms are not supported but have been tested for this release.

Known Problems
==============
Setting a variable-length dataset fill value will leak the memory allocated
for the p field of the hvl_t struct. A fix is in progress for this.
HDFFV-10840

CMake files do not behave correctly with paths containing spaces.
Do not use spaces in paths because the required escaping for handling spaces
results in very complex and fragile build files.
Expand Down
6 changes: 5 additions & 1 deletion src/H5.c
Original file line number Diff line number Diff line change
Expand Up @@ -824,7 +824,11 @@ H5check_version(unsigned majnum, unsigned minnum, unsigned relnum)
disable_version_check = (unsigned int)HDstrtol(s, NULL, 0);
}

if (H5_VERS_MAJOR != majnum || H5_VERS_MINOR != minnum || H5_VERS_RELEASE != relnum) {
/* H5_VERS_MAJOR and H5_VERS_MINOR must match */
/* Cast relnum to int to avoid warning for unsigned < 0 comparison
* in first release versions */
if (H5_VERS_MAJOR != majnum || H5_VERS_MINOR != minnum || H5_VERS_RELEASE > (int)relnum) {

switch (disable_version_check) {
case 0:
HDfprintf(stderr, "%s%s", version_mismatch_warning,
Expand Down
2 changes: 1 addition & 1 deletion src/H5mpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ H5_mpio_create_large_type(hsize_t num_elements, MPI_Aint stride_bytes, MPI_Datat
MPI_Type_get_extent(old_type, &unused_lb_arg, &old_extent);
}

/* Set up the arguments for MPI_Type_struct constructor */
/* Set up the arguments for MPI_Type_create_struct() */
type[0] = outer_type;
type[1] = leftover_type;
block_len[0] = 1;
Expand Down
77 changes: 1 addition & 76 deletions tools/test/h5jam/h5jamgentest.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,24 +31,7 @@
#define UBTXT3 "u511.txt"
#define UBTXT4 "u512.txt"
#define UBTXT5 "u513.txt"
/* not used yet
#define UBTXT6 "u1023.txt"
#define UBTXT7 "u1024.txt"
#define UBTXT8 "u1025.txt"
#define UBTXT9 "u2047.txt"
#define UBTXT10 "u2048.txt"
#define UBTXT11 "u2049.txt"
#define UBBIN1 "u0.dat"
#define UBBIN2 "u10.dat"
#define UBBIN3 "u511.dat"
#define UBBIN4 "u512.dat"
#define UBBIN5 "u513.dat"
*/

/* not used yet
#define FILE1 "tnull.h5"
#define FILE2 "tnullwithub.h5"
*/
/* tall is same as dumper test */
#define FILE7 "tall.h5"
#define FILE8 "twithub.h5"
Expand All @@ -66,17 +49,6 @@ char pattern[11] = "abcdefghij";

#define BUF_SIZE 1024

/* Element selection information */

typedef enum { RED, GREEN, BLUE, WHITE, BLACK } enumtype;

/* Compound datatype */
typedef struct s1_t {
unsigned int a;
unsigned int b;
float c;
} s1_t;

/* A UD link traversal function. Shouldn't actually be called. */
static hid_t
UD_traverse(const char H5_ATTR_UNUSED *link_name, hid_t H5_ATTR_UNUSED cur_group,
Expand Down Expand Up @@ -115,7 +87,6 @@ g1.2.1 : slink
g2 : dset2.1 dset2.2 udlink

*/

static void
gent_ub(const char *filename, size_t ub_size, size_t ub_fill)
{
Expand Down Expand Up @@ -308,65 +279,19 @@ create_textfile(const char *name, size_t size)
HDclose(fd);
}

#ifdef notdef
/* not used yet */
void
create_binfile(char *name, off_t size)
{
char *buf;
int fd;
int i;
char *bp;

fd = creat(name, 0777);
HDassert(fd >= 0);

buf = HDcalloc(size, 1);
HDassert(buf);

/* fill buf with pattern */
bp = buf;
for (i = 0; i < size; i++)
*bp++ = (char)i & 0xff;

(void)HDwrite(fd, buf, size);

HDclose(fd);
}
#endif

/*-------------------------------------------------------------------------
* Function: main
*
*-------------------------------------------------------------------------
*/

int
main(void)
{

/*
create_textfile(UBTXT1, (size_t)0);
*/
create_textfile(UBTXT2, (size_t)10);
create_textfile(UBTXT3, (size_t)511);
create_textfile(UBTXT4, (size_t)512);
create_textfile(UBTXT5, (size_t)513);
/*
create_textfile(UBTXT6, (size_t)1023);
create_textfile(UBTXT7, (size_t)1024);
create_textfile(UBTXT8, (size_t)1025);
create_textfile(UBTXT9, (size_t)2047);
create_textfile(UBTXT10, (size_t)2048);
create_textfile(UBTXT11, (size_t)2049);

create_binfile(UBBIN1, (off_t)0);
create_binfile(UBBIN2, (off_t)10);
create_binfile(UBBIN3, (off_t)511);
create_binfile(UBBIN4, (off_t)512);
create_binfile(UBBIN5, (off_t)513);

*/

gent_ub(FILE7, (size_t)0, (size_t)0);
gent_ub(FILE8, (size_t)512, HDstrlen(pattern));
gent_ub(FILE9, (size_t)1024, (size_t)513);
Expand Down