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
|
|
|
* Copyright by the Board of Trustees of the University of Illinois. *
|
|
|
|
* 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 *
|
|
|
|
* distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases. *
|
|
|
|
* 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
|
|
|
|
2006-03-29 22:35:26 +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};
|
|
|
|
|
2003-05-06 04:48:33 +08:00
|
|
|
#ifndef FALSE
|
2005-03-03 12:06:14 +08:00
|
|
|
#define FALSE 0
|
|
|
|
#endif
|
2003-10-23 05:17:25 +08:00
|
|
|
|
2005-03-03 12:06:14 +08:00
|
|
|
#ifndef TRUE
|
|
|
|
#define TRUE 1
|
|
|
|
#endif
|
1998-07-02 06:10:04 +08:00
|
|
|
|
|
|
|
|
|
|
|
/* Constants definitions */
|
2000-10-20 14:19:21 +08:00
|
|
|
#define DIM0 600 /* Default dataset sizes. */
|
2001-03-20 06:32:23 +08:00
|
|
|
#define DIM1 1200 /* Values are from a monitor pixel sizes */
|
2009-04-10 05:32:52 +08:00
|
|
|
#define ROW_FACTOR 8 /* Nominal row factor for dataset size */
|
|
|
|
#define COL_FACTOR 16 /* Nominal column factor for dataset size */
|
1998-07-02 06:10:04 +08:00
|
|
|
#define RANK 2
|
|
|
|
#define DATASETNAME1 "Data1"
|
|
|
|
#define DATASETNAME2 "Data2"
|
|
|
|
#define DATASETNAME3 "Data3"
|
2002-11-06 00:31:02 +08:00
|
|
|
#define DATASETNAME4 "Data4"
|
2012-03-22 05:00:48 +08:00
|
|
|
#define DATASETNAME5 "Data5"
|
|
|
|
#define DATASETNAME6 "Data6"
|
2014-03-08 03:12:20 +08:00
|
|
|
#define DATASETNAME7 "Data7"
|
|
|
|
#define DATASETNAME8 "Data8"
|
|
|
|
#define DATASETNAME9 "Data9"
|
|
|
|
|
|
|
|
/* point selection order */
|
|
|
|
#define IN_ORDER 1
|
|
|
|
#define OUT_OF_ORDER 2
|
2003-10-23 05:17:25 +08:00
|
|
|
|
|
|
|
/* Hyperslab layout styles */
|
|
|
|
#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 */
|
2003-10-23 05:17:25 +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
|
|
|
|
2006-08-09 11:16:07 +08:00
|
|
|
#define DXFER_COLLECTIVE_IO 0x1 /* Collective IO*/
|
|
|
|
#define DXFER_INDEPENDENT_IO 0x2 /* Independent IO collectively */
|
2004-07-21 05:41:44 +08:00
|
|
|
/*Constants for collective chunk definitions */
|
[svn-r12142] Purpose:
change the array size of collective chunking features of parallel tests.
Description:
Previously array size for collective optimization tests
including
cchunk1,
cchunk2,
cchunk3,
cchunk4,
ccontw,
ccontr,
cschunkw,
cschunkr,
ccchunkw,
ccchunkr
are fixed,
They are only valid for some good number of processors(1,2,3,4,6,8,12,16,24,32,48 etc).
Recently there are more requests for parallel tests to be valid on some odd number of processes such as 5,7,11,13 etc.
Solution:
I change the array size to be dynamic rather than static. Now the fastest change array size is a function of mpi_size. dim2 = constant *mpi_size. After some tunings, theoretically the above tests should be valid for any number of processors. However, other parallel tests still need to be tuned.
To verify the correctness of these tests, using mpirun -np 5 ./testphdf5 -b cchunk1 at heping.
Platforms tested:
h5committest(shanti is refused to be connected)
at heping, 5 and 7 processes are used to verify the correctness.
Misc. update:
2006-03-23 10:50:09 +08:00
|
|
|
#define SPACE_DIM1 24
|
2006-03-29 22:35:26 +08:00
|
|
|
#define SPACE_DIM2 4
|
2004-07-21 05:41:44 +08:00
|
|
|
#define BYROW_CONT 1
|
|
|
|
#define BYROW_DISCONT 2
|
2006-02-17 01:12:08 +08:00
|
|
|
#define BYROW_SELECTNONE 3
|
2006-03-24 05:18:02 +08:00
|
|
|
#define BYROW_SELECTUNBALANCE 4
|
|
|
|
#define BYROW_SELECTINCHUNK 5
|
2006-03-29 22:35:26 +08:00
|
|
|
|
|
|
|
#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
|
|
|
|
#define LINK_TRUE_CHUNK_NAME "h5_link_chunk_true"
|
|
|
|
#define LINK_FALSE_CHUNK_NAME "h5_link_chunk_false"
|
|
|
|
#define LINK_HARD_CHUNK_NAME "h5_link_chunk_hard"
|
|
|
|
#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 */
|
|
|
|
|
2005-08-14 04:53:35 +08:00
|
|
|
#define MSPACE1_RANK 1 /* Rank of the first dataset in memory */
|
|
|
|
#define MSPACE1_DIM 27000 /* Dataset size in memory */
|
|
|
|
#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 */
|
|
|
|
#define FSPACE_DIM2 3600 /* We will read dataset back from the file to the dataset in memory with these dataspace parameters. */
|
|
|
|
#define MSPACE_RANK 2
|
|
|
|
#define MSPACE_DIM1 9
|
|
|
|
#define MSPACE_DIM2 3600
|
|
|
|
#define FHCOUNT0 1 /* Count of the first dimension of the first hyperslab selection*/
|
|
|
|
#define FHCOUNT1 768 /* Count of the second dimension of the first hyperslab selection*/
|
|
|
|
#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*/
|
|
|
|
#define SHBLOCK1 768 /* Block of the second dimension of the first hyperslab selection*/
|
|
|
|
#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*/
|
|
|
|
|
|
|
|
#define MHCOUNT0 6912 /* Count of the first dimension of the first hyperslab selection*/
|
|
|
|
#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*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define RFFHCOUNT0 3 /* Count of the first dimension of the first hyperslab selection*/
|
|
|
|
#define RFFHCOUNT1 768 /* Count of the second dimension of the first hyperslab selection*/
|
|
|
|
#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*/
|
|
|
|
#define RFSHCOUNT1 1536 /* Count of the second dimension of the first hyperslab selection*/
|
|
|
|
#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*/
|
|
|
|
#define RMFHCOUNT1 768 /* Count of the second dimension of the first hyperslab selection*/
|
|
|
|
#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*/
|
|
|
|
#define RMSHCOUNT1 1536 /* Count of the second dimension of the first hyperslab selection*/
|
|
|
|
#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*/
|
|
|
|
|
|
|
|
|
|
|
|
#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. */
|
|
|
|
#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
|
2012-10-31 00:28:17 +08:00
|
|
|
#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
|
|
|
|
#define TEST_SET_INDEPENDENT 0x002
|
|
|
|
#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
|
|
|
|
#define TEST_FILTERS 0x080
|
2012-09-05 01:00:38 +08:00
|
|
|
/* TEST_FILTERS will take place of this after supporting mpio + filter for
|
|
|
|
* H5Dcreate and H5Dwrite */
|
2014-03-22 07:02:24 +08:00
|
|
|
#define TEST_FILTERS_READ 0x100
|
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-11-12 05:05:03 +08:00
|
|
|
|
2004-04-02 07:00:13 +08:00
|
|
|
/* type definitions */
|
|
|
|
typedef struct H5Ptest_param_t /* holds extra test parameters */
|
|
|
|
{
|
|
|
|
char *name;
|
|
|
|
int count;
|
|
|
|
} 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 {
|
|
|
|
IND_CONTIG, /* Independent IO on contigous datasets */
|
|
|
|
COL_CONTIG, /* Collective IO on contigous datasets */
|
|
|
|
IND_CHUNKED, /* Independent IO on chunked datasets */
|
|
|
|
COL_CHUNKED /* Collective IO on chunked datasets */
|
|
|
|
} ShapeSameTestMethods;
|
|
|
|
|
2003-10-23 05:17:25 +08:00
|
|
|
/* Shared global variables */
|
2000-12-13 07:12:57 +08:00
|
|
|
extern int dim0, dim1; /*Dataset dimensions */
|
|
|
|
extern int chunkdim0, chunkdim1; /*Chunk dimensions */
|
|
|
|
extern int nerrors; /*errors count */
|
2007-08-22 05:47:41 +08:00
|
|
|
extern H5E_auto2_t old_func; /* previous error handler */
|
2000-12-13 07:12:57 +08:00
|
|
|
extern void *old_client_data; /*previous error handler arg.*/
|
2001-11-02 23:21:51 +08:00
|
|
|
extern int facc_type; /*Test file access type */
|
2006-08-09 11:16:07 +08:00
|
|
|
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);
|
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);
|
2004-04-02 07:00:13 +08:00
|
|
|
void multiple_dset_write(void);
|
|
|
|
void multiple_group_write(void);
|
|
|
|
void multiple_group_read(void);
|
|
|
|
void collective_group_write(void);
|
|
|
|
void independent_group_read(void);
|
2003-04-24 05:19:51 +08:00
|
|
|
void test_fapl_mpio_dup(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);
|
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);
|
2004-04-02 07:00:13 +08:00
|
|
|
|
|
|
|
/* commonly used prototypes */
|
2014-03-22 07:02:24 +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);
|
2004-12-29 22:26:20 +08:00
|
|
|
int dataset_vrfy(hsize_t start[], hsize_t count[], hsize_t stride[],
|
2003-10-23 05:17:25 +08:00
|
|
|
hsize_t block[], DATATYPE *dataset, DATATYPE *original);
|
2014-03-08 03:12:20 +08:00
|
|
|
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 */
|