Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SWP-CM22-Planbased OMPI
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
felixkhals
SWP-CM22-Planbased OMPI
Commits
060f129a
Unverified
Commit
060f129a
authored
4 years ago
by
Gilles Gouaillardet
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #8895 from ggouaillardet/topic/sendrecv_replace_fix
MPI_Sendrecv_replace: add missing error handling
parents
6510f645
0b381902
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ompi/mpi/c/sendrecv_replace.c
+4
-1
4 additions, 1 deletion
ompi/mpi/c/sendrecv_replace.c
with
4 additions
and
1 deletion
ompi/mpi/c/sendrecv_replace.c
+
4
−
1
View file @
060f129a
...
...
@@ -114,7 +114,7 @@ int MPI_Sendrecv_replace(void * buf, int count, MPI_Datatype datatype,
OMPI_ERRHANDLER_RETURN
(
rc
,
comm
,
rc
,
FUNC_NAME
);
}
/* initialize convertor to
un
pack
recv
buffer */
/* initialize convertor to pack
send
buffer */
OBJ_CONSTRUCT
(
&
convertor
,
opal_convertor_t
);
opal_convertor_copy_and_prepare_for_send
(
proc
->
super
.
proc_convertor
,
&
(
datatype
->
super
),
count
,
buf
,
0
,
&
convertor
);
...
...
@@ -132,6 +132,9 @@ int MPI_Sendrecv_replace(void * buf, int count, MPI_Datatype datatype,
max_data
=
packed_size
;
iov_count
=
1
;
rc
=
opal_convertor_pack
(
&
convertor
,
&
iov
,
&
iov_count
,
&
max_data
);
if
(
OMPI_SUCCESS
!=
rc
)
{
goto
cleanup_and_return
;
}
/* receive into the buffer */
rc
=
MCA_PML_CALL
(
irecv
(
buf
,
count
,
datatype
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment