Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
789154c0
Commit
789154c0
authored
Nov 19, 2013
by
Thomas Jahns
🤸
Browse files
Fix type used for local partition size.
parent
59663538
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/pio_client.c
View file @
789154c0
...
@@ -110,7 +110,8 @@ cdiPioClientStreamWriteVarChunk_(int streamID, int varID, int memtype,
...
@@ -110,7 +110,8 @@ cdiPioClientStreamWriteVarChunk_(int streamID, int varID, int memtype,
int
size
=
vlistInqVarSize
(
vlistID
,
varID
),
int
size
=
vlistInqVarSize
(
vlistID
,
varID
),
varShape
[
3
];
varShape
[
3
];
unsigned
ndims
=
(
unsigned
)
cdiPioQueryVarDims
(
varShape
,
vlistID
,
varID
);
unsigned
ndims
=
(
unsigned
)
cdiPioQueryVarDims
(
varShape
,
vlistID
,
varID
);
Xt_int
varShapeXt
[
3
],
chunkShape
[
3
]
=
{
1
,
1
,
1
},
origin
[
3
]
=
{
0
,
0
,
0
};
Xt_int
varShapeXt
[
3
],
origin
[
3
]
=
{
0
,
0
,
0
};
int
chunkShape
[
3
]
=
{
1
,
1
,
1
};
/* FIXME: verify xt_int ranges are good enough */
/* FIXME: verify xt_int ranges are good enough */
for
(
unsigned
i
=
0
;
i
<
3
;
++
i
)
for
(
unsigned
i
=
0
;
i
<
3
;
++
i
)
varShapeXt
[
i
]
=
varShape
[
i
];
varShapeXt
[
i
]
=
varShape
[
i
];
...
...
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