1.6.5 release: Fixed several build errors reported by Iuri Prilepov on Ubuntu 11.04.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
#### 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
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
# Every configure script must call AC_INIT before doing anything else.
|
||||
# AC_INIT (package, version, [bug-report], [tarname])
|
||||
AC_INIT([H5Part], [1.6.4], [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,
|
||||
|
||||
+2
-2
@@ -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 */
|
||||
|
||||
+2
-2
@@ -16,10 +16,10 @@ extern "C" {
|
||||
#include "H5MultiBlock.h"
|
||||
#endif
|
||||
|
||||
#define H5PART_VER_STRING "1.6.4"
|
||||
#define H5PART_VER_STRING "1.6.5"
|
||||
#define H5PART_VER_MAJOR 1
|
||||
#define H5PART_VER_MINOR 6
|
||||
#define H5PART_VER_RELEASE 4
|
||||
#define H5PART_VER_RELEASE 5
|
||||
|
||||
/* error values */
|
||||
#define H5PART_SUCCESS 0
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#include <string.h>
|
||||
#include <H5Part.h>
|
||||
|
||||
#include "testframe.h"
|
||||
|
||||
+2
-2
@@ -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);
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user