mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-07 16:37:56 +08:00
[svn-r7575] Purpose:
Feature, sort of. Description: Reactivated the big dataset test. Changed it to default off, can be turned on via -b. Platforms tested: Only in Copper which is the only local machine safe to run mulitple GB size files. Misc. update:
This commit is contained in:
parent
25fe6cbafa
commit
c84d9f5eab
@ -44,7 +44,7 @@ int doread=1; /* read test */
|
||||
int dowrite=1; /* write test */
|
||||
int docompact=1; /* compact dataset test */
|
||||
int doindependent=1; /* independent test */
|
||||
unsigned dobig=1; /* "big" dataset tests */
|
||||
unsigned dobig=0; /* "big" dataset tests */
|
||||
|
||||
/* FILENAME and filenames must have the same number of names */
|
||||
const char *FILENAME[9]={
|
||||
@ -127,6 +127,7 @@ usage(void)
|
||||
"\tset number of groups for the multiple group test\n");
|
||||
printf("\t-o\t\tno compact dataset test\n");
|
||||
printf("\t-i\t\tno independent read test\n");
|
||||
printf("\t-b\t\trun big dataset test\n");
|
||||
printf("\t-v\t\tverbose on\n");
|
||||
printf("\t-f <prefix>\tfilename prefix\n");
|
||||
printf("\t-s\t\tuse Split-file together with MPIO\n");
|
||||
@ -179,7 +180,7 @@ parse_options(int argc, char **argv)
|
||||
break;
|
||||
case 'i': doindependent = 0;
|
||||
break;
|
||||
case 'b': dobig = 0;
|
||||
case 'b': dobig = 1;
|
||||
break;
|
||||
case 'v': verbose = 1;
|
||||
break;
|
||||
@ -470,17 +471,13 @@ int main(int argc, char **argv)
|
||||
MPI_BANNER("Independent test skipped");
|
||||
}
|
||||
|
||||
#ifdef LATER
|
||||
if (dobig && sizeof(MPI_Offset)>4){
|
||||
MPI_BANNER("big dataset test...");
|
||||
big_dataset(filenames[7]);
|
||||
}
|
||||
else {
|
||||
#endif /* LATER */
|
||||
MPI_BANNER("big dataset test skipped");
|
||||
#ifdef LATER
|
||||
}
|
||||
#endif /* LATER */
|
||||
|
||||
if (!(dowrite || doread || ndatasets || ngroups || docompact || doindependent || dobig)){
|
||||
usage();
|
||||
|
Loading…
Reference in New Issue
Block a user