MpiFx 1.4.0
Public Member Functions | List of all members
mpifx_reduce_module::mpifx_reduce Interface Reference

Reduces a scalar/array on a given node. More...

Public Member Functions

subroutine mpifx_reduce_i0 (mycomm, orig, reduced, reduceop, root, error)
 Reduces on one process (type i0).
 
subroutine mpifx_reduce_i1 (mycomm, orig, reduced, reduceop, root, error)
 Reduces on one process (type i1).
 
subroutine mpifx_reduce_i2 (mycomm, orig, reduced, reduceop, root, error)
 Reduces on one process (type i2).
 
subroutine mpifx_reduce_i3 (mycomm, orig, reduced, reduceop, root, error)
 Reduces on one process (type i3).
 
subroutine mpifx_reduce_i4 (mycomm, orig, reduced, reduceop, root, error)
 Reduces on one process (type i4).
 
subroutine mpifx_reduce_i5 (mycomm, orig, reduced, reduceop, root, error)
 Reduces on one process (type i5).
 
subroutine mpifx_reduce_i6 (mycomm, orig, reduced, reduceop, root, error)
 Reduces on one process (type i6).
 
subroutine mpifx_reduce_s0 (mycomm, orig, reduced, reduceop, root, error)
 Reduces on one process (type s0).
 
subroutine mpifx_reduce_s1 (mycomm, orig, reduced, reduceop, root, error)
 Reduces on one process (type s1).
 
subroutine mpifx_reduce_s2 (mycomm, orig, reduced, reduceop, root, error)
 Reduces on one process (type s2).
 
subroutine mpifx_reduce_s3 (mycomm, orig, reduced, reduceop, root, error)
 Reduces on one process (type s3).
 
subroutine mpifx_reduce_s4 (mycomm, orig, reduced, reduceop, root, error)
 Reduces on one process (type s4).
 
subroutine mpifx_reduce_s5 (mycomm, orig, reduced, reduceop, root, error)
 Reduces on one process (type s5).
 
subroutine mpifx_reduce_s6 (mycomm, orig, reduced, reduceop, root, error)
 Reduces on one process (type s6).
 
subroutine mpifx_reduce_d0 (mycomm, orig, reduced, reduceop, root, error)
 Reduces on one process (type d0).
 
subroutine mpifx_reduce_d1 (mycomm, orig, reduced, reduceop, root, error)
 Reduces on one process (type d1).
 
subroutine mpifx_reduce_d2 (mycomm, orig, reduced, reduceop, root, error)
 Reduces on one process (type d2).
 
subroutine mpifx_reduce_d3 (mycomm, orig, reduced, reduceop, root, error)
 Reduces on one process (type d3).
 
subroutine mpifx_reduce_d4 (mycomm, orig, reduced, reduceop, root, error)
 Reduces on one process (type d4).
 
subroutine mpifx_reduce_d5 (mycomm, orig, reduced, reduceop, root, error)
 Reduces on one process (type d5).
 
subroutine mpifx_reduce_d6 (mycomm, orig, reduced, reduceop, root, error)
 Reduces on one process (type d6).
 
subroutine mpifx_reduce_c0 (mycomm, orig, reduced, reduceop, root, error)
 Reduces on one process (type c0).
 
subroutine mpifx_reduce_c1 (mycomm, orig, reduced, reduceop, root, error)
 Reduces on one process (type c1).
 
subroutine mpifx_reduce_c2 (mycomm, orig, reduced, reduceop, root, error)
 Reduces on one process (type c2).
 
subroutine mpifx_reduce_c3 (mycomm, orig, reduced, reduceop, root, error)
 Reduces on one process (type c3).
 
subroutine mpifx_reduce_c4 (mycomm, orig, reduced, reduceop, root, error)
 Reduces on one process (type c4).
 
subroutine mpifx_reduce_c5 (mycomm, orig, reduced, reduceop, root, error)
 Reduces on one process (type c5).
 
subroutine mpifx_reduce_c6 (mycomm, orig, reduced, reduceop, root, error)
 Reduces on one process (type c6).
 
subroutine mpifx_reduce_z0 (mycomm, orig, reduced, reduceop, root, error)
 Reduces on one process (type z0).
 
subroutine mpifx_reduce_z1 (mycomm, orig, reduced, reduceop, root, error)
 Reduces on one process (type z1).
 
subroutine mpifx_reduce_z2 (mycomm, orig, reduced, reduceop, root, error)
 Reduces on one process (type z2).
 
subroutine mpifx_reduce_z3 (mycomm, orig, reduced, reduceop, root, error)
 Reduces on one process (type z3).
 
subroutine mpifx_reduce_z4 (mycomm, orig, reduced, reduceop, root, error)
 Reduces on one process (type z4).
 
subroutine mpifx_reduce_z5 (mycomm, orig, reduced, reduceop, root, error)
 Reduces on one process (type z5).
 
subroutine mpifx_reduce_z6 (mycomm, orig, reduced, reduceop, root, error)
 Reduces on one process (type z6).
 
subroutine mpifx_reduce_l0 (mycomm, orig, reduced, reduceop, root, error)
 Reduces on one process (type l0).
 
subroutine mpifx_reduce_l1 (mycomm, orig, reduced, reduceop, root, error)
 Reduces on one process (type l1).
 
subroutine mpifx_reduce_l2 (mycomm, orig, reduced, reduceop, root, error)
 Reduces on one process (type l2).
 
subroutine mpifx_reduce_l3 (mycomm, orig, reduced, reduceop, root, error)
 Reduces on one process (type l3).
 
subroutine mpifx_reduce_l4 (mycomm, orig, reduced, reduceop, root, error)
 Reduces on one process (type l4).
 
subroutine mpifx_reduce_l5 (mycomm, orig, reduced, reduceop, root, error)
 Reduces on one process (type l5).
 
subroutine mpifx_reduce_l6 (mycomm, orig, reduced, reduceop, root, error)
 Reduces on one process (type l6).
 

Detailed Description

Reduces a scalar/array on a given node.

All functions have the same argument list only differing in the type and rank of the second and third arguments. The second and third arguments can be of type integer (i), real (s), double precision (d), complex (c), double complex (z) or logical (l). Their rank can vary from zero (scalars) up to the maximum rank. Both arguments must be of same type and rank.

See also
MPI documentation (MPI_REDUCE)

Example:

program test_reduce
  use libmpifx_module
  implicit none

  integer, parameter :: dp = kind(1.0d0)

  type(mpifx_comm) :: mycomm
  real(dp) :: valr(3), resvalr(3)

  call mpifx_init()
  call mycomm%init()
  valr(:) = [ (mycomm%rank + 1) * 1.2_dp, &
      & (mycomm%rank + 1) * 4.3_dp, (mycomm%rank + 1) * 3.8_dp ]
  write(*, "(I2.2,'-',I3.3,'|',1X,A,3F8.2)") 3, mycomm%rank, &
      & "Value to be operated on:", valr(:)
  call mpifx_reduce(mycomm, valr, resvalr, MPI_PROD)
  write(*, "(I2.2,'-',I3.3,'|',1X,A,3F8.2)") 4, mycomm%rank, &
      & "Obtained result (prod):", resvalr(:)
  call mpifx_finalize()

end program test_reduce

Member Function/Subroutine Documentation

◆ mpifx_reduce_c0()

subroutine mpifx_reduce_module::mpifx_reduce::mpifx_reduce_c0 ( type(mpifx_comm), intent(in) mycomm,
complex(sp), intent(in) orig,
complex(sp), intent(inout) reduced,
integer, intent(in) reduceop,
integer, intent(in), optional root,
integer, intent(out), optional error )

Reduces on one process (type c0).

Parameters
mycommMPI communicator.
origQuantity to be reduced.
reducedContains result on exit.
reduceopReduction operator.
rootRoot process for the reduced (default: mycommleadrank)
errorError code on exit.

◆ mpifx_reduce_c1()

subroutine mpifx_reduce_module::mpifx_reduce::mpifx_reduce_c1 ( type(mpifx_comm), intent(in) mycomm,
complex(sp), dimension(:), intent(in) orig,
complex(sp), dimension(:), intent(inout) reduced,
integer, intent(in) reduceop,
integer, intent(in), optional root,
integer, intent(out), optional error )

Reduces on one process (type c1).

Parameters
mycommMPI communicator.
origQuantity to be reduced.
reducedContains result on exit.
reduceopReduction operator.
rootRoot process for the reduced (default: mycommleadrank)
errorError code on exit.

◆ mpifx_reduce_c2()

subroutine mpifx_reduce_module::mpifx_reduce::mpifx_reduce_c2 ( type(mpifx_comm), intent(in) mycomm,
complex(sp), dimension(:,:), intent(in) orig,
complex(sp), dimension(:,:), intent(inout) reduced,
integer, intent(in) reduceop,
integer, intent(in), optional root,
integer, intent(out), optional error )

Reduces on one process (type c2).

Parameters
mycommMPI communicator.
origQuantity to be reduced.
reducedContains result on exit.
reduceopReduction operator.
rootRoot process for the reduced (default: mycommleadrank)
errorError code on exit.

◆ mpifx_reduce_c3()

subroutine mpifx_reduce_module::mpifx_reduce::mpifx_reduce_c3 ( type(mpifx_comm), intent(in) mycomm,
complex(sp), dimension(:,:,:), intent(in) orig,
complex(sp), dimension(:,:,:), intent(inout) reduced,
integer, intent(in) reduceop,
integer, intent(in), optional root,
integer, intent(out), optional error )

Reduces on one process (type c3).

Parameters
mycommMPI communicator.
origQuantity to be reduced.
reducedContains result on exit.
reduceopReduction operator.
rootRoot process for the reduced (default: mycommleadrank)
errorError code on exit.

◆ mpifx_reduce_c4()

subroutine mpifx_reduce_module::mpifx_reduce::mpifx_reduce_c4 ( type(mpifx_comm), intent(in) mycomm,
complex(sp), dimension(:,:,:,:), intent(in) orig,
complex(sp), dimension(:,:,:,:), intent(inout) reduced,
integer, intent(in) reduceop,
integer, intent(in), optional root,
integer, intent(out), optional error )

Reduces on one process (type c4).

Parameters
mycommMPI communicator.
origQuantity to be reduced.
reducedContains result on exit.
reduceopReduction operator.
rootRoot process for the reduced (default: mycommleadrank)
errorError code on exit.

◆ mpifx_reduce_c5()

subroutine mpifx_reduce_module::mpifx_reduce::mpifx_reduce_c5 ( type(mpifx_comm), intent(in) mycomm,
complex(sp), dimension(:,:,:,:,:), intent(in) orig,
complex(sp), dimension(:,:,:,:,:), intent(inout) reduced,
integer, intent(in) reduceop,
integer, intent(in), optional root,
integer, intent(out), optional error )

Reduces on one process (type c5).

Parameters
mycommMPI communicator.
origQuantity to be reduced.
reducedContains result on exit.
reduceopReduction operator.
rootRoot process for the reduced (default: mycommleadrank)
errorError code on exit.

◆ mpifx_reduce_c6()

subroutine mpifx_reduce_module::mpifx_reduce::mpifx_reduce_c6 ( type(mpifx_comm), intent(in) mycomm,
complex(sp), dimension(:,:,:,:,:,:), intent(in) orig,
complex(sp), dimension(:,:,:,:,:,:), intent(inout) reduced,
integer, intent(in) reduceop,
integer, intent(in), optional root,
integer, intent(out), optional error )

Reduces on one process (type c6).

Parameters
mycommMPI communicator.
origQuantity to be reduced.
reducedContains result on exit.
reduceopReduction operator.
rootRoot process for the reduced (default: mycommleadrank)
errorError code on exit.

◆ mpifx_reduce_d0()

subroutine mpifx_reduce_module::mpifx_reduce::mpifx_reduce_d0 ( type(mpifx_comm), intent(in) mycomm,
real(dp), intent(in) orig,
real(dp), intent(inout) reduced,
integer, intent(in) reduceop,
integer, intent(in), optional root,
integer, intent(out), optional error )

Reduces on one process (type d0).

Parameters
mycommMPI communicator.
origQuantity to be reduced.
reducedContains result on exit.
reduceopReduction operator.
rootRoot process for the reduced (default: mycommleadrank)
errorError code on exit.

◆ mpifx_reduce_d1()

subroutine mpifx_reduce_module::mpifx_reduce::mpifx_reduce_d1 ( type(mpifx_comm), intent(in) mycomm,
real(dp), dimension(:), intent(in) orig,
real(dp), dimension(:), intent(inout) reduced,
integer, intent(in) reduceop,
integer, intent(in), optional root,
integer, intent(out), optional error )

Reduces on one process (type d1).

Parameters
mycommMPI communicator.
origQuantity to be reduced.
reducedContains result on exit.
reduceopReduction operator.
rootRoot process for the reduced (default: mycommleadrank)
errorError code on exit.

◆ mpifx_reduce_d2()

subroutine mpifx_reduce_module::mpifx_reduce::mpifx_reduce_d2 ( type(mpifx_comm), intent(in) mycomm,
real(dp), dimension(:,:), intent(in) orig,
real(dp), dimension(:,:), intent(inout) reduced,
integer, intent(in) reduceop,
integer, intent(in), optional root,
integer, intent(out), optional error )

Reduces on one process (type d2).

Parameters
mycommMPI communicator.
origQuantity to be reduced.
reducedContains result on exit.
reduceopReduction operator.
rootRoot process for the reduced (default: mycommleadrank)
errorError code on exit.

◆ mpifx_reduce_d3()

subroutine mpifx_reduce_module::mpifx_reduce::mpifx_reduce_d3 ( type(mpifx_comm), intent(in) mycomm,
real(dp), dimension(:,:,:), intent(in) orig,
real(dp), dimension(:,:,:), intent(inout) reduced,
integer, intent(in) reduceop,
integer, intent(in), optional root,
integer, intent(out), optional error )

Reduces on one process (type d3).

Parameters
mycommMPI communicator.
origQuantity to be reduced.
reducedContains result on exit.
reduceopReduction operator.
rootRoot process for the reduced (default: mycommleadrank)
errorError code on exit.

◆ mpifx_reduce_d4()

subroutine mpifx_reduce_module::mpifx_reduce::mpifx_reduce_d4 ( type(mpifx_comm), intent(in) mycomm,
real(dp), dimension(:,:,:,:), intent(in) orig,
real(dp), dimension(:,:,:,:), intent(inout) reduced,
integer, intent(in) reduceop,
integer, intent(in), optional root,
integer, intent(out), optional error )

Reduces on one process (type d4).

Parameters
mycommMPI communicator.
origQuantity to be reduced.
reducedContains result on exit.
reduceopReduction operator.
rootRoot process for the reduced (default: mycommleadrank)
errorError code on exit.

◆ mpifx_reduce_d5()

subroutine mpifx_reduce_module::mpifx_reduce::mpifx_reduce_d5 ( type(mpifx_comm), intent(in) mycomm,
real(dp), dimension(:,:,:,:,:), intent(in) orig,
real(dp), dimension(:,:,:,:,:), intent(inout) reduced,
integer, intent(in) reduceop,
integer, intent(in), optional root,
integer, intent(out), optional error )

Reduces on one process (type d5).

Parameters
mycommMPI communicator.
origQuantity to be reduced.
reducedContains result on exit.
reduceopReduction operator.
rootRoot process for the reduced (default: mycommleadrank)
errorError code on exit.

◆ mpifx_reduce_d6()

subroutine mpifx_reduce_module::mpifx_reduce::mpifx_reduce_d6 ( type(mpifx_comm), intent(in) mycomm,
real(dp), dimension(:,:,:,:,:,:), intent(in) orig,
real(dp), dimension(:,:,:,:,:,:), intent(inout) reduced,
integer, intent(in) reduceop,
integer, intent(in), optional root,
integer, intent(out), optional error )

Reduces on one process (type d6).

Parameters
mycommMPI communicator.
origQuantity to be reduced.
reducedContains result on exit.
reduceopReduction operator.
rootRoot process for the reduced (default: mycommleadrank)
errorError code on exit.

◆ mpifx_reduce_i0()

subroutine mpifx_reduce_module::mpifx_reduce::mpifx_reduce_i0 ( type(mpifx_comm), intent(in) mycomm,
integer, intent(in) orig,
integer, intent(inout) reduced,
integer, intent(in) reduceop,
integer, intent(in), optional root,
integer, intent(out), optional error )

Reduces on one process (type i0).

Parameters
mycommMPI communicator.
origQuantity to be reduced.
reducedContains result on exit.
reduceopReduction operator.
rootRoot process for the reduced (default: mycommleadrank)
errorError code on exit.

◆ mpifx_reduce_i1()

subroutine mpifx_reduce_module::mpifx_reduce::mpifx_reduce_i1 ( type(mpifx_comm), intent(in) mycomm,
integer, dimension(:), intent(in) orig,
integer, dimension(:), intent(inout) reduced,
integer, intent(in) reduceop,
integer, intent(in), optional root,
integer, intent(out), optional error )

Reduces on one process (type i1).

Parameters
mycommMPI communicator.
origQuantity to be reduced.
reducedContains result on exit.
reduceopReduction operator.
rootRoot process for the reduced (default: mycommleadrank)
errorError code on exit.

◆ mpifx_reduce_i2()

subroutine mpifx_reduce_module::mpifx_reduce::mpifx_reduce_i2 ( type(mpifx_comm), intent(in) mycomm,
integer, dimension(:,:), intent(in) orig,
integer, dimension(:,:), intent(inout) reduced,
integer, intent(in) reduceop,
integer, intent(in), optional root,
integer, intent(out), optional error )

Reduces on one process (type i2).

Parameters
mycommMPI communicator.
origQuantity to be reduced.
reducedContains result on exit.
reduceopReduction operator.
rootRoot process for the reduced (default: mycommleadrank)
errorError code on exit.

◆ mpifx_reduce_i3()

subroutine mpifx_reduce_module::mpifx_reduce::mpifx_reduce_i3 ( type(mpifx_comm), intent(in) mycomm,
integer, dimension(:,:,:), intent(in) orig,
integer, dimension(:,:,:), intent(inout) reduced,
integer, intent(in) reduceop,
integer, intent(in), optional root,
integer, intent(out), optional error )

Reduces on one process (type i3).

Parameters
mycommMPI communicator.
origQuantity to be reduced.
reducedContains result on exit.
reduceopReduction operator.
rootRoot process for the reduced (default: mycommleadrank)
errorError code on exit.

◆ mpifx_reduce_i4()

subroutine mpifx_reduce_module::mpifx_reduce::mpifx_reduce_i4 ( type(mpifx_comm), intent(in) mycomm,
integer, dimension(:,:,:,:), intent(in) orig,
integer, dimension(:,:,:,:), intent(inout) reduced,
integer, intent(in) reduceop,
integer, intent(in), optional root,
integer, intent(out), optional error )

Reduces on one process (type i4).

Parameters
mycommMPI communicator.
origQuantity to be reduced.
reducedContains result on exit.
reduceopReduction operator.
rootRoot process for the reduced (default: mycommleadrank)
errorError code on exit.

◆ mpifx_reduce_i5()

subroutine mpifx_reduce_module::mpifx_reduce::mpifx_reduce_i5 ( type(mpifx_comm), intent(in) mycomm,
integer, dimension(:,:,:,:,:), intent(in) orig,
integer, dimension(:,:,:,:,:), intent(inout) reduced,
integer, intent(in) reduceop,
integer, intent(in), optional root,
integer, intent(out), optional error )

Reduces on one process (type i5).

Parameters
mycommMPI communicator.
origQuantity to be reduced.
reducedContains result on exit.
reduceopReduction operator.
rootRoot process for the reduced (default: mycommleadrank)
errorError code on exit.

◆ mpifx_reduce_i6()

subroutine mpifx_reduce_module::mpifx_reduce::mpifx_reduce_i6 ( type(mpifx_comm), intent(in) mycomm,
integer, dimension(:,:,:,:,:,:), intent(in) orig,
integer, dimension(:,:,:,:,:,:), intent(inout) reduced,
integer, intent(in) reduceop,
integer, intent(in), optional root,
integer, intent(out), optional error )

Reduces on one process (type i6).

Parameters
mycommMPI communicator.
origQuantity to be reduced.
reducedContains result on exit.
reduceopReduction operator.
rootRoot process for the reduced (default: mycommleadrank)
errorError code on exit.

◆ mpifx_reduce_l0()

subroutine mpifx_reduce_module::mpifx_reduce::mpifx_reduce_l0 ( type(mpifx_comm), intent(in) mycomm,
logical, intent(in) orig,
logical, intent(inout) reduced,
integer, intent(in) reduceop,
integer, intent(in), optional root,
integer, intent(out), optional error )

Reduces on one process (type l0).

Parameters
mycommMPI communicator.
origQuantity to be reduced.
reducedContains result on exit.
reduceopReduction operator.
rootRoot process for the reduced (default: mycommleadrank)
errorError code on exit.

◆ mpifx_reduce_l1()

subroutine mpifx_reduce_module::mpifx_reduce::mpifx_reduce_l1 ( type(mpifx_comm), intent(in) mycomm,
logical, dimension(:), intent(in) orig,
logical, dimension(:), intent(inout) reduced,
integer, intent(in) reduceop,
integer, intent(in), optional root,
integer, intent(out), optional error )

Reduces on one process (type l1).

Parameters
mycommMPI communicator.
origQuantity to be reduced.
reducedContains result on exit.
reduceopReduction operator.
rootRoot process for the reduced (default: mycommleadrank)
errorError code on exit.

◆ mpifx_reduce_l2()

subroutine mpifx_reduce_module::mpifx_reduce::mpifx_reduce_l2 ( type(mpifx_comm), intent(in) mycomm,
logical, dimension(:,:), intent(in) orig,
logical, dimension(:,:), intent(inout) reduced,
integer, intent(in) reduceop,
integer, intent(in), optional root,
integer, intent(out), optional error )

Reduces on one process (type l2).

Parameters
mycommMPI communicator.
origQuantity to be reduced.
reducedContains result on exit.
reduceopReduction operator.
rootRoot process for the reduced (default: mycommleadrank)
errorError code on exit.

◆ mpifx_reduce_l3()

subroutine mpifx_reduce_module::mpifx_reduce::mpifx_reduce_l3 ( type(mpifx_comm), intent(in) mycomm,
logical, dimension(:,:,:), intent(in) orig,
logical, dimension(:,:,:), intent(inout) reduced,
integer, intent(in) reduceop,
integer, intent(in), optional root,
integer, intent(out), optional error )

Reduces on one process (type l3).

Parameters
mycommMPI communicator.
origQuantity to be reduced.
reducedContains result on exit.
reduceopReduction operator.
rootRoot process for the reduced (default: mycommleadrank)
errorError code on exit.

◆ mpifx_reduce_l4()

subroutine mpifx_reduce_module::mpifx_reduce::mpifx_reduce_l4 ( type(mpifx_comm), intent(in) mycomm,
logical, dimension(:,:,:,:), intent(in) orig,
logical, dimension(:,:,:,:), intent(inout) reduced,
integer, intent(in) reduceop,
integer, intent(in), optional root,
integer, intent(out), optional error )

Reduces on one process (type l4).

Parameters
mycommMPI communicator.
origQuantity to be reduced.
reducedContains result on exit.
reduceopReduction operator.
rootRoot process for the reduced (default: mycommleadrank)
errorError code on exit.

◆ mpifx_reduce_l5()

subroutine mpifx_reduce_module::mpifx_reduce::mpifx_reduce_l5 ( type(mpifx_comm), intent(in) mycomm,
logical, dimension(:,:,:,:,:), intent(in) orig,
logical, dimension(:,:,:,:,:), intent(inout) reduced,
integer, intent(in) reduceop,
integer, intent(in), optional root,
integer, intent(out), optional error )

Reduces on one process (type l5).

Parameters
mycommMPI communicator.
origQuantity to be reduced.
reducedContains result on exit.
reduceopReduction operator.
rootRoot process for the reduced (default: mycommleadrank)
errorError code on exit.

◆ mpifx_reduce_l6()

subroutine mpifx_reduce_module::mpifx_reduce::mpifx_reduce_l6 ( type(mpifx_comm), intent(in) mycomm,
logical, dimension(:,:,:,:,:,:), intent(in) orig,
logical, dimension(:,:,:,:,:,:), intent(inout) reduced,
integer, intent(in) reduceop,
integer, intent(in), optional root,
integer, intent(out), optional error )

Reduces on one process (type l6).

Parameters
mycommMPI communicator.
origQuantity to be reduced.
reducedContains result on exit.
reduceopReduction operator.
rootRoot process for the reduced (default: mycommleadrank)
errorError code on exit.

◆ mpifx_reduce_s0()

subroutine mpifx_reduce_module::mpifx_reduce::mpifx_reduce_s0 ( type(mpifx_comm), intent(in) mycomm,
real(sp), intent(in) orig,
real(sp), intent(inout) reduced,
integer, intent(in) reduceop,
integer, intent(in), optional root,
integer, intent(out), optional error )

Reduces on one process (type s0).

Parameters
mycommMPI communicator.
origQuantity to be reduced.
reducedContains result on exit.
reduceopReduction operator.
rootRoot process for the reduced (default: mycommleadrank)
errorError code on exit.

◆ mpifx_reduce_s1()

subroutine mpifx_reduce_module::mpifx_reduce::mpifx_reduce_s1 ( type(mpifx_comm), intent(in) mycomm,
real(sp), dimension(:), intent(in) orig,
real(sp), dimension(:), intent(inout) reduced,
integer, intent(in) reduceop,
integer, intent(in), optional root,
integer, intent(out), optional error )

Reduces on one process (type s1).

Parameters
mycommMPI communicator.
origQuantity to be reduced.
reducedContains result on exit.
reduceopReduction operator.
rootRoot process for the reduced (default: mycommleadrank)
errorError code on exit.

◆ mpifx_reduce_s2()

subroutine mpifx_reduce_module::mpifx_reduce::mpifx_reduce_s2 ( type(mpifx_comm), intent(in) mycomm,
real(sp), dimension(:,:), intent(in) orig,
real(sp), dimension(:,:), intent(inout) reduced,
integer, intent(in) reduceop,
integer, intent(in), optional root,
integer, intent(out), optional error )

Reduces on one process (type s2).

Parameters
mycommMPI communicator.
origQuantity to be reduced.
reducedContains result on exit.
reduceopReduction operator.
rootRoot process for the reduced (default: mycommleadrank)
errorError code on exit.

◆ mpifx_reduce_s3()

subroutine mpifx_reduce_module::mpifx_reduce::mpifx_reduce_s3 ( type(mpifx_comm), intent(in) mycomm,
real(sp), dimension(:,:,:), intent(in) orig,
real(sp), dimension(:,:,:), intent(inout) reduced,
integer, intent(in) reduceop,
integer, intent(in), optional root,
integer, intent(out), optional error )

Reduces on one process (type s3).

Parameters
mycommMPI communicator.
origQuantity to be reduced.
reducedContains result on exit.
reduceopReduction operator.
rootRoot process for the reduced (default: mycommleadrank)
errorError code on exit.

◆ mpifx_reduce_s4()

subroutine mpifx_reduce_module::mpifx_reduce::mpifx_reduce_s4 ( type(mpifx_comm), intent(in) mycomm,
real(sp), dimension(:,:,:,:), intent(in) orig,
real(sp), dimension(:,:,:,:), intent(inout) reduced,
integer, intent(in) reduceop,
integer, intent(in), optional root,
integer, intent(out), optional error )

Reduces on one process (type s4).

Parameters
mycommMPI communicator.
origQuantity to be reduced.
reducedContains result on exit.
reduceopReduction operator.
rootRoot process for the reduced (default: mycommleadrank)
errorError code on exit.

◆ mpifx_reduce_s5()

subroutine mpifx_reduce_module::mpifx_reduce::mpifx_reduce_s5 ( type(mpifx_comm), intent(in) mycomm,
real(sp), dimension(:,:,:,:,:), intent(in) orig,
real(sp), dimension(:,:,:,:,:), intent(inout) reduced,
integer, intent(in) reduceop,
integer, intent(in), optional root,
integer, intent(out), optional error )

Reduces on one process (type s5).

Parameters
mycommMPI communicator.
origQuantity to be reduced.
reducedContains result on exit.
reduceopReduction operator.
rootRoot process for the reduced (default: mycommleadrank)
errorError code on exit.

◆ mpifx_reduce_s6()

subroutine mpifx_reduce_module::mpifx_reduce::mpifx_reduce_s6 ( type(mpifx_comm), intent(in) mycomm,
real(sp), dimension(:,:,:,:,:,:), intent(in) orig,
real(sp), dimension(:,:,:,:,:,:), intent(inout) reduced,
integer, intent(in) reduceop,
integer, intent(in), optional root,
integer, intent(out), optional error )

Reduces on one process (type s6).

Parameters
mycommMPI communicator.
origQuantity to be reduced.
reducedContains result on exit.
reduceopReduction operator.
rootRoot process for the reduced (default: mycommleadrank)
errorError code on exit.

◆ mpifx_reduce_z0()

subroutine mpifx_reduce_module::mpifx_reduce::mpifx_reduce_z0 ( type(mpifx_comm), intent(in) mycomm,
complex(dp), intent(in) orig,
complex(dp), intent(inout) reduced,
integer, intent(in) reduceop,
integer, intent(in), optional root,
integer, intent(out), optional error )

Reduces on one process (type z0).

Parameters
mycommMPI communicator.
origQuantity to be reduced.
reducedContains result on exit.
reduceopReduction operator.
rootRoot process for the reduced (default: mycommleadrank)
errorError code on exit.

◆ mpifx_reduce_z1()

subroutine mpifx_reduce_module::mpifx_reduce::mpifx_reduce_z1 ( type(mpifx_comm), intent(in) mycomm,
complex(dp), dimension(:), intent(in) orig,
complex(dp), dimension(:), intent(inout) reduced,
integer, intent(in) reduceop,
integer, intent(in), optional root,
integer, intent(out), optional error )

Reduces on one process (type z1).

Parameters
mycommMPI communicator.
origQuantity to be reduced.
reducedContains result on exit.
reduceopReduction operator.
rootRoot process for the reduced (default: mycommleadrank)
errorError code on exit.

◆ mpifx_reduce_z2()

subroutine mpifx_reduce_module::mpifx_reduce::mpifx_reduce_z2 ( type(mpifx_comm), intent(in) mycomm,
complex(dp), dimension(:,:), intent(in) orig,
complex(dp), dimension(:,:), intent(inout) reduced,
integer, intent(in) reduceop,
integer, intent(in), optional root,
integer, intent(out), optional error )

Reduces on one process (type z2).

Parameters
mycommMPI communicator.
origQuantity to be reduced.
reducedContains result on exit.
reduceopReduction operator.
rootRoot process for the reduced (default: mycommleadrank)
errorError code on exit.

◆ mpifx_reduce_z3()

subroutine mpifx_reduce_module::mpifx_reduce::mpifx_reduce_z3 ( type(mpifx_comm), intent(in) mycomm,
complex(dp), dimension(:,:,:), intent(in) orig,
complex(dp), dimension(:,:,:), intent(inout) reduced,
integer, intent(in) reduceop,
integer, intent(in), optional root,
integer, intent(out), optional error )

Reduces on one process (type z3).

Parameters
mycommMPI communicator.
origQuantity to be reduced.
reducedContains result on exit.
reduceopReduction operator.
rootRoot process for the reduced (default: mycommleadrank)
errorError code on exit.

◆ mpifx_reduce_z4()

subroutine mpifx_reduce_module::mpifx_reduce::mpifx_reduce_z4 ( type(mpifx_comm), intent(in) mycomm,
complex(dp), dimension(:,:,:,:), intent(in) orig,
complex(dp), dimension(:,:,:,:), intent(inout) reduced,
integer, intent(in) reduceop,
integer, intent(in), optional root,
integer, intent(out), optional error )

Reduces on one process (type z4).

Parameters
mycommMPI communicator.
origQuantity to be reduced.
reducedContains result on exit.
reduceopReduction operator.
rootRoot process for the reduced (default: mycommleadrank)
errorError code on exit.

◆ mpifx_reduce_z5()

subroutine mpifx_reduce_module::mpifx_reduce::mpifx_reduce_z5 ( type(mpifx_comm), intent(in) mycomm,
complex(dp), dimension(:,:,:,:,:), intent(in) orig,
complex(dp), dimension(:,:,:,:,:), intent(inout) reduced,
integer, intent(in) reduceop,
integer, intent(in), optional root,
integer, intent(out), optional error )

Reduces on one process (type z5).

Parameters
mycommMPI communicator.
origQuantity to be reduced.
reducedContains result on exit.
reduceopReduction operator.
rootRoot process for the reduced (default: mycommleadrank)
errorError code on exit.

◆ mpifx_reduce_z6()

subroutine mpifx_reduce_module::mpifx_reduce::mpifx_reduce_z6 ( type(mpifx_comm), intent(in) mycomm,
complex(dp), dimension(:,:,:,:,:,:), intent(in) orig,
complex(dp), dimension(:,:,:,:,:,:), intent(inout) reduced,
integer, intent(in) reduceop,
integer, intent(in), optional root,
integer, intent(out), optional error )

Reduces on one process (type z6).

Parameters
mycommMPI communicator.
origQuantity to be reduced.
reducedContains result on exit.
reduceopReduction operator.
rootRoot process for the reduced (default: mycommleadrank)
errorError code on exit.

The documentation for this interface was generated from the following file: