如何在Intel MPI中找到可用的广播集合算法。
在OpenMPI的情况下,我们可以使用
列出所有可用的MPI广播集合算法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)
在Intel MPI的情况下,它只显示每个集合操作可用的预设的最大数量(范围)。
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)是否有任何方法可以获得MPI_Bcast的所有算法。(即使是ompi_info——all也没有显示此信息)
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
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
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
本页列出了所有可用的Intel集合变体:
https://www.intel.com/content/www/us/en/develop/documentation/mpi-developer-reference-linux/top/environment-variable-reference/i-mpi-adjust-family-environment-variables.html