File: comm_ack_failed_f08.F90

package info (click to toggle)
openmpi 5.0.7-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 202,312 kB
  • sloc: ansic: 612,441; makefile: 42,495; sh: 11,230; javascript: 9,244; f90: 7,052; java: 6,404; perl: 5,154; python: 1,856; lex: 740; fortran: 61; cpp: 20; tcl: 12
file content (33 lines) | stat: -rw-r--r-- 1,046 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
! -*- f90 -*-
!
! Copyright (c) 2022      The University of Tennessee and the University
!                         of Tennessee Research Foundation.  All rights
!                         reserved.
! $COPYRIGHT$
!
! Additional copyrights may follow
!
! $HEADER$
!

subroutine MPIX_Comm_ack_failed_f08(comm, num_to_ack, num_acked, ierror)
  use :: mpi_f08_types, only : MPI_Comm
  implicit none
  interface
     subroutine ompix_comm_ack_failed_f(comm, num_to_ack, num_acked, ierror) &
          BIND(C, name="ompix_comm_ack_failed_f")
       implicit none
       INTEGER, INTENT(IN) :: comm, num_to_ack
       INTEGER, INTENT(OUT) :: num_acked, ierror
     end subroutine ompix_comm_ack_failed_f
  end interface
  TYPE(MPI_Comm), INTENT(IN) :: comm
  INTEGER, INTENT(IN) :: num_to_ack
  INTEGER, INTENT(OUT) :: num_acked
  INTEGER, OPTIONAL, INTENT(OUT) :: ierror
  integer :: c_ierror

  call ompix_comm_ack_failed_f(comm%MPI_VAL, num_to_ack, num_acked, c_ierror)
  if (present(ierror)) ierror = c_ierror

end subroutine MPIX_Comm_ack_failed_f08