diff options
author | Robert Mijakovic <robert.mijakovic@gmail.com> | 2020-01-15 19:31:18 +0100 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2020-01-15 12:31:18 -0600 |
commit | a2f961bd6fc0ba2fe9e4e9713b4196626f776122 (patch) | |
tree | d06f9fbd7cbadeae536f98c15cfb01c89412b9e0 /README.md | |
parent | 0232c820aba0682929bdcdf9018fd807f46a95a0 (diff) | |
download | spack-a2f961bd6fc0ba2fe9e4e9713b4196626f776122.tar.gz spack-a2f961bd6fc0ba2fe9e4e9713b4196626f776122.tar.bz2 spack-a2f961bd6fc0ba2fe9e4e9713b4196626f776122.tar.xz spack-a2f961bd6fc0ba2fe9e4e9713b4196626f776122.zip |
Adds MPI_THREAD_MULTIPLE support for OpenMPI to the variant with UCX fabrics (#14194)
* Fixes:
1. MPI_THREAD_MULTIPLE problem with OpenMPI and UCX.
Changes:
1. OpenMPI provides two new depends_on options which result in UCX being compiled with multiple threads support. One implicit when OpenMPI 3.x is used, MPI_THREAD_MULTIPLE is enabled by default, and one explicit for OpenMPI <= 2.x, MPI_THREAD_MULTIPLE is disabled by default.
2. Extends UCX package to allow "Enable thread support in UCP and UCT" option.
3. Adds sha256 sums of UCX releases 1.6.1 and 1.2.0.
More details:
Fixes the issue with OpenMPI where programs which use MPI_THREAD_MULTIPLE will fail to execute because UCP worker didn't support it.
During the OpenMPI package installation it's the +thread_multiple spec was not propagated to UCX nor UCX handled it at all.
Now, the OpenMPI package is capable of handling +thread_multiple spec when UCX is request and the UCX package correctly handles +thread_multiple and compiles with the --enable-mt option.
Error message during runtime:
pml_ucx.c:226 Error: UCP worker does not support MPI_THREAD_MULTIPLE
* Adapts check of specs to read better and is the suggested form in the docs.
* Explicitly disables multithreading of UCX if +thread_multiple option is not used.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions