Skip to content

Commit 4ab1ee3

Browse files
committed
add missing use-mpi-f08 files
Signed-off-by: Thomas Naughton <[email protected]>
1 parent efdb539 commit 4ab1ee3

File tree

3 files changed

+71
-0
lines changed

3 files changed

+71
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
! -*- f90 -*-
2+
!
3+
! Copyright (c) 2010-2012 Cisco Systems, Inc. All rights reserved.
4+
! Copyright (c) 2009-2012 Los Alamos National Security, LLC.
5+
! All rights reserved.
6+
! Copyright (c) 2018-2020 Research Organization for Information Science
7+
! and Technology (RIST). All rights reserved.
8+
! Copyright (c) 2025 UT-Battelle, LLC. All rights reserved.
9+
! $COPYRIGHT$
10+
11+
#include "mpi-f08-rename.h"
12+
13+
subroutine MPI_Remove_error_class_f08(errorclass,ierror)
14+
use :: ompi_mpifh_bindings, only : ompi_remove_error_class_f
15+
implicit none
16+
INTEGER, INTENT(IN) :: errorclass
17+
INTEGER, OPTIONAL, INTENT(OUT) :: ierror
18+
integer :: c_ierror
19+
20+
call ompi_remove_error_class_f(errorclass,c_ierror)
21+
if (present(ierror)) ierror = c_ierror
22+
23+
end subroutine MPI_Remove_error_class_f08
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
! -*- f90 -*-
2+
!
3+
! Copyright (c) 2010-2012 Cisco Systems, Inc. All rights reserved.
4+
! Copyright (c) 2009-2012 Los Alamos National Security, LLC.
5+
! All rights reserved.
6+
! Copyright (c) 2018-2020 Research Organization for Information Science
7+
! and Technology (RIST). All rights reserved.
8+
! Copyright (c) 2025 UT-Battelle, LLC. All rights reserved.
9+
! $COPYRIGHT$
10+
11+
#include "mpi-f08-rename.h"
12+
13+
subroutine MPI_Remove_error_code_f08(errorcode,ierror)
14+
use :: ompi_mpifh_bindings, only : ompi_remove_error_code_f
15+
implicit none
16+
INTEGER, INTENT(IN) :: errorcode
17+
INTEGER, OPTIONAL, INTENT(OUT) :: ierror
18+
integer :: c_ierror
19+
20+
call ompi_remove_error_code_f(errorcode,c_ierror)
21+
if (present(ierror)) ierror = c_ierror
22+
23+
end subroutine MPI_Remove_error_code_f08
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
! -*- f90 -*-
2+
!
3+
! Copyright (c) 2010-2011 Cisco Systems, Inc. All rights reserved.
4+
! Copyright (c) 2009-2012 Los Alamos National Security, LLC.
5+
! All rights reserved.
6+
! Copyright (c) 2018-2020 Research Organization for Information Science
7+
! and Technology (RIST). All rights reserved.
8+
! Copyright (c) 2025 UT-Battelle, LLC. All rights reserved.
9+
! $COPYRIGHT$
10+
11+
#include "mpi-f08-rename.h"
12+
13+
subroutine MPI_Error_error_string_f08(errorcode,ierror)
14+
use :: ompi_mpifh_bindings, only : ompi_remove_error_string_f
15+
use, intrinsic :: ISO_C_BINDING, only : C_INT
16+
implicit none
17+
integer, intent(in) :: errorcode
18+
character(len=*), intent(in) :: string
19+
integer, optional, intent(out) :: ierror
20+
integer :: c_ierror
21+
22+
call ompi_remove_error_string_f(errorcode, c_ierror)
23+
if (present(ierror)) ierror = c_ierror
24+
25+
end subroutine MPI_Remove_error_string_f08

0 commit comments

Comments
 (0)