Skip to content

Commit 0efcaa9

Browse files
committed
use-mpi-f08: fix a typo in [P]MPI_Dist_graph_create_adjacent bindings
Signed-off-by: Gilles Gouaillardet <[email protected]> (cherry picked from commit d239325)
1 parent fef63a6 commit 0efcaa9

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

ompi/mpi/fortran/use-mpi-f08/dist_graph_create_adjacent_f08.F90

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
! Copyright (c) 2010-2013 Cisco Systems, Inc. All rights reserved.
44
! Copyright (c) 2009-2012 Los Alamos National Security, LLC.
55
! All rights reserved.
6+
! Copyright (c) 2018 Research Organization for Information Science
7+
! and Technology (RIST). All rights reserved.
68
! $COPYRIGHT$
79

810
subroutine MPI_Dist_graph_create_adjacent_f08(comm_old,indegree,sources,sourceweights,&
@@ -25,6 +27,6 @@ subroutine MPI_Dist_graph_create_adjacent_f08(comm_old,indegree,sources,sourcewe
2527
call PMPI_Dist_graph_create_adjacent(comm_old%MPI_VAL,indegree,sources,&
2628
sourceweights,outdegree,destinations,&
2729
destweights,info%MPI_VAL,&
28-
reorder,comm_dist_graph%MPI_VAL,ierror)
30+
reorder,comm_dist_graph%MPI_VAL,c_ierror)
2931
if (present(ierror)) ierror = c_ierror
3032
end subroutine MPI_Dist_graph_create_adjacent_f08

ompi/mpi/fortran/use-mpi-f08/profile/pdist_graph_create_adjacent_f08.F90

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
! Copyright (c) 2010-2013 Cisco Systems, Inc. All rights reserved.
44
! Copyright (c) 2009-2012 Los Alamos National Security, LLC.
55
! All rights reserved.
6+
! Copyright (c) 2018 Research Organization for Information Science
7+
! and Technology (RIST). All rights reserved.
68
! $COPYRIGHT$
79

810
subroutine PMPI_Dist_graph_create_adjacent_f08(comm_old,indegree,sources,sourceweights,&
@@ -25,6 +27,6 @@ subroutine PMPI_Dist_graph_create_adjacent_f08(comm_old,indegree,sources,sourcew
2527
call PMPI_Dist_graph_create_adjacent(comm_old%MPI_VAL,indegree,sources,&
2628
sourceweights,outdegree,destinations,&
2729
destweights,info%MPI_VAL,&
28-
reorder,comm_dist_graph%MPI_VAL,ierror)
30+
reorder,comm_dist_graph%MPI_VAL,c_ierror)
2931
if (present(ierror)) ierror = c_ierror
3032
end subroutine PMPI_Dist_graph_create_adjacent_f08

0 commit comments

Comments
 (0)