khd
khd

Reputation: 1666

List all the collective algorithm for Intel MPI

How to find the available collective algorithm for Broadcast in Intel MPI.

In case of OpenMPI, we can list all the available MPI collective algorithm for Broadcast using

ompi_info --param coll tuned -l 9 | grep 'bcast algorithm

1. Binomial
2. Recursive doubling
3. Ring
4. Topology aware binomial
5. Topology aware recursive doubling
6. Topology aware ring
7. Shumilin's
8. Knomial
9. Topology aware SHM-based flat
10. Topology aware SHM-based Knomial
11. Topology aware SHM-based Knary
12. NUMA aware SHM-based (SSE4.2)
13. NUMA aware SHM-based (AVX2)
14. NUMA aware SHM-based (AVX512)

In case of Intel MPI, it only show the maximum number (range) of presets available for each collective operation.

impi_info -v I_MPI_ADJUST_BCAST

I_MPI_ADJUST_BCAST
  MPI Datatype:
    MPI_CHAR
  Description:
    Control selection of MPI_Bcast algorithm presets.
    Arguments
    <algid> - Algorithm identifier
    range: 0-18

Q) Is there any way to get all the algorithm for MPI_Bcast.(Even ompi_info --all does not show this information)


Output of "impi_info -v I_MPI_ADJUST_ALLREDUCE"

I_MPI_ADJUST_ALLREDUCE
  MPI Datatype:
MPI_CHAR
Description:
  Control selection of MPI_Allreduce algorithm presets.
  Arguments
  <algid> - Algorithm identifier
  range: 0-26

Ouput of "impi_info -v I_MPI_ADJUST_ALLREDUCE -all"

I_MPI_ADJUST_ALLREDUCE
  MPI Datatype:
  MPI_CHAR
Description:
  Control selection of MPI_Allreduce algorithm presets.
  Arguments
  <algid> - Algorithm identifier
  range: 0-26

Ouput of "impi_info -v I_MPI_ADJUST_ALLREDUCE -e"

I_MPI_ADJUST_ALLREDUCE
MPI Datatype:
  MPI_CHAR
Description:
  Control selection of MPI_Allreduce algorithm presets.
  Arguments
  <algid> - Algorithm identifier
  range: 0-26

Upvotes: 1

Views: 323

Answers (1)

Related Questions