MpiFx 1.4.0
Public Member Functions | List of all members
mpifx_allreduce_module::mpifx_allreduce Interface Reference

Reduces a scalar/array on all nodes. More...

Public Member Functions

subroutine mpifx_allreduce_i0 (mycomm, orig, reduced, reductionop, error)
 Reduces operand on all processes (type $1).
 
subroutine mpifx_allreduce_i1 (mycomm, orig, reduced, reductionop, error)
 Reduces operand on all processes (type $1).
 
subroutine mpifx_allreduce_i2 (mycomm, orig, reduced, reductionop, error)
 Reduces operand on all processes (type $1).
 
subroutine mpifx_allreduce_i3 (mycomm, orig, reduced, reductionop, error)
 Reduces operand on all processes (type $1).
 
subroutine mpifx_allreduce_i4 (mycomm, orig, reduced, reductionop, error)
 Reduces operand on all processes (type $1).
 
subroutine mpifx_allreduce_i5 (mycomm, orig, reduced, reductionop, error)
 Reduces operand on all processes (type $1).
 
subroutine mpifx_allreduce_i6 (mycomm, orig, reduced, reductionop, error)
 Reduces operand on all processes (type $1).
 
subroutine mpifx_allreduce_s0 (mycomm, orig, reduced, reductionop, error)
 Reduces operand on all processes (type $1).
 
subroutine mpifx_allreduce_s1 (mycomm, orig, reduced, reductionop, error)
 Reduces operand on all processes (type $1).
 
subroutine mpifx_allreduce_s2 (mycomm, orig, reduced, reductionop, error)
 Reduces operand on all processes (type $1).
 
subroutine mpifx_allreduce_s3 (mycomm, orig, reduced, reductionop, error)
 Reduces operand on all processes (type $1).
 
subroutine mpifx_allreduce_s4 (mycomm, orig, reduced, reductionop, error)
 Reduces operand on all processes (type $1).
 
subroutine mpifx_allreduce_s5 (mycomm, orig, reduced, reductionop, error)
 Reduces operand on all processes (type $1).
 
subroutine mpifx_allreduce_s6 (mycomm, orig, reduced, reductionop, error)
 Reduces operand on all processes (type $1).
 
subroutine mpifx_allreduce_d0 (mycomm, orig, reduced, reductionop, error)
 Reduces operand on all processes (type $1).
 
subroutine mpifx_allreduce_d1 (mycomm, orig, reduced, reductionop, error)
 Reduces operand on all processes (type $1).
 
subroutine mpifx_allreduce_d2 (mycomm, orig, reduced, reductionop, error)
 Reduces operand on all processes (type $1).
 
subroutine mpifx_allreduce_d3 (mycomm, orig, reduced, reductionop, error)
 Reduces operand on all processes (type $1).
 
subroutine mpifx_allreduce_d4 (mycomm, orig, reduced, reductionop, error)
 Reduces operand on all processes (type $1).
 
subroutine mpifx_allreduce_d5 (mycomm, orig, reduced, reductionop, error)
 Reduces operand on all processes (type $1).
 
subroutine mpifx_allreduce_d6 (mycomm, orig, reduced, reductionop, error)
 Reduces operand on all processes (type $1).
 
subroutine mpifx_allreduce_c0 (mycomm, orig, reduced, reductionop, error)
 Reduces operand on all processes (type $1).
 
subroutine mpifx_allreduce_c1 (mycomm, orig, reduced, reductionop, error)
 Reduces operand on all processes (type $1).
 
subroutine mpifx_allreduce_c2 (mycomm, orig, reduced, reductionop, error)
 Reduces operand on all processes (type $1).
 
subroutine mpifx_allreduce_c3 (mycomm, orig, reduced, reductionop, error)
 Reduces operand on all processes (type $1).
 
subroutine mpifx_allreduce_c4 (mycomm, orig, reduced, reductionop, error)
 Reduces operand on all processes (type $1).
 
subroutine mpifx_allreduce_c5 (mycomm, orig, reduced, reductionop, error)
 Reduces operand on all processes (type $1).
 
subroutine mpifx_allreduce_c6 (mycomm, orig, reduced, reductionop, error)
 Reduces operand on all processes (type $1).
 
subroutine mpifx_allreduce_z0 (mycomm, orig, reduced, reductionop, error)
 Reduces operand on all processes (type $1).
 
subroutine mpifx_allreduce_z1 (mycomm, orig, reduced, reductionop, error)
 Reduces operand on all processes (type $1).
 
subroutine mpifx_allreduce_z2 (mycomm, orig, reduced, reductionop, error)
 Reduces operand on all processes (type $1).
 
subroutine mpifx_allreduce_z3 (mycomm, orig, reduced, reductionop, error)
 Reduces operand on all processes (type $1).
 
subroutine mpifx_allreduce_z4 (mycomm, orig, reduced, reductionop, error)
 Reduces operand on all processes (type $1).
 
subroutine mpifx_allreduce_z5 (mycomm, orig, reduced, reductionop, error)
 Reduces operand on all processes (type $1).
 
subroutine mpifx_allreduce_z6 (mycomm, orig, reduced, reductionop, error)
 Reduces operand on all processes (type $1).
 
subroutine mpifx_allreduce_l0 (mycomm, orig, reduced, reductionop, error)
 Reduces operand on all processes (type $1).
 
subroutine mpifx_allreduce_l1 (mycomm, orig, reduced, reductionop, error)
 Reduces operand on all processes (type $1).
 
subroutine mpifx_allreduce_l2 (mycomm, orig, reduced, reductionop, error)
 Reduces operand on all processes (type $1).
 
subroutine mpifx_allreduce_l3 (mycomm, orig, reduced, reductionop, error)
 Reduces operand on all processes (type $1).
 
subroutine mpifx_allreduce_l4 (mycomm, orig, reduced, reductionop, error)
 Reduces operand on all processes (type $1).
 
subroutine mpifx_allreduce_l5 (mycomm, orig, reduced, reductionop, error)
 Reduces operand on all processes (type $1).
 
subroutine mpifx_allreduce_l6 (mycomm, orig, reduced, reductionop, error)
 Reduces operand on all processes (type $1).
 

Detailed Description

Reduces a scalar/array on all nodes.

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) and 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_ALLREDUCE)

Example:

program test_allreduce
  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_allreduce(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_allreduce

Member Function/Subroutine Documentation

◆ mpifx_allreduce_c0()

subroutine mpifx_allreduce_module::mpifx_allreduce::mpifx_allreduce_c0 ( type(mpifx_comm), intent(in) mycomm,
complex(sp), intent(in) orig,
complex(sp), intent(inout) reduced,
integer, intent(in) reductionop,
integer, intent(out), optional error )

Reduces operand on all processes (type $1).

See MPI documentation (mpi_allreduce()) for further details.

Parameters
[in]mycommMPI communicator.
[in]origQuantity to be reduced.
[in,out]reducedContains result on exit.
[in]reductionopReduction operator
[out]errorError code on exit.

◆ mpifx_allreduce_c1()

subroutine mpifx_allreduce_module::mpifx_allreduce::mpifx_allreduce_c1 ( type(mpifx_comm), intent(in) mycomm,
complex(sp), dimension(:), intent(in) orig,
complex(sp), dimension(:), intent(inout) reduced,
integer, intent(in) reductionop,
integer, intent(out), optional error )

Reduces operand on all processes (type $1).

See MPI documentation (mpi_allreduce()) for further details.

Parameters
[in]mycommMPI communicator.
[in]origQuantity to be reduced.
[in,out]reducedContains result on exit.
[in]reductionopReduction operator
[out]errorError code on exit.

◆ mpifx_allreduce_c2()

subroutine mpifx_allreduce_module::mpifx_allreduce::mpifx_allreduce_c2 ( type(mpifx_comm), intent(in) mycomm,
complex(sp), dimension(:,:), intent(in) orig,
complex(sp), dimension(:,:), intent(inout) reduced,
integer, intent(in) reductionop,
integer, intent(out), optional error )

Reduces operand on all processes (type $1).

See MPI documentation (mpi_allreduce()) for further details.

Parameters
[in]mycommMPI communicator.
[in]origQuantity to be reduced.
[in,out]reducedContains result on exit.
[in]reductionopReduction operator
[out]errorError code on exit.

◆ mpifx_allreduce_c3()

subroutine mpifx_allreduce_module::mpifx_allreduce::mpifx_allreduce_c3 ( type(mpifx_comm), intent(in) mycomm,
complex(sp), dimension(:,:,:), intent(in) orig,
complex(sp), dimension(:,:,:), intent(inout) reduced,
integer, intent(in) reductionop,
integer, intent(out), optional error )

Reduces operand on all processes (type $1).

See MPI documentation (mpi_allreduce()) for further details.

Parameters
[in]mycommMPI communicator.
[in]origQuantity to be reduced.
[in,out]reducedContains result on exit.
[in]reductionopReduction operator
[out]errorError code on exit.

◆ mpifx_allreduce_c4()

subroutine mpifx_allreduce_module::mpifx_allreduce::mpifx_allreduce_c4 ( type(mpifx_comm), intent(in) mycomm,
complex(sp), dimension(:,:,:,:), intent(in) orig,
complex(sp), dimension(:,:,:,:), intent(inout) reduced,
integer, intent(in) reductionop,
integer, intent(out), optional error )

Reduces operand on all processes (type $1).

See MPI documentation (mpi_allreduce()) for further details.

Parameters
[in]mycommMPI communicator.
[in]origQuantity to be reduced.
[in,out]reducedContains result on exit.
[in]reductionopReduction operator
[out]errorError code on exit.

◆ mpifx_allreduce_c5()

subroutine mpifx_allreduce_module::mpifx_allreduce::mpifx_allreduce_c5 ( type(mpifx_comm), intent(in) mycomm,
complex(sp), dimension(:,:,:,:,:), intent(in) orig,
complex(sp), dimension(:,:,:,:,:), intent(inout) reduced,
integer, intent(in) reductionop,
integer, intent(out), optional error )

Reduces operand on all processes (type $1).

See MPI documentation (mpi_allreduce()) for further details.

Parameters
[in]mycommMPI communicator.
[in]origQuantity to be reduced.
[in,out]reducedContains result on exit.
[in]reductionopReduction operator
[out]errorError code on exit.

◆ mpifx_allreduce_c6()

subroutine mpifx_allreduce_module::mpifx_allreduce::mpifx_allreduce_c6 ( type(mpifx_comm), intent(in) mycomm,
complex(sp), dimension(:,:,:,:,:,:), intent(in) orig,
complex(sp), dimension(:,:,:,:,:,:), intent(inout) reduced,
integer, intent(in) reductionop,
integer, intent(out), optional error )

Reduces operand on all processes (type $1).

See MPI documentation (mpi_allreduce()) for further details.

Parameters
[in]mycommMPI communicator.
[in]origQuantity to be reduced.
[in,out]reducedContains result on exit.
[in]reductionopReduction operator
[out]errorError code on exit.

◆ mpifx_allreduce_d0()

subroutine mpifx_allreduce_module::mpifx_allreduce::mpifx_allreduce_d0 ( type(mpifx_comm), intent(in) mycomm,
real(dp), intent(in) orig,
real(dp), intent(inout) reduced,
integer, intent(in) reductionop,
integer, intent(out), optional error )

Reduces operand on all processes (type $1).

See MPI documentation (mpi_allreduce()) for further details.

Parameters
[in]mycommMPI communicator.
[in]origQuantity to be reduced.
[in,out]reducedContains result on exit.
[in]reductionopReduction operator
[out]errorError code on exit.

◆ mpifx_allreduce_d1()

subroutine mpifx_allreduce_module::mpifx_allreduce::mpifx_allreduce_d1 ( type(mpifx_comm), intent(in) mycomm,
real(dp), dimension(:), intent(in) orig,
real(dp), dimension(:), intent(inout) reduced,
integer, intent(in) reductionop,
integer, intent(out), optional error )

Reduces operand on all processes (type $1).

See MPI documentation (mpi_allreduce()) for further details.

Parameters
[in]mycommMPI communicator.
[in]origQuantity to be reduced.
[in,out]reducedContains result on exit.
[in]reductionopReduction operator
[out]errorError code on exit.

◆ mpifx_allreduce_d2()

subroutine mpifx_allreduce_module::mpifx_allreduce::mpifx_allreduce_d2 ( type(mpifx_comm), intent(in) mycomm,
real(dp), dimension(:,:), intent(in) orig,
real(dp), dimension(:,:), intent(inout) reduced,
integer, intent(in) reductionop,
integer, intent(out), optional error )

Reduces operand on all processes (type $1).

See MPI documentation (mpi_allreduce()) for further details.

Parameters
[in]mycommMPI communicator.
[in]origQuantity to be reduced.
[in,out]reducedContains result on exit.
[in]reductionopReduction operator
[out]errorError code on exit.

◆ mpifx_allreduce_d3()

subroutine mpifx_allreduce_module::mpifx_allreduce::mpifx_allreduce_d3 ( type(mpifx_comm), intent(in) mycomm,
real(dp), dimension(:,:,:), intent(in) orig,
real(dp), dimension(:,:,:), intent(inout) reduced,
integer, intent(in) reductionop,
integer, intent(out), optional error )

Reduces operand on all processes (type $1).

See MPI documentation (mpi_allreduce()) for further details.

Parameters
[in]mycommMPI communicator.
[in]origQuantity to be reduced.
[in,out]reducedContains result on exit.
[in]reductionopReduction operator
[out]errorError code on exit.

◆ mpifx_allreduce_d4()

subroutine mpifx_allreduce_module::mpifx_allreduce::mpifx_allreduce_d4 ( type(mpifx_comm), intent(in) mycomm,
real(dp), dimension(:,:,:,:), intent(in) orig,
real(dp), dimension(:,:,:,:), intent(inout) reduced,
integer, intent(in) reductionop,
integer, intent(out), optional error )

Reduces operand on all processes (type $1).

See MPI documentation (mpi_allreduce()) for further details.

Parameters
[in]mycommMPI communicator.
[in]origQuantity to be reduced.
[in,out]reducedContains result on exit.
[in]reductionopReduction operator
[out]errorError code on exit.

◆ mpifx_allreduce_d5()

subroutine mpifx_allreduce_module::mpifx_allreduce::mpifx_allreduce_d5 ( type(mpifx_comm), intent(in) mycomm,
real(dp), dimension(:,:,:,:,:), intent(in) orig,
real(dp), dimension(:,:,:,:,:), intent(inout) reduced,
integer, intent(in) reductionop,
integer, intent(out), optional error )

Reduces operand on all processes (type $1).

See MPI documentation (mpi_allreduce()) for further details.

Parameters
[in]mycommMPI communicator.
[in]origQuantity to be reduced.
[in,out]reducedContains result on exit.
[in]reductionopReduction operator
[out]errorError code on exit.

◆ mpifx_allreduce_d6()

subroutine mpifx_allreduce_module::mpifx_allreduce::mpifx_allreduce_d6 ( type(mpifx_comm), intent(in) mycomm,
real(dp), dimension(:,:,:,:,:,:), intent(in) orig,
real(dp), dimension(:,:,:,:,:,:), intent(inout) reduced,
integer, intent(in) reductionop,
integer, intent(out), optional error )

Reduces operand on all processes (type $1).

See MPI documentation (mpi_allreduce()) for further details.

Parameters
[in]mycommMPI communicator.
[in]origQuantity to be reduced.
[in,out]reducedContains result on exit.
[in]reductionopReduction operator
[out]errorError code on exit.

◆ mpifx_allreduce_i0()

subroutine mpifx_allreduce_module::mpifx_allreduce::mpifx_allreduce_i0 ( type(mpifx_comm), intent(in) mycomm,
integer, intent(in) orig,
integer, intent(inout) reduced,
integer, intent(in) reductionop,
integer, intent(out), optional error )

Reduces operand on all processes (type $1).

See MPI documentation (mpi_allreduce()) for further details.

Parameters
[in]mycommMPI communicator.
[in]origQuantity to be reduced.
[in,out]reducedContains result on exit.
[in]reductionopReduction operator
[out]errorError code on exit.

◆ mpifx_allreduce_i1()

subroutine mpifx_allreduce_module::mpifx_allreduce::mpifx_allreduce_i1 ( type(mpifx_comm), intent(in) mycomm,
integer, dimension(:), intent(in) orig,
integer, dimension(:), intent(inout) reduced,
integer, intent(in) reductionop,
integer, intent(out), optional error )

Reduces operand on all processes (type $1).

See MPI documentation (mpi_allreduce()) for further details.

Parameters
[in]mycommMPI communicator.
[in]origQuantity to be reduced.
[in,out]reducedContains result on exit.
[in]reductionopReduction operator
[out]errorError code on exit.

◆ mpifx_allreduce_i2()

subroutine mpifx_allreduce_module::mpifx_allreduce::mpifx_allreduce_i2 ( type(mpifx_comm), intent(in) mycomm,
integer, dimension(:,:), intent(in) orig,
integer, dimension(:,:), intent(inout) reduced,
integer, intent(in) reductionop,
integer, intent(out), optional error )

Reduces operand on all processes (type $1).

See MPI documentation (mpi_allreduce()) for further details.

Parameters
[in]mycommMPI communicator.
[in]origQuantity to be reduced.
[in,out]reducedContains result on exit.
[in]reductionopReduction operator
[out]errorError code on exit.

◆ mpifx_allreduce_i3()

subroutine mpifx_allreduce_module::mpifx_allreduce::mpifx_allreduce_i3 ( type(mpifx_comm), intent(in) mycomm,
integer, dimension(:,:,:), intent(in) orig,
integer, dimension(:,:,:), intent(inout) reduced,
integer, intent(in) reductionop,
integer, intent(out), optional error )

Reduces operand on all processes (type $1).

See MPI documentation (mpi_allreduce()) for further details.

Parameters
[in]mycommMPI communicator.
[in]origQuantity to be reduced.
[in,out]reducedContains result on exit.
[in]reductionopReduction operator
[out]errorError code on exit.

◆ mpifx_allreduce_i4()

subroutine mpifx_allreduce_module::mpifx_allreduce::mpifx_allreduce_i4 ( type(mpifx_comm), intent(in) mycomm,
integer, dimension(:,:,:,:), intent(in) orig,
integer, dimension(:,:,:,:), intent(inout) reduced,
integer, intent(in) reductionop,
integer, intent(out), optional error )

Reduces operand on all processes (type $1).

See MPI documentation (mpi_allreduce()) for further details.

Parameters
[in]mycommMPI communicator.
[in]origQuantity to be reduced.
[in,out]reducedContains result on exit.
[in]reductionopReduction operator
[out]errorError code on exit.

◆ mpifx_allreduce_i5()

subroutine mpifx_allreduce_module::mpifx_allreduce::mpifx_allreduce_i5 ( type(mpifx_comm), intent(in) mycomm,
integer, dimension(:,:,:,:,:), intent(in) orig,
integer, dimension(:,:,:,:,:), intent(inout) reduced,
integer, intent(in) reductionop,
integer, intent(out), optional error )

Reduces operand on all processes (type $1).

See MPI documentation (mpi_allreduce()) for further details.

Parameters
[in]mycommMPI communicator.
[in]origQuantity to be reduced.
[in,out]reducedContains result on exit.
[in]reductionopReduction operator
[out]errorError code on exit.

◆ mpifx_allreduce_i6()

subroutine mpifx_allreduce_module::mpifx_allreduce::mpifx_allreduce_i6 ( type(mpifx_comm), intent(in) mycomm,
integer, dimension(:,:,:,:,:,:), intent(in) orig,
integer, dimension(:,:,:,:,:,:), intent(inout) reduced,
integer, intent(in) reductionop,
integer, intent(out), optional error )

Reduces operand on all processes (type $1).

See MPI documentation (mpi_allreduce()) for further details.

Parameters
[in]mycommMPI communicator.
[in]origQuantity to be reduced.
[in,out]reducedContains result on exit.
[in]reductionopReduction operator
[out]errorError code on exit.

◆ mpifx_allreduce_l0()

subroutine mpifx_allreduce_module::mpifx_allreduce::mpifx_allreduce_l0 ( type(mpifx_comm), intent(in) mycomm,
logical, intent(in) orig,
logical, intent(inout) reduced,
integer, intent(in) reductionop,
integer, intent(out), optional error )

Reduces operand on all processes (type $1).

See MPI documentation (mpi_allreduce()) for further details.

Parameters
[in]mycommMPI communicator.
[in]origQuantity to be reduced.
[in,out]reducedContains result on exit.
[in]reductionopReduction operator
[out]errorError code on exit.

◆ mpifx_allreduce_l1()

subroutine mpifx_allreduce_module::mpifx_allreduce::mpifx_allreduce_l1 ( type(mpifx_comm), intent(in) mycomm,
logical, dimension(:), intent(in) orig,
logical, dimension(:), intent(inout) reduced,
integer, intent(in) reductionop,
integer, intent(out), optional error )

Reduces operand on all processes (type $1).

See MPI documentation (mpi_allreduce()) for further details.

Parameters
[in]mycommMPI communicator.
[in]origQuantity to be reduced.
[in,out]reducedContains result on exit.
[in]reductionopReduction operator
[out]errorError code on exit.

◆ mpifx_allreduce_l2()

subroutine mpifx_allreduce_module::mpifx_allreduce::mpifx_allreduce_l2 ( type(mpifx_comm), intent(in) mycomm,
logical, dimension(:,:), intent(in) orig,
logical, dimension(:,:), intent(inout) reduced,
integer, intent(in) reductionop,
integer, intent(out), optional error )

Reduces operand on all processes (type $1).

See MPI documentation (mpi_allreduce()) for further details.

Parameters
[in]mycommMPI communicator.
[in]origQuantity to be reduced.
[in,out]reducedContains result on exit.
[in]reductionopReduction operator
[out]errorError code on exit.

◆ mpifx_allreduce_l3()

subroutine mpifx_allreduce_module::mpifx_allreduce::mpifx_allreduce_l3 ( type(mpifx_comm), intent(in) mycomm,
logical, dimension(:,:,:), intent(in) orig,
logical, dimension(:,:,:), intent(inout) reduced,
integer, intent(in) reductionop,
integer, intent(out), optional error )

Reduces operand on all processes (type $1).

See MPI documentation (mpi_allreduce()) for further details.

Parameters
[in]mycommMPI communicator.
[in]origQuantity to be reduced.
[in,out]reducedContains result on exit.
[in]reductionopReduction operator
[out]errorError code on exit.

◆ mpifx_allreduce_l4()

subroutine mpifx_allreduce_module::mpifx_allreduce::mpifx_allreduce_l4 ( type(mpifx_comm), intent(in) mycomm,
logical, dimension(:,:,:,:), intent(in) orig,
logical, dimension(:,:,:,:), intent(inout) reduced,
integer, intent(in) reductionop,
integer, intent(out), optional error )

Reduces operand on all processes (type $1).

See MPI documentation (mpi_allreduce()) for further details.

Parameters
[in]mycommMPI communicator.
[in]origQuantity to be reduced.
[in,out]reducedContains result on exit.
[in]reductionopReduction operator
[out]errorError code on exit.

◆ mpifx_allreduce_l5()

subroutine mpifx_allreduce_module::mpifx_allreduce::mpifx_allreduce_l5 ( type(mpifx_comm), intent(in) mycomm,
logical, dimension(:,:,:,:,:), intent(in) orig,
logical, dimension(:,:,:,:,:), intent(inout) reduced,
integer, intent(in) reductionop,
integer, intent(out), optional error )

Reduces operand on all processes (type $1).

See MPI documentation (mpi_allreduce()) for further details.

Parameters
[in]mycommMPI communicator.
[in]origQuantity to be reduced.
[in,out]reducedContains result on exit.
[in]reductionopReduction operator
[out]errorError code on exit.

◆ mpifx_allreduce_l6()

subroutine mpifx_allreduce_module::mpifx_allreduce::mpifx_allreduce_l6 ( type(mpifx_comm), intent(in) mycomm,
logical, dimension(:,:,:,:,:,:), intent(in) orig,
logical, dimension(:,:,:,:,:,:), intent(inout) reduced,
integer, intent(in) reductionop,
integer, intent(out), optional error )

Reduces operand on all processes (type $1).

See MPI documentation (mpi_allreduce()) for further details.

Parameters
[in]mycommMPI communicator.
[in]origQuantity to be reduced.
[in,out]reducedContains result on exit.
[in]reductionopReduction operator
[out]errorError code on exit.

◆ mpifx_allreduce_s0()

subroutine mpifx_allreduce_module::mpifx_allreduce::mpifx_allreduce_s0 ( type(mpifx_comm), intent(in) mycomm,
real(sp), intent(in) orig,
real(sp), intent(inout) reduced,
integer, intent(in) reductionop,
integer, intent(out), optional error )

Reduces operand on all processes (type $1).

See MPI documentation (mpi_allreduce()) for further details.

Parameters
[in]mycommMPI communicator.
[in]origQuantity to be reduced.
[in,out]reducedContains result on exit.
[in]reductionopReduction operator
[out]errorError code on exit.

◆ mpifx_allreduce_s1()

subroutine mpifx_allreduce_module::mpifx_allreduce::mpifx_allreduce_s1 ( type(mpifx_comm), intent(in) mycomm,
real(sp), dimension(:), intent(in) orig,
real(sp), dimension(:), intent(inout) reduced,
integer, intent(in) reductionop,
integer, intent(out), optional error )

Reduces operand on all processes (type $1).

See MPI documentation (mpi_allreduce()) for further details.

Parameters
[in]mycommMPI communicator.
[in]origQuantity to be reduced.
[in,out]reducedContains result on exit.
[in]reductionopReduction operator
[out]errorError code on exit.

◆ mpifx_allreduce_s2()

subroutine mpifx_allreduce_module::mpifx_allreduce::mpifx_allreduce_s2 ( type(mpifx_comm), intent(in) mycomm,
real(sp), dimension(:,:), intent(in) orig,
real(sp), dimension(:,:), intent(inout) reduced,
integer, intent(in) reductionop,
integer, intent(out), optional error )

Reduces operand on all processes (type $1).

See MPI documentation (mpi_allreduce()) for further details.

Parameters
[in]mycommMPI communicator.
[in]origQuantity to be reduced.
[in,out]reducedContains result on exit.
[in]reductionopReduction operator
[out]errorError code on exit.

◆ mpifx_allreduce_s3()

subroutine mpifx_allreduce_module::mpifx_allreduce::mpifx_allreduce_s3 ( type(mpifx_comm), intent(in) mycomm,
real(sp), dimension(:,:,:), intent(in) orig,
real(sp), dimension(:,:,:), intent(inout) reduced,
integer, intent(in) reductionop,
integer, intent(out), optional error )

Reduces operand on all processes (type $1).

See MPI documentation (mpi_allreduce()) for further details.

Parameters
[in]mycommMPI communicator.
[in]origQuantity to be reduced.
[in,out]reducedContains result on exit.
[in]reductionopReduction operator
[out]errorError code on exit.

◆ mpifx_allreduce_s4()

subroutine mpifx_allreduce_module::mpifx_allreduce::mpifx_allreduce_s4 ( type(mpifx_comm), intent(in) mycomm,
real(sp), dimension(:,:,:,:), intent(in) orig,
real(sp), dimension(:,:,:,:), intent(inout) reduced,
integer, intent(in) reductionop,
integer, intent(out), optional error )

Reduces operand on all processes (type $1).

See MPI documentation (mpi_allreduce()) for further details.

Parameters
[in]mycommMPI communicator.
[in]origQuantity to be reduced.
[in,out]reducedContains result on exit.
[in]reductionopReduction operator
[out]errorError code on exit.

◆ mpifx_allreduce_s5()

subroutine mpifx_allreduce_module::mpifx_allreduce::mpifx_allreduce_s5 ( type(mpifx_comm), intent(in) mycomm,
real(sp), dimension(:,:,:,:,:), intent(in) orig,
real(sp), dimension(:,:,:,:,:), intent(inout) reduced,
integer, intent(in) reductionop,
integer, intent(out), optional error )

Reduces operand on all processes (type $1).

See MPI documentation (mpi_allreduce()) for further details.

Parameters
[in]mycommMPI communicator.
[in]origQuantity to be reduced.
[in,out]reducedContains result on exit.
[in]reductionopReduction operator
[out]errorError code on exit.

◆ mpifx_allreduce_s6()

subroutine mpifx_allreduce_module::mpifx_allreduce::mpifx_allreduce_s6 ( type(mpifx_comm), intent(in) mycomm,
real(sp), dimension(:,:,:,:,:,:), intent(in) orig,
real(sp), dimension(:,:,:,:,:,:), intent(inout) reduced,
integer, intent(in) reductionop,
integer, intent(out), optional error )

Reduces operand on all processes (type $1).

See MPI documentation (mpi_allreduce()) for further details.

Parameters
[in]mycommMPI communicator.
[in]origQuantity to be reduced.
[in,out]reducedContains result on exit.
[in]reductionopReduction operator
[out]errorError code on exit.

◆ mpifx_allreduce_z0()

subroutine mpifx_allreduce_module::mpifx_allreduce::mpifx_allreduce_z0 ( type(mpifx_comm), intent(in) mycomm,
complex(dp), intent(in) orig,
complex(dp), intent(inout) reduced,
integer, intent(in) reductionop,
integer, intent(out), optional error )

Reduces operand on all processes (type $1).

See MPI documentation (mpi_allreduce()) for further details.

Parameters
[in]mycommMPI communicator.
[in]origQuantity to be reduced.
[in,out]reducedContains result on exit.
[in]reductionopReduction operator
[out]errorError code on exit.

◆ mpifx_allreduce_z1()

subroutine mpifx_allreduce_module::mpifx_allreduce::mpifx_allreduce_z1 ( type(mpifx_comm), intent(in) mycomm,
complex(dp), dimension(:), intent(in) orig,
complex(dp), dimension(:), intent(inout) reduced,
integer, intent(in) reductionop,
integer, intent(out), optional error )

Reduces operand on all processes (type $1).

See MPI documentation (mpi_allreduce()) for further details.

Parameters
[in]mycommMPI communicator.
[in]origQuantity to be reduced.
[in,out]reducedContains result on exit.
[in]reductionopReduction operator
[out]errorError code on exit.

◆ mpifx_allreduce_z2()

subroutine mpifx_allreduce_module::mpifx_allreduce::mpifx_allreduce_z2 ( type(mpifx_comm), intent(in) mycomm,
complex(dp), dimension(:,:), intent(in) orig,
complex(dp), dimension(:,:), intent(inout) reduced,
integer, intent(in) reductionop,
integer, intent(out), optional error )

Reduces operand on all processes (type $1).

See MPI documentation (mpi_allreduce()) for further details.

Parameters
[in]mycommMPI communicator.
[in]origQuantity to be reduced.
[in,out]reducedContains result on exit.
[in]reductionopReduction operator
[out]errorError code on exit.

◆ mpifx_allreduce_z3()

subroutine mpifx_allreduce_module::mpifx_allreduce::mpifx_allreduce_z3 ( type(mpifx_comm), intent(in) mycomm,
complex(dp), dimension(:,:,:), intent(in) orig,
complex(dp), dimension(:,:,:), intent(inout) reduced,
integer, intent(in) reductionop,
integer, intent(out), optional error )

Reduces operand on all processes (type $1).

See MPI documentation (mpi_allreduce()) for further details.

Parameters
[in]mycommMPI communicator.
[in]origQuantity to be reduced.
[in,out]reducedContains result on exit.
[in]reductionopReduction operator
[out]errorError code on exit.

◆ mpifx_allreduce_z4()

subroutine mpifx_allreduce_module::mpifx_allreduce::mpifx_allreduce_z4 ( type(mpifx_comm), intent(in) mycomm,
complex(dp), dimension(:,:,:,:), intent(in) orig,
complex(dp), dimension(:,:,:,:), intent(inout) reduced,
integer, intent(in) reductionop,
integer, intent(out), optional error )

Reduces operand on all processes (type $1).

See MPI documentation (mpi_allreduce()) for further details.

Parameters
[in]mycommMPI communicator.
[in]origQuantity to be reduced.
[in,out]reducedContains result on exit.
[in]reductionopReduction operator
[out]errorError code on exit.

◆ mpifx_allreduce_z5()

subroutine mpifx_allreduce_module::mpifx_allreduce::mpifx_allreduce_z5 ( type(mpifx_comm), intent(in) mycomm,
complex(dp), dimension(:,:,:,:,:), intent(in) orig,
complex(dp), dimension(:,:,:,:,:), intent(inout) reduced,
integer, intent(in) reductionop,
integer, intent(out), optional error )

Reduces operand on all processes (type $1).

See MPI documentation (mpi_allreduce()) for further details.

Parameters
[in]mycommMPI communicator.
[in]origQuantity to be reduced.
[in,out]reducedContains result on exit.
[in]reductionopReduction operator
[out]errorError code on exit.

◆ mpifx_allreduce_z6()

subroutine mpifx_allreduce_module::mpifx_allreduce::mpifx_allreduce_z6 ( type(mpifx_comm), intent(in) mycomm,
complex(dp), dimension(:,:,:,:,:,:), intent(in) orig,
complex(dp), dimension(:,:,:,:,:,:), intent(inout) reduced,
integer, intent(in) reductionop,
integer, intent(out), optional error )

Reduces operand on all processes (type $1).

See MPI documentation (mpi_allreduce()) for further details.

Parameters
[in]mycommMPI communicator.
[in]origQuantity to be reduced.
[in,out]reducedContains result on exit.
[in]reductionopReduction operator
[out]errorError code on exit.

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