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
39cee80b
Commit
39cee80b
authored
Sep 23, 2011
by
Marc Howison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.6.5 release: Fixed several build errors reported by Iuri Prilepov on Ubuntu 11.04.
parent
819ddc47
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
44 additions
and
11 deletions
+44
-11
NEWS
NEWS
+12
-0
configure.ac
configure.ac
+1
-1
src/H5MultiBlock.c
src/H5MultiBlock.c
+2
-2
src/H5Part.c
src/H5Part.c
+4
-4
src/H5Part.h
src/H5Part.h
+2
-2
src/H5PartPrivate.h
src/H5PartPrivate.h
+18
-0
test/read.c
test/read.c
+1
-0
test/testframe.c
test/testframe.c
+2
-2
test/testframe.h
test/testframe.h
+2
-0
No files found.
NEWS
View file @
39cee80b
#### H5PART 1.6.5 ############################################################
Fixed several build errors reported by Iuri Prilepov on Ubuntu 11.04.
#### H5PART 1.6.4 ############################################################
Fixed bug where H5PartSetViewIndices was not setting an empty view when the
number of elements is 0.
Set a threshold on the HDF5 alignment parameter so that small metadata writes
are not aligned, which causes large gaps in the file.
#### H5PART 1.6.3 ############################################################
New build system uses libtool and can build shared libraries.
...
...
configure.ac
View file @
39cee80b
# Every configure script must call AC_INIT before doing anything else.
# AC_INIT (package, version, [bug-report], [tarname])
AC_INIT([H5Part], [1.6.
3
], [h5part@lists.psi.ch], H5Part)
AC_INIT([H5Part], [1.6.
5
], [h5part@lists.psi.ch], H5Part)
# Ensure that a recent enough version of Autoconf is being used.
# If the version of Autoconf being used to create configure is earlier than version,
...
...
src/H5MultiBlock.c
View file @
39cee80b
...
...
@@ -567,10 +567,10 @@ _halo_exchange_buffers (
ibufsize
=
(
int
)
bufsize
;
if
(
(
h5part_int64_t
)
ibufsize
!=
bufsize
)
return
HANDLE_MPI_INT64_ERR
;
send_buffer
=
malloc
(
bufsize
);
send_buffer
=
(
char
*
)
malloc
(
bufsize
);
if
(
send_buffer
==
NULL
)
return
HANDLE_H5PART_NOMEM_ERR
;
recv_buffer
=
malloc
(
bufsize
);
recv_buffer
=
(
char
*
)
malloc
(
bufsize
);
if
(
recv_buffer
==
NULL
)
return
HANDLE_H5PART_NOMEM_ERR
;
/* forward */
...
...
src/H5Part.c
View file @
39cee80b
...
...
@@ -291,9 +291,9 @@ _H5Part_open_file (
if
(
align
!=
0
)
{
_H5Part_print_info
(
"Setting HDF5 alignment to %ld bytes"
,
"Setting HDF5 alignment to %ld bytes
with threshold at half that many bytes
"
,
align
);
if
(
H5Pset_alignment
(
f
->
access_prop
,
0
,
align
)
<
0
)
{
if
(
H5Pset_alignment
(
f
->
access_prop
,
align
/
2
,
align
)
<
0
)
{
HANDLE_H5P_SET_FAPL_ERR
;
goto
error_cleanup
;
}
...
...
@@ -2859,9 +2859,9 @@ _set_view_indices (
herr
=
_reset_view
(
f
);
if
(
herr
<
0
)
return
herr
;
if
(
indices
==
NULL
||
nelems
<
=
0
)
{
if
(
indices
==
NULL
||
nelems
<
0
)
{
_H5Part_print_warn
(
"View indices array is null or size is <
=
0: reseting view."
);
"View indices array is null or size is < 0: reseting view."
);
return
H5PART_SUCCESS
;
}
...
...
src/H5Part.h
View file @
39cee80b
...
...
@@ -16,10 +16,10 @@ extern "C" {
#include "H5MultiBlock.h"
#endif
#define H5PART_VER_STRING "1.6.
3
"
#define H5PART_VER_STRING "1.6.
5
"
#define H5PART_VER_MAJOR 1
#define H5PART_VER_MINOR 6
#define H5PART_VER_RELEASE
3
#define H5PART_VER_RELEASE
5
/* error values */
#define H5PART_SUCCESS 0
...
...
src/H5PartPrivate.h
View file @
39cee80b
...
...
@@ -116,6 +116,24 @@ _H5Part_write_attrib (
const
hsize_t
attrib_nelem
);
h5part_int64_t
_H5Part_write_file_attrib
(
H5PartFile
*
f
,
const
char
*
name
,
const
hid_t
type
,
const
void
*
value
,
const
hsize_t
nelem
);
h5part_int64_t
_H5Part_write_step_attrib
(
H5PartFile
*
f
,
const
char
*
name
,
const
hid_t
type
,
const
void
*
value
,
const
hsize_t
nelem
);
h5part_int64_t
_H5Part_get_attrib_info
(
hid_t
id
,
...
...
test/read.c
View file @
39cee80b
#include <string.h>
#include <H5Part.h>
#include "testframe.h"
...
...
test/testframe.c
View file @
39cee80b
...
...
@@ -536,7 +536,7 @@ TestPrintf(const char *format, ...)
int
nproc
;
MPI_Comm_rank
(
MPI_COMM_WORLD
,
&
nproc
);
if
(
nproc
==
0
||
VERBOSE_HI
)
{
char
*
format2
=
malloc
(
strlen
(
format
)
+
8
);
char
*
format2
=
(
char
*
)
malloc
(
strlen
(
format
)
+
8
);
sprintf
(
format2
,
"[%d] %s"
,
nproc
,
format
);
va_start
(
arglist
,
format
);
ret_value
=
vprintf
(
format2
,
arglist
);
...
...
@@ -570,7 +570,7 @@ TestErrPrintf(const char *format, ...)
int
nproc
;
MPI_Comm_rank
(
MPI_COMM_WORLD
,
&
nproc
);
if
(
nproc
==
0
||
VERBOSE_HI
)
{
char
*
format2
=
malloc
(
strlen
(
format
)
+
8
);
char
*
format2
=
(
char
*
)
malloc
(
strlen
(
format
)
+
8
);
sprintf
(
format2
,
"[%d] %s"
,
nproc
,
format
);
va_start
(
arglist
,
format
);
ret_value
=
vfprintf
(
stderr
,
format2
,
arglist
);
...
...
test/testframe.h
View file @
39cee80b
...
...
@@ -6,6 +6,8 @@
#ifndef _H5PART_TESTFRAME_H_
#define _H5PART_TESTFRAME_H_
#include <string.h>
#ifdef PARALLEL_IO
#define OPEN(file,mode) \
H5PartOpenFileParallel(file,mode,MPI_COMM_WORLD)
...
...
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