Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
S
src
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
6
Issues
6
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Code Review
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
H5hut
src
Commits
df0750df
Commit
df0750df
authored
Apr 07, 2016
by
gsell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
examples/H5Block/read_write_scalar_field.c:
- cleanup
parent
b69aa9b9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
18 deletions
+4
-18
examples/H5Block/read_write_scalar_field.c
examples/H5Block/read_write_scalar_field.c
+4
-18
No files found.
examples/H5Block/read_write_scalar_field.c
View file @
df0750df
...
...
@@ -156,22 +156,6 @@ struct H5BlockPartition Layout32G[32] = {
{
31
,
63
,
31
,
63
,
447
,
511
}
};
#if 0
static h5_int64_t
_calc_index_KJI (
int myproc,
h5_int64_t i,
h5_int64_t i_dims,
h5_int64_t j,
h5_int64_t j_dims,
h5_int64_t k,
h5_int64_t k_dims
) {
return i + j*i_dims + k*i_dims*j_dims;
}
#endif
#define _calc_index( i, i_dims, j, j_dims, k, k_dims ) \
(i + j*i_dims + k*i_dims*j_dims)
...
...
@@ -227,7 +211,8 @@ _write_attributes (
h5_file_t
f
,
const
int
myproc
)
{
printf
(
"Writing attributes to field '%s' in step #%lld
\n
"
,
"TestField"
,
(
long
long
)
H5GetStep
(
f
));
printf
(
"Writing attributes to field '%s' in step #%lld
\n
"
,
"TestField"
,
(
long
long
)
H5GetStep
(
f
));
h5_int64_t
herr
=
H5BlockWriteFieldAttribString
(
f
,
"TestField"
,
...
...
@@ -551,7 +536,8 @@ main (
}
break
;
default:
printf
(
"Run this test on %d, %d, %d or %d processor(s)!
\n
"
,
1
,
8
,
16
,
32
);
printf
(
"Run this test on %d, %d, %d or %d processor(s)!
\n
"
,
1
,
8
,
16
,
32
);
return
1
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment