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
7e1944c8
Commit
7e1944c8
authored
Apr 07, 2016
by
Thomas Jahns
🤸
Browse files
Fix implicit type conversion.
parent
77f5471d
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/simple_model.c
View file @
7e1944c8
...
...
@@ -281,7 +281,7 @@ modelRun(struct model_config setup, MPI_Comm comm)
for
(
size_t
i
=
1
;
i
<
(
size_t
)
comm_size
;
++
i
)
displs
[
i
]
=
displs
[
i
-
1
]
+
chunks
[
i
-
1
];
}
xmpi
(
MPI_Gatherv
(
varslice
,
(
size_t
)
chunk
Size
,
MPI_DOUBLE
,
xmpi
(
MPI_Gatherv
(
varslice
,
chunk
,
MPI_DOUBLE
,
var
,
chunks
,
displs
,
MPI_DOUBLE
,
0
,
comm
));
#else
var
=
varslice
;
...
...
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