Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
O
openfpm_vcluster
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
openfpm
openfpm_vcluster
Commits
ea6bd35b
Commit
ea6bd35b
authored
Jun 19, 2015
by
incardon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing zero sized send
parent
61f3e801
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
src/VCluster.hpp
src/VCluster.hpp
+6
-3
No files found.
src/VCluster.hpp
View file @
ea6bd35b
...
@@ -283,7 +283,7 @@ public:
...
@@ -283,7 +283,7 @@ public:
*
*
* \param prc list of processors with which it should communicate
* \param prc list of processors with which it should communicate
*
*
* \param v vector containing the data to send
* \param v vector containing the data to send
(it is allowed to have 0 size vector)
*
*
* \param msg_alloc This is a call-back with the purpose of allocate space
* \param msg_alloc This is a call-back with the purpose of allocate space
* for the incoming message and give back a valid pointer, the 6 parameters
* for the incoming message and give back a valid pointer, the 6 parameters
...
@@ -417,8 +417,11 @@ public:
...
@@ -417,8 +417,11 @@ public:
for
(
size_t
i
=
0
;
i
<
n_send
;
i
++
)
for
(
size_t
i
=
0
;
i
<
n_send
;
i
++
)
{
{
req
.
add
();
if
(
sz
[
i
]
!=
0
)
MPI_SAFE_CALL
(
MPI_Issend
(
ptr
[
i
],
sz
[
i
],
MPI_BYTE
,
prc
[
i
],
SEND_SPARSE
,
MPI_COMM_WORLD
,
&
req
.
last
()));
{
req
.
add
();
MPI_SAFE_CALL
(
MPI_Issend
(
ptr
[
i
],
sz
[
i
],
MPI_BYTE
,
prc
[
i
],
SEND_SPARSE
,
MPI_COMM_WORLD
,
&
req
.
last
()));
}
}
}
size_t
rid
=
0
;
size_t
rid
=
0
;
...
...
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