Commit f698ae76 authored by gsell's avatar gsell

src/H5Part.c

	- H5PartOpenFileParallel()
		* debug-print info about file also in non-parallel case
		* print value of "f" not "f->file" 
	- H5PartOpenFile()
		* print value of "f" not "f->file" 
parent 782d67c1
......@@ -179,13 +179,6 @@ H5PartOpenFileParallel (
HANDLE_H5F_OPEN_ERR ( filename, flags );
goto error_cleanup;
}
#ifdef PARALLEL_IO
_H5Part_print_info (
"Proc[%d]: Opened file \"%s\" val=%d",
f->myproc,
filename,
f->file );
#endif
f->mode = flags;
f->timegroup = 0;
f->shape = 0;
......@@ -194,6 +187,12 @@ H5PartOpenFileParallel (
f->viewstart = -1;
f->viewend = -1;
_H5Part_print_debug (
"Proc[%d]: Opened file \"%s\" val=%lld",
f->myproc,
filename,
(long long)(size_t)f );
return f;
error_cleanup:
......@@ -298,6 +297,11 @@ H5PartOpenFile (
f->viewstart = -1;
f->viewend = -1;
_H5Part_print_debug (
"Opened file \"%s\" val=%lld",
filename,
(long long)(size_t)f );
return f;
error_cleanup:
......@@ -1243,7 +1247,7 @@ H5PartSetStep (
CHECK_FILEHANDLE ( f );
_H5Part_print_info ( "Proc[%d]: Set step to #%lld for file %d",
f->myproc, (long long)step, (int) f->file );
f->myproc, (long long)step, (int) f );
sprintf ( name, "%s#%lld", H5PART_PARTICLES_GROUP, (long long) step );
r = H5Gget_objinfo( f->file, name, 1, NULL );
if ( ( (f->mode == H5PART_APPEND) || (f->mode == H5PART_WRITE) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment