This repository has been archived by the owner on Sep 30, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mpi-f08: corrections to new MPI_Aint_* subroutines
(cherry picked from commit 8f252e65b02bfe20cacee0ece8c835246eea3bd9) (cherry picked from open-mpi/ompi@258d1aa) Signed-off-by: Nathan Hjelm <[email protected]>
- Loading branch information
Showing
8 changed files
with
43 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,18 @@ | ||
! -*- f90 -*- | ||
! | ||
! Copyright (c) 2010-2014 Cisco Systems, Inc. All rights reserved. | ||
! Copyright (c) 2010-2015 Cisco Systems, Inc. All rights reserved. | ||
! Copyright (c) 2009-2015 Los Alamos National Security, LLC. | ||
! All Rights reserved. | ||
! $COPYRIGHT$ | ||
|
||
#include "ompi/mpi/fortran/configure-fortran-output.h" | ||
|
||
function MPI_Aint_add_f08(base,diff) | ||
function MPI_Aint_add_f08(addr1, addr2) | ||
use :: mpi_f08_types, only : MPI_ADDRESS_KIND | ||
use :: mpi_f08, only : ompi_aint_add_f | ||
implicit none | ||
INTEGER(MPI_ADDRESS_KIND), INTENT(IN) :: base | ||
INTEGER(MPI_ADDRESS_KIND), INTENT(IN) :: diff | ||
call ompi_aint_add_f (base, diff) | ||
INTEGER(MPI_ADDRESS_KIND) :: MPI_Aint_add_f08 | ||
INTEGER(MPI_ADDRESS_KIND), INTENT(IN) :: addr1 | ||
INTEGER(MPI_ADDRESS_KIND), INTENT(IN) :: addr2 | ||
MPI_Aint_add_f08 = ompi_aint_add_f(addr1, addr2) | ||
end function MPI_Aint_add_f08 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,18 @@ | ||
! -*- f90 -*- | ||
! | ||
! Copyright (c) 2010-2014 Cisco Systems, Inc. All rights reserved. | ||
! Copyright (c) 2010-2015 Cisco Systems, Inc. All rights reserved. | ||
! Copyright (c) 2009-2015 Los Alamos National Security, LLC. | ||
! All Rights reserved. | ||
! $COPYRIGHT$ | ||
|
||
#include "ompi/mpi/fortran/configure-fortran-output.h" | ||
|
||
function MPI_Aint_diff_f08(addr1,addr2) | ||
function MPI_Aint_diff_f08(addr1, addr2) | ||
use :: mpi_f08_types, only : MPI_ADDRESS_KIND | ||
use :: mpi_f08, only ompi_aint_diff_f | ||
use :: mpi_f08, only : ompi_aint_diff_f | ||
implicit none | ||
INTEGER(MPI_ADDRESS_KIND) :: MPI_Aint_diff_f08 | ||
INTEGER(MPI_ADDRESS_KIND), INTENT(IN) :: addr1 | ||
INTEGER(MPI_ADDRESS_KIND), INTENT(IN) :: addr2 | ||
call ompi_aint_diff_f (base, diff) | ||
MPI_Aint_diff_f08 = ompi_aint_diff_f(addr1, addr2) | ||
end function MPI_Aint_diff_f08 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,18 @@ | ||
! -*- f90 -*- | ||
! | ||
! Copyright (c) 2010-2014 Cisco Systems, Inc. All rights reserved. | ||
! Copyright (c) 2010-2015 Cisco Systems, Inc. All rights reserved. | ||
! Copyright (c) 2009-2015 Los Alamos National Security, LLC. | ||
! All Rights reserved. | ||
! $COPYRIGHT$ | ||
|
||
#include "ompi/mpi/fortran/configure-fortran-output.h" | ||
|
||
function PMPI_Aint_add_f08(base,diff) | ||
function PMPI_Aint_add_f08(base, diff) | ||
use :: mpi_f08_types, only : MPI_ADDRESS_KIND | ||
use :: mpi_f08, only ompi_aint_add_f | ||
use :: mpi_f08, only : ompi_aint_add_f | ||
implicit none | ||
INTEGER(MPI_ADDRESS_KIND) :: PMPI_Aint_add_f08 | ||
INTEGER(MPI_ADDRESS_KIND), INTENT(IN) :: base | ||
INTEGER(MPI_ADDRESS_KIND), INTENT(IN) :: diff | ||
call ompi_aint_add_f (base, diff) | ||
PMPI_Aint_add_f08 = ompi_aint_add_f(base, diff) | ||
end function PMPI_Aint_add_f08 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,18 @@ | ||
! -*- f90 -*- | ||
! | ||
! Copyright (c) 2010-2014 Cisco Systems, Inc. All rights reserved. | ||
! Copyright (c) 2010-2015 Cisco Systems, Inc. All rights reserved. | ||
! Copyright (c) 2009-2015 Los Alamos National Security, LLC. | ||
! All Rights reserved. | ||
! $COPYRIGHT$ | ||
|
||
#include "ompi/mpi/fortran/configure-fortran-output.h" | ||
|
||
function PMPI_Aint_add_f08(base,diff) | ||
function PMPI_Aint_diff_f08(addr1, addr2) | ||
use :: mpi_f08_types, only : MPI_ADDRESS_KIND | ||
use :: mpi_f08, only ompi_aint_add_f | ||
use :: mpi_f08, only : ompi_aint_diff_f | ||
implicit none | ||
INTEGER(MPI_ADDRESS_KIND), INTENT(IN) :: base | ||
INTEGER(MPI_ADDRESS_KIND), INTENT(IN) :: diff | ||
call ompi_aint_add_f (base, diff) | ||
end function PMPI_Aint_add_f08 | ||
INTEGER(MPI_ADDRESS_KIND) :: PMPI_Aint_diff_f08 | ||
INTEGER(MPI_ADDRESS_KIND), INTENT(IN) :: addr1 | ||
INTEGER(MPI_ADDRESS_KIND), INTENT(IN) :: addr2 | ||
PMPI_Aint_diff_f08 = ompi_aint_diff_f(addr1, addr2) | ||
end function PMPI_Aint_diff_f08 |