2003-04-01 02:02:10 +08:00
|
|
|
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
2007-02-07 22:56:24 +08:00
|
|
|
* Copyright by The HDF Group. *
|
2003-04-01 02:02:10 +08:00
|
|
|
* All rights reserved. *
|
|
|
|
* *
|
|
|
|
* This file is part of HDF5. The full HDF5 copyright notice, including *
|
|
|
|
* terms governing use, modification, and redistribution, is contained in *
|
2017-04-18 03:32:16 +08:00
|
|
|
* the COPYING file, which can be found at the root of the source code *
|
2021-02-17 22:52:36 +08:00
|
|
|
* distribution tree, or in https://www.hdfgroup.org/licenses. *
|
2017-04-18 03:32:16 +08:00
|
|
|
* If you do not have access to either file, you may request a copy from *
|
|
|
|
* help@hdfgroup.org. *
|
2003-04-01 02:02:10 +08:00
|
|
|
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
|
|
|
|
2005-03-03 12:06:14 +08:00
|
|
|
/* common definitions used by all parallel hdf5 test programs. */
|
|
|
|
|
1998-07-02 06:10:04 +08:00
|
|
|
#ifndef PHDF5TEST_H
|
|
|
|
#define PHDF5TEST_H
|
|
|
|
|
2005-03-03 12:06:14 +08:00
|
|
|
#include "testpar.h"
|
2003-05-06 04:48:33 +08:00
|
|
|
|
2020-09-30 22:27:10 +08:00
|
|
|
enum H5TEST_COLL_CHUNK_API {
|
|
|
|
API_NONE = 0,
|
|
|
|
API_LINK_HARD,
|
|
|
|
API_MULTI_HARD,
|
|
|
|
API_LINK_TRUE,
|
|
|
|
API_LINK_FALSE,
|
|
|
|
API_MULTI_COLL,
|
|
|
|
API_MULTI_IND
|
|
|
|
};
|
2006-03-29 22:35:26 +08:00
|
|
|
|
2023-09-06 02:49:37 +08:00
|
|
|
#ifndef false
|
|
|
|
#define false 0
|
2005-03-03 12:06:14 +08:00
|
|
|
#endif
|
2003-10-23 05:17:25 +08:00
|
|
|
|
2023-09-06 02:49:37 +08:00
|
|
|
#ifndef true
|
|
|
|
#define true 1
|
2005-03-03 12:06:14 +08:00
|
|
|
#endif
|
1998-07-02 06:10:04 +08:00
|
|
|
|
|
|
|
/* Constants definitions */
|
2021-01-29 20:55:18 +08:00
|
|
|
#define DIM0 600 /* Default dataset sizes. */
|
2020-09-30 22:27:10 +08:00
|
|
|
#define DIM1 1200 /* Values are from a monitor pixel sizes */
|
2021-01-29 20:55:18 +08:00
|
|
|
#define ROW_FACTOR 8 /* Nominal row factor for dataset size */
|
|
|
|
#define COL_FACTOR 16 /* Nominal column factor for dataset size */
|
2020-09-30 22:27:10 +08:00
|
|
|
#define RANK 2
|
|
|
|
#define DATASETNAME1 "Data1"
|
|
|
|
#define DATASETNAME2 "Data2"
|
|
|
|
#define DATASETNAME3 "Data3"
|
|
|
|
#define DATASETNAME4 "Data4"
|
|
|
|
#define DATASETNAME5 "Data5"
|
|
|
|
#define DATASETNAME6 "Data6"
|
|
|
|
#define DATASETNAME7 "Data7"
|
|
|
|
#define DATASETNAME8 "Data8"
|
|
|
|
#define DATASETNAME9 "Data9"
|
2014-03-08 03:12:20 +08:00
|
|
|
|
|
|
|
/* point selection order */
|
2020-09-30 22:27:10 +08:00
|
|
|
#define IN_ORDER 1
|
2014-03-08 03:12:20 +08:00
|
|
|
#define OUT_OF_ORDER 2
|
2003-10-23 05:17:25 +08:00
|
|
|
|
|
|
|
/* Hyperslab layout styles */
|
2020-09-30 22:27:10 +08:00
|
|
|
#define BYROW 1 /* divide into slabs of rows */
|
|
|
|
#define BYCOL 2 /* divide into blocks of columns */
|
|
|
|
#define ZROW 3 /* same as BYCOL except process 0 gets 0 rows */
|
|
|
|
#define ZCOL 4 /* same as BYCOL except process 0 gets 0 columns */
|
2001-06-07 14:36:08 +08:00
|
|
|
|
2001-11-02 23:21:51 +08:00
|
|
|
/* File_Access_type bits */
|
2020-09-30 22:27:10 +08:00
|
|
|
#define FACC_DEFAULT 0x0 /* default */
|
|
|
|
#define FACC_MPIO 0x1 /* MPIO */
|
|
|
|
#define FACC_SPLIT 0x2 /* Split File */
|
1998-07-02 06:10:04 +08:00
|
|
|
|
2020-09-30 22:27:10 +08:00
|
|
|
#define DXFER_COLLECTIVE_IO 0x1 /* Collective IO*/
|
2006-08-09 11:16:07 +08:00
|
|
|
#define DXFER_INDEPENDENT_IO 0x2 /* Independent IO collectively */
|
2004-07-21 05:41:44 +08:00
|
|
|
/*Constants for collective chunk definitions */
|
2020-09-30 22:27:10 +08:00
|
|
|
#define SPACE_DIM1 24
|
|
|
|
#define SPACE_DIM2 4
|
|
|
|
#define BYROW_CONT 1
|
|
|
|
#define BYROW_DISCONT 2
|
|
|
|
#define BYROW_SELECTNONE 3
|
2006-03-24 05:18:02 +08:00
|
|
|
#define BYROW_SELECTUNBALANCE 4
|
2020-09-30 22:27:10 +08:00
|
|
|
#define BYROW_SELECTINCHUNK 5
|
|
|
|
|
|
|
|
#define DIMO_NUM_CHUNK 4
|
|
|
|
#define DIM1_NUM_CHUNK 2
|
|
|
|
#define LINK_TRUE_NUM_CHUNK 2
|
|
|
|
#define LINK_FALSE_NUM_CHUNK 6
|
|
|
|
#define MULTI_TRUE_PERCENT 50
|
2023-09-06 02:49:37 +08:00
|
|
|
#define LINK_TRUE_CHUNK_NAME "h5_link_chunk_TRUE"
|
|
|
|
#define LINK_FALSE_CHUNK_NAME "h5_link_chunk_FALSE"
|
2020-09-30 22:27:10 +08:00
|
|
|
#define LINK_HARD_CHUNK_NAME "h5_link_chunk_hard"
|
2006-03-29 22:35:26 +08:00
|
|
|
#define MULTI_HARD_CHUNK_NAME "h5_multi_chunk_hard"
|
|
|
|
#define MULTI_COLL_CHUNK_NAME "h5_multi_chunk_coll"
|
|
|
|
#define MULTI_INDP_CHUNK_NAME "h5_multi_chunk_indp"
|
|
|
|
|
2004-07-21 05:41:44 +08:00
|
|
|
#define DSET_COLLECTIVE_CHUNK_NAME "coll_chunk_name"
|
2004-08-03 01:51:50 +08:00
|
|
|
|
2004-11-12 05:05:03 +08:00
|
|
|
/*Constants for MPI derived data type generated from span tree */
|
|
|
|
|
2021-01-29 20:55:18 +08:00
|
|
|
#define MSPACE1_RANK 1 /* Rank of the first dataset in memory */
|
2020-09-30 22:27:10 +08:00
|
|
|
#define MSPACE1_DIM 27000 /* Dataset size in memory */
|
2021-01-29 20:55:18 +08:00
|
|
|
#define FSPACE_RANK 2 /* Dataset rank as it is stored in the file */
|
|
|
|
#define FSPACE_DIM1 9 /* Dimension sizes of the dataset as it is stored in the file */
|
2020-09-30 22:27:10 +08:00
|
|
|
#define FSPACE_DIM2 3600
|
2020-09-05 05:51:30 +08:00
|
|
|
/* We will read dataset back from the file to the dataset in memory with these dataspace parameters. */
|
2020-09-30 22:27:10 +08:00
|
|
|
#define MSPACE_RANK 2
|
|
|
|
#define MSPACE_DIM1 9
|
|
|
|
#define MSPACE_DIM2 3600
|
2021-01-29 20:55:18 +08:00
|
|
|
#define FHCOUNT0 1 /* Count of the first dimension of the first hyperslab selection*/
|
2020-09-30 22:27:10 +08:00
|
|
|
#define FHCOUNT1 768 /* Count of the second dimension of the first hyperslab selection*/
|
2021-01-29 20:55:18 +08:00
|
|
|
#define FHSTRIDE0 4 /* Stride of the first dimension of the first hyperslab selection*/
|
|
|
|
#define FHSTRIDE1 3 /* Stride of the second dimension of the first hyperslab selection*/
|
|
|
|
#define FHBLOCK0 3 /* Block of the first dimension of the first hyperslab selection*/
|
|
|
|
#define FHBLOCK1 2 /* Block of the second dimension of the first hyperslab selection*/
|
|
|
|
#define FHSTART0 0 /* start of the first dimension of the first hyperslab selection*/
|
|
|
|
#define FHSTART1 1 /* start of the second dimension of the first hyperslab selection*/
|
|
|
|
|
|
|
|
#define SHCOUNT0 1 /* Count of the first dimension of the first hyperslab selection*/
|
|
|
|
#define SHCOUNT1 1 /* Count of the second dimension of the first hyperslab selection*/
|
|
|
|
#define SHSTRIDE0 1 /* Stride of the first dimension of the first hyperslab selection*/
|
|
|
|
#define SHSTRIDE1 1 /* Stride of the second dimension of the first hyperslab selection*/
|
|
|
|
#define SHBLOCK0 3 /* Block of the first dimension of the first hyperslab selection*/
|
2020-09-30 22:27:10 +08:00
|
|
|
#define SHBLOCK1 768 /* Block of the second dimension of the first hyperslab selection*/
|
2021-01-29 20:55:18 +08:00
|
|
|
#define SHSTART0 4 /* start of the first dimension of the first hyperslab selection*/
|
|
|
|
#define SHSTART1 0 /* start of the second dimension of the first hyperslab selection*/
|
2020-09-30 22:27:10 +08:00
|
|
|
|
|
|
|
#define MHCOUNT0 6912 /* Count of the first dimension of the first hyperslab selection*/
|
2021-01-29 20:55:18 +08:00
|
|
|
#define MHSTRIDE0 1 /* Stride of the first dimension of the first hyperslab selection*/
|
|
|
|
#define MHBLOCK0 1 /* Block of the first dimension of the first hyperslab selection*/
|
|
|
|
#define MHSTART0 1 /* start of the first dimension of the first hyperslab selection*/
|
2020-09-30 22:27:10 +08:00
|
|
|
|
2021-01-29 20:55:18 +08:00
|
|
|
#define RFFHCOUNT0 3 /* Count of the first dimension of the first hyperslab selection*/
|
2020-09-30 22:27:10 +08:00
|
|
|
#define RFFHCOUNT1 768 /* Count of the second dimension of the first hyperslab selection*/
|
2021-01-29 20:55:18 +08:00
|
|
|
#define RFFHSTRIDE0 1 /* Stride of the first dimension of the first hyperslab selection*/
|
|
|
|
#define RFFHSTRIDE1 1 /* Stride of the second dimension of the first hyperslab selection*/
|
|
|
|
#define RFFHBLOCK0 1 /* Block of the first dimension of the first hyperslab selection*/
|
|
|
|
#define RFFHBLOCK1 1 /* Block of the second dimension of the first hyperslab selection*/
|
|
|
|
#define RFFHSTART0 1 /* start of the first dimension of the first hyperslab selection*/
|
|
|
|
#define RFFHSTART1 2 /* start of the second dimension of the first hyperslab selection*/
|
|
|
|
|
|
|
|
#define RFSHCOUNT0 3 /* Count of the first dimension of the first hyperslab selection*/
|
2020-09-30 22:27:10 +08:00
|
|
|
#define RFSHCOUNT1 1536 /* Count of the second dimension of the first hyperslab selection*/
|
2021-01-29 20:55:18 +08:00
|
|
|
#define RFSHSTRIDE0 1 /* Stride of the first dimension of the first hyperslab selection*/
|
|
|
|
#define RFSHSTRIDE1 1 /* Stride of the second dimension of the first hyperslab selection*/
|
|
|
|
#define RFSHBLOCK0 1 /* Block of the first dimension of the first hyperslab selection*/
|
|
|
|
#define RFSHBLOCK1 1 /* Block of the second dimension of the first hyperslab selection*/
|
|
|
|
#define RFSHSTART0 2 /* start of the first dimension of the first hyperslab selection*/
|
|
|
|
#define RFSHSTART1 4 /* start of the second dimension of the first hyperslab selection*/
|
|
|
|
|
|
|
|
#define RMFHCOUNT0 3 /* Count of the first dimension of the first hyperslab selection*/
|
2020-09-30 22:27:10 +08:00
|
|
|
#define RMFHCOUNT1 768 /* Count of the second dimension of the first hyperslab selection*/
|
2021-01-29 20:55:18 +08:00
|
|
|
#define RMFHSTRIDE0 1 /* Stride of the first dimension of the first hyperslab selection*/
|
|
|
|
#define RMFHSTRIDE1 1 /* Stride of the second dimension of the first hyperslab selection*/
|
|
|
|
#define RMFHBLOCK0 1 /* Block of the first dimension of the first hyperslab selection*/
|
|
|
|
#define RMFHBLOCK1 1 /* Block of the second dimension of the first hyperslab selection*/
|
|
|
|
#define RMFHSTART0 0 /* start of the first dimension of the first hyperslab selection*/
|
|
|
|
#define RMFHSTART1 0 /* start of the second dimension of the first hyperslab selection*/
|
|
|
|
|
|
|
|
#define RMSHCOUNT0 3 /* Count of the first dimension of the first hyperslab selection*/
|
2020-09-30 22:27:10 +08:00
|
|
|
#define RMSHCOUNT1 1536 /* Count of the second dimension of the first hyperslab selection*/
|
2021-01-29 20:55:18 +08:00
|
|
|
#define RMSHSTRIDE0 1 /* Stride of the first dimension of the first hyperslab selection*/
|
|
|
|
#define RMSHSTRIDE1 1 /* Stride of the second dimension of the first hyperslab selection*/
|
|
|
|
#define RMSHBLOCK0 1 /* Block of the first dimension of the first hyperslab selection*/
|
|
|
|
#define RMSHBLOCK1 1 /* Block of the second dimension of the first hyperslab selection*/
|
|
|
|
#define RMSHSTART0 1 /* start of the first dimension of the first hyperslab selection*/
|
|
|
|
#define RMSHSTART1 2 /* start of the second dimension of the first hyperslab selection*/
|
2020-09-30 22:27:10 +08:00
|
|
|
|
|
|
|
#define NPOINTS \
|
|
|
|
4 /* Number of points that will be selected \
|
|
|
|
and overwritten */
|
2004-11-25 05:13:26 +08:00
|
|
|
|
[svn-r21442] Description:
Check in "actual I/O mode" feature to trunk. Will merge back to 1.8 branch
after it bakes over the weekend.
Tested on:
FreeBSD/32 8.2 (loyalty) w/gcc4.6, w/C++ & FORTRAN, in debug mode
FreeBSD/64 8.2 (freedom) w/gcc4.6, w/C++ & FORTRAN, in debug mode
Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x,
w/C++ & FORTRAN, w/threadsafe, in debug mode
Linux/64-amd64 2.6 (koala) w/Intel compilers, w/default API=1.6.x,
w/C++ & FORTRAN, in production mode
Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
w/szip filter, w/threadsafe, in production mode
Linux/PPC 2.6 (heiwa) w/C++ & FORTRAN, w/threadsafe, in debug mode
Linux/64-ia64 2.6 (ember) w/Intel compilers, w/C++ & FORTRAN,
in production mode
Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in debug mode
Mac OS X/32 10.6.8 (amazon) in debug mode
Mac OS X/32 10.6.8 (amazon) w/C++ & FORTRAN, w/threadsafe,
in production mode
2011-10-01 09:37:23 +08:00
|
|
|
/* Definitions of the selection mode for the test_actual_io_function. */
|
2020-09-30 22:27:10 +08:00
|
|
|
#define TEST_ACTUAL_IO_NO_COLLECTIVE 0
|
|
|
|
#define TEST_ACTUAL_IO_RESET 1
|
|
|
|
#define TEST_ACTUAL_IO_MULTI_CHUNK_IND 2
|
|
|
|
#define TEST_ACTUAL_IO_MULTI_CHUNK_COL 3
|
|
|
|
#define TEST_ACTUAL_IO_MULTI_CHUNK_MIX 4
|
|
|
|
#define TEST_ACTUAL_IO_MULTI_CHUNK_MIX_DISAGREE 5
|
|
|
|
#define TEST_ACTUAL_IO_DIRECT_MULTI_CHUNK_IND 6
|
|
|
|
#define TEST_ACTUAL_IO_DIRECT_MULTI_CHUNK_COL 7
|
|
|
|
#define TEST_ACTUAL_IO_LINK_CHUNK 8
|
|
|
|
#define TEST_ACTUAL_IO_CONTIGUOUS 9
|
[svn-r21442] Description:
Check in "actual I/O mode" feature to trunk. Will merge back to 1.8 branch
after it bakes over the weekend.
Tested on:
FreeBSD/32 8.2 (loyalty) w/gcc4.6, w/C++ & FORTRAN, in debug mode
FreeBSD/64 8.2 (freedom) w/gcc4.6, w/C++ & FORTRAN, in debug mode
Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x,
w/C++ & FORTRAN, w/threadsafe, in debug mode
Linux/64-amd64 2.6 (koala) w/Intel compilers, w/default API=1.6.x,
w/C++ & FORTRAN, in production mode
Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
w/szip filter, w/threadsafe, in production mode
Linux/PPC 2.6 (heiwa) w/C++ & FORTRAN, w/threadsafe, in debug mode
Linux/64-ia64 2.6 (ember) w/Intel compilers, w/C++ & FORTRAN,
in production mode
Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in debug mode
Mac OS X/32 10.6.8 (amazon) in debug mode
Mac OS X/32 10.6.8 (amazon) w/C++ & FORTRAN, w/threadsafe,
in production mode
2011-10-01 09:37:23 +08:00
|
|
|
|
2012-09-05 01:00:38 +08:00
|
|
|
/* Definitions of the selection mode for the no_collective_cause_tests function. */
|
|
|
|
#define TEST_COLLECTIVE 0x001
|
2019-08-25 03:07:19 +08:00
|
|
|
#define TEST_SET_INDEPENDENT 0x002
|
2012-09-05 01:00:38 +08:00
|
|
|
#define TEST_DATATYPE_CONVERSION 0x004
|
|
|
|
#define TEST_DATA_TRANSFORMS 0x008
|
2014-03-22 07:02:24 +08:00
|
|
|
#define TEST_NOT_SIMPLE_OR_SCALAR_DATASPACES 0x010
|
|
|
|
#define TEST_NOT_CONTIGUOUS_OR_CHUNKED_DATASET_COMPACT 0x020
|
|
|
|
#define TEST_NOT_CONTIGUOUS_OR_CHUNKED_DATASET_EXTERNAL 0x040
|
2012-09-05 01:00:38 +08:00
|
|
|
|
2004-11-25 05:13:26 +08:00
|
|
|
/* Don't erase these lines, they are put here for debugging purposes */
|
|
|
|
/*
|
2005-08-14 04:53:35 +08:00
|
|
|
#define MSPACE1_RANK 1
|
|
|
|
#define MSPACE1_DIM 50
|
|
|
|
#define MSPACE2_RANK 1
|
|
|
|
#define MSPACE2_DIM 4
|
|
|
|
#define FSPACE_RANK 2
|
|
|
|
#define FSPACE_DIM1 8
|
|
|
|
#define FSPACE_DIM2 12
|
|
|
|
#define MSPACE_RANK 2
|
|
|
|
#define MSPACE_DIM1 8
|
|
|
|
#define MSPACE_DIM2 9
|
|
|
|
#define NPOINTS 4
|
[svn-r21442] Description:
Check in "actual I/O mode" feature to trunk. Will merge back to 1.8 branch
after it bakes over the weekend.
Tested on:
FreeBSD/32 8.2 (loyalty) w/gcc4.6, w/C++ & FORTRAN, in debug mode
FreeBSD/64 8.2 (freedom) w/gcc4.6, w/C++ & FORTRAN, in debug mode
Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x,
w/C++ & FORTRAN, w/threadsafe, in debug mode
Linux/64-amd64 2.6 (koala) w/Intel compilers, w/default API=1.6.x,
w/C++ & FORTRAN, in production mode
Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
w/szip filter, w/threadsafe, in production mode
Linux/PPC 2.6 (heiwa) w/C++ & FORTRAN, w/threadsafe, in debug mode
Linux/64-ia64 2.6 (ember) w/Intel compilers, w/C++ & FORTRAN,
in production mode
Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in debug mode
Mac OS X/32 10.6.8 (amazon) in debug mode
Mac OS X/32 10.6.8 (amazon) w/C++ & FORTRAN, w/threadsafe,
in production mode
2011-10-01 09:37:23 +08:00
|
|
|
*/ /* end of debugging macro */
|
2004-11-25 05:13:26 +08:00
|
|
|
|
2004-04-02 07:00:13 +08:00
|
|
|
/* type definitions */
|
2020-09-30 22:27:10 +08:00
|
|
|
typedef struct H5Ptest_param_t /* holds extra test parameters */
|
2004-04-02 07:00:13 +08:00
|
|
|
{
|
2020-09-30 22:27:10 +08:00
|
|
|
char *name;
|
|
|
|
int count;
|
2004-04-02 07:00:13 +08:00
|
|
|
} H5Ptest_param_t;
|
|
|
|
|
2003-10-23 05:17:25 +08:00
|
|
|
/* Dataset data type. Int's can be easily octo dumped. */
|
1998-07-02 06:10:04 +08:00
|
|
|
typedef int DATATYPE;
|
|
|
|
|
2011-01-16 18:12:42 +08:00
|
|
|
/* Shape Same Tests Definitions */
|
|
|
|
typedef enum {
|
2021-12-07 22:27:29 +08:00
|
|
|
IND_CONTIG, /* Independent IO on contiguous datasets */
|
|
|
|
COL_CONTIG, /* Collective IO on contiguous datasets */
|
2020-09-30 22:27:10 +08:00
|
|
|
IND_CHUNKED, /* Independent IO on chunked datasets */
|
|
|
|
COL_CHUNKED /* Collective IO on chunked datasets */
|
2011-01-16 18:12:42 +08:00
|
|
|
} ShapeSameTestMethods;
|
|
|
|
|
2003-10-23 05:17:25 +08:00
|
|
|
/* Shared global variables */
|
2021-03-27 04:14:09 +08:00
|
|
|
extern int dim0, dim1; /*Dataset dimensions */
|
|
|
|
extern int chunkdim0, chunkdim1; /*Chunk dimensions */
|
|
|
|
extern int nerrors; /*errors count */
|
|
|
|
extern int facc_type; /*Test file access type */
|
|
|
|
extern int dxfer_coll_type;
|
2001-11-02 23:21:51 +08:00
|
|
|
|
2004-04-02 07:00:13 +08:00
|
|
|
/* Test program prototypes */
|
[svn-r22807] Description:
Add encode/decode API routines for property lists: H5Pencode/H5Pdecode.
Tested on:
FreeBSD/32 8.2 (loyalty) w/gcc4.6, w/C++ & FORTRAN, in debug mode
FreeBSD/64 8.2 (freedom) w/gcc4.6, w/C++ & FORTRAN, in debug mode
Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x,
w/C++ & FORTRAN, w/threadsafe, in debug mode
Linux/64-amd64 2.6 (koala) w/Intel compilers, w/default API=1.6.x,
w/C++ & FORTRAN, in production mode
Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
w/szip filter, w/threadsafe, in production mode
Linux/PPC 2.6 (ostrich) w/C++ & FORTRAN, w/threadsafe, in debug mode
Linux/64-ia64 2.6 (ember) w/Intel compilers, w/parallel, C++ & FORTRAN,
in production mode
Mac OS X/32 10.7.3 (amazon) in debug mode
Mac OS X/32 10.7.3 (amazon) w/C++ & FORTRAN, w/threadsafe,
in production mode
Mac OS X/32 10.7.3 (amazon) w/parallel, in debug mode
2012-09-25 23:47:25 +08:00
|
|
|
void test_plist_ed(void);
|
2021-02-17 20:37:23 +08:00
|
|
|
void external_links(void);
|
2014-07-10 03:01:25 +08:00
|
|
|
void zero_dim_dset(void);
|
2016-02-12 00:03:44 +08:00
|
|
|
void test_file_properties(void);
|
2021-04-17 02:47:32 +08:00
|
|
|
void test_delete(void);
|
2023-08-19 04:59:25 +08:00
|
|
|
void test_invalid_libver_bounds_file_close_assert(void);
|
2023-10-25 01:51:55 +08:00
|
|
|
void test_evict_on_close_parallel_unsupp(void);
|
2023-10-25 10:48:28 +08:00
|
|
|
void test_fapl_preserve_hints(void);
|
2004-04-02 07:00:13 +08:00
|
|
|
void multiple_dset_write(void);
|
|
|
|
void multiple_group_write(void);
|
|
|
|
void multiple_group_read(void);
|
2019-05-04 05:08:22 +08:00
|
|
|
void collective_group_write_independent_group_read(void);
|
2004-04-02 07:00:13 +08:00
|
|
|
void collective_group_write(void);
|
|
|
|
void independent_group_read(void);
|
2003-04-24 05:19:51 +08:00
|
|
|
void test_fapl_mpio_dup(void);
|
2023-11-06 23:27:51 +08:00
|
|
|
void test_get_dxpl_mpio(void);
|
2004-04-02 07:00:13 +08:00
|
|
|
void test_split_comm_access(void);
|
2017-03-14 12:30:37 +08:00
|
|
|
void test_page_buffer_access(void);
|
2012-03-22 05:00:48 +08:00
|
|
|
void dataset_atomicity(void);
|
2004-04-02 07:00:13 +08:00
|
|
|
void dataset_writeInd(void);
|
|
|
|
void dataset_writeAll(void);
|
|
|
|
void extend_writeInd(void);
|
2004-07-14 02:42:47 +08:00
|
|
|
void extend_writeInd2(void);
|
2004-04-02 07:00:13 +08:00
|
|
|
void extend_writeAll(void);
|
|
|
|
void dataset_readInd(void);
|
|
|
|
void dataset_readAll(void);
|
|
|
|
void extend_readInd(void);
|
|
|
|
void extend_readAll(void);
|
2007-08-21 05:55:38 +08:00
|
|
|
void none_selection_chunk(void);
|
[svn-r21442] Description:
Check in "actual I/O mode" feature to trunk. Will merge back to 1.8 branch
after it bakes over the weekend.
Tested on:
FreeBSD/32 8.2 (loyalty) w/gcc4.6, w/C++ & FORTRAN, in debug mode
FreeBSD/64 8.2 (freedom) w/gcc4.6, w/C++ & FORTRAN, in debug mode
Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x,
w/C++ & FORTRAN, w/threadsafe, in debug mode
Linux/64-amd64 2.6 (koala) w/Intel compilers, w/default API=1.6.x,
w/C++ & FORTRAN, in production mode
Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
w/szip filter, w/threadsafe, in production mode
Linux/PPC 2.6 (heiwa) w/C++ & FORTRAN, w/threadsafe, in debug mode
Linux/64-ia64 2.6 (ember) w/Intel compilers, w/C++ & FORTRAN,
in production mode
Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in debug mode
Mac OS X/32 10.6.8 (amazon) in debug mode
Mac OS X/32 10.6.8 (amazon) w/C++ & FORTRAN, w/threadsafe,
in production mode
2011-10-01 09:37:23 +08:00
|
|
|
void actual_io_mode_tests(void);
|
2012-09-05 01:00:38 +08:00
|
|
|
void no_collective_cause_tests(void);
|
2005-08-30 12:35:17 +08:00
|
|
|
void test_chunk_alloc(void);
|
2023-08-22 11:09:04 +08:00
|
|
|
void test_chunk_alloc_incr_ser_to_par(void);
|
2007-05-22 08:07:09 +08:00
|
|
|
void test_filter_read(void);
|
2004-04-02 07:00:13 +08:00
|
|
|
void compact_dataset(void);
|
2004-05-18 03:59:04 +08:00
|
|
|
void null_dataset(void);
|
2004-04-02 07:00:13 +08:00
|
|
|
void big_dataset(void);
|
|
|
|
void dataset_fillvalue(void);
|
2004-07-23 04:46:27 +08:00
|
|
|
void coll_chunk1(void);
|
|
|
|
void coll_chunk2(void);
|
|
|
|
void coll_chunk3(void);
|
|
|
|
void coll_chunk4(void);
|
2006-03-29 22:35:26 +08:00
|
|
|
void coll_chunk5(void);
|
|
|
|
void coll_chunk6(void);
|
|
|
|
void coll_chunk7(void);
|
|
|
|
void coll_chunk8(void);
|
|
|
|
void coll_chunk9(void);
|
|
|
|
void coll_chunk10(void);
|
2004-11-25 05:13:26 +08:00
|
|
|
void coll_irregular_cont_read(void);
|
|
|
|
void coll_irregular_cont_write(void);
|
2004-12-09 07:33:40 +08:00
|
|
|
void coll_irregular_simple_chunk_read(void);
|
|
|
|
void coll_irregular_simple_chunk_write(void);
|
|
|
|
void coll_irregular_complex_chunk_read(void);
|
|
|
|
void coll_irregular_complex_chunk_write(void);
|
2004-09-19 05:38:44 +08:00
|
|
|
void io_mode_confusion(void);
|
2010-10-17 23:13:24 +08:00
|
|
|
void rr_obj_hdr_flush_confusion(void);
|
2010-10-28 13:12:44 +08:00
|
|
|
void rr_obj_hdr_flush_confusion_reader(MPI_Comm comm);
|
|
|
|
void rr_obj_hdr_flush_confusion_writer(MPI_Comm comm);
|
2016-08-09 05:56:50 +08:00
|
|
|
void chunk_align_bug_1(void);
|
[svn-r19092] Description:
Bring "shape same" changes from LBL branch to trunk. These changes
allow shapes that are the same, but projected into dataspaces with different
ranks to be detected correctly, and also contains code to project a dataspace
into greater/lesser number of dimensions, so the I/O can proceed in a faster
way.
These changes also contain several bug fixes and _lots_ of code
cleanups to the MPI datatype creation code.
Many other misc. code cleanup are included as well...
Tested on:
FreeBSD/32 6.3 (duty) in debug mode
FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode
Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x,
w/C++ & FORTRAN, w/threadsafe, in debug mode
Linux/64-amd64 2.6 (amani) w/Intel compilers, w/default API=1.6.x,
w/C++ & FORTRAN, in production mode
Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
w/szip filter, in production mode
Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
in production mode
Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in debug mode
Mac OS X/32 10.6.3 (amazon) in debug mode
Mac OS X/32 10.6.3 (amazon) w/C++ & FORTRAN, w/threadsafe,
in production mode
2010-07-19 13:05:45 +08:00
|
|
|
void lower_dim_size_comp_test(void);
|
|
|
|
void link_chunk_collective_io_test(void);
|
2011-01-16 18:12:42 +08:00
|
|
|
void contig_hyperslab_dr_pio_test(ShapeSameTestMethods sstest_type);
|
|
|
|
void checker_board_hyperslab_dr_pio_test(ShapeSameTestMethods sstest_type);
|
2012-03-31 16:49:35 +08:00
|
|
|
void file_image_daisy_chain_test(void);
|
2004-10-05 04:29:31 +08:00
|
|
|
#ifdef H5_HAVE_FILTER_DEFLATE
|
|
|
|
void compress_readAll(void);
|
|
|
|
#endif /* H5_HAVE_FILTER_DEFLATE */
|
2013-04-03 10:50:50 +08:00
|
|
|
void test_dense_attr(void);
|
2018-08-26 11:54:30 +08:00
|
|
|
void test_partial_no_selection_coll_md_read(void);
|
2019-01-26 05:32:51 +08:00
|
|
|
void test_multi_chunk_io_addrmap_issue(void);
|
|
|
|
void test_link_chunk_io_sort_chunk_issue(void);
|
2023-02-20 22:49:34 +08:00
|
|
|
void test_collective_global_heap_write(void);
|
2023-10-24 10:06:44 +08:00
|
|
|
void test_coll_io_ind_md_write(void);
|
2022-07-12 23:55:34 +08:00
|
|
|
void test_oflush(void);
|
2004-04-02 07:00:13 +08:00
|
|
|
|
|
|
|
/* commonly used prototypes */
|
2020-09-30 22:27:10 +08:00
|
|
|
hid_t create_faccess_plist(MPI_Comm comm, MPI_Info info, int l_facc_type);
|
2004-04-02 07:00:13 +08:00
|
|
|
MPI_Offset h5_mpi_get_file_size(const char *filename, MPI_Comm comm, MPI_Info info);
|
2020-09-30 22:27:10 +08:00
|
|
|
int dataset_vrfy(hsize_t start[], hsize_t count[], hsize_t stride[], hsize_t block[], DATATYPE *dataset,
|
|
|
|
DATATYPE *original);
|
|
|
|
void point_set(hsize_t start[], hsize_t count[], hsize_t stride[], hsize_t block[], size_t num_points,
|
|
|
|
hsize_t coords[], int order);
|
1998-07-02 06:10:04 +08:00
|
|
|
#endif /* PHDF5TEST_H */
|