This commit is contained in:
2013-06-27 16:24:02 +00:00
parent 6f84edd791
commit 311cdad1c8
2 changed files with 10 additions and 9 deletions
+8 -7
View File
@@ -103,13 +103,6 @@ test_read_data64(h5_file_t file, int nparticles, int step)
double *px,*py,*pz;
h5_int64_t *id;
x=(double*)malloc(nparticles*sizeof(double));
y=(double*)malloc(nparticles*sizeof(double));
z=(double*)malloc(nparticles*sizeof(double));
px=(double*)malloc(nparticles*sizeof(double));
py=(double*)malloc(nparticles*sizeof(double));
pz=(double*)malloc(nparticles*sizeof(double));
id=(h5_int64_t*)malloc(nparticles*sizeof(h5_int64_t));
TEST("Verifying dataset info");
@@ -121,6 +114,14 @@ test_read_data64(h5_file_t file, int nparticles, int step)
rank = 2;
#endif
x=(double*)malloc(nprocs*nparticles*sizeof(double));
y=(double*)malloc(nprocs*nparticles*sizeof(double));
z=(double*)malloc(nprocs*nparticles*sizeof(double));
px=(double*)malloc(nprocs*nparticles*sizeof(double));
py=(double*)malloc(nprocs*nparticles*sizeof(double));
pz=(double*)malloc(nprocs*nparticles*sizeof(double));
id=(h5_int64_t*)malloc(nprocs*nparticles*sizeof(h5_int64_t));
val = H5PartGetNumParticles(file);
IVALUE(val, nprocs*nparticles, "particle count");
+2 -2
View File
@@ -49,8 +49,8 @@ int main(int argc, char **argv)
/* Parse command line arguments */
TestParseCmdLine(argc, argv);
//H5SetVerbosityLevel(GetTestVerbosity());
H5SetVerbosityLevel(1);
H5SetVerbosityLevel(GetTestVerbosity());
//H5SetVerbosityLevel(-1);
/* Perform requested testing */
PerformTests();