Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
8c405b76
Commit
8c405b76
authored
Apr 02, 2013
by
Thomas Jahns
🤸
Browse files
Replace trivial xt_redist_s_exchange function call with xt_redist_s_exchange1.
parent
7183a20f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/pio_server.c
View file @
8c405b76
...
...
@@ -326,8 +326,7 @@ gatherArray(int root, int nProcsModel, int headerIdx,
Xt_redist
gatherRedist
=
xt_redist_p2p_off_new
(
gatherXmap
,
partOfs
,
gatherOfs
,
MPI_DOUBLE
);
xt_xmap_delete
(
gatherXmap
);
xt_redist_s_exchange
(
gatherRedist
,
(
void
**
)
&
rxWin
[
0
].
buffer
,
1
,
(
void
**
)
&
gatherBuf
,
1
);
xt_redist_s_exchange1
(
gatherRedist
,
rxWin
[
0
].
buffer
,
gatherBuf
);
free
(
partOfs
);
xt_redist_delete
(
gatherRedist
);
}
...
...
@@ -669,8 +668,7 @@ void readGetBuffers ( int tsID, int vdate, int vtime )
writeBuf
=
xrealloc
(
writeBuf
,
sizeof
(
double
)
*
PPM_extents_size
(
3
,
varChunk
));
xt_redist_s_exchange
(
redist
,
(
void
**
)
&
data
,
1
,
(
void
**
)
&
writeBuf
,
1
);
xt_redist_s_exchange1
(
redist
,
data
,
writeBuf
);
xt_redist_delete
(
redist
);
}
/* write chunk */
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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