Turn off warning that openfabric is not available
authorAlastair McKinstry <mckinstry@debian.org>
Wed, 20 Jan 2021 17:22:18 +0000 (17:22 +0000)
committerAlastair McKinstry <mckinstry@debian.org>
Wed, 20 Jan 2021 17:22:18 +0000 (17:22 +0000)
Last-Updated: 2021-01-21
Forwarded: not-needed

because it breaks some overlying layers/appications in Debian.
Also exclude openfabric/openib by default.

Gbp-Pq: Name no-warning-unused.patch

opal/etc/openmpi-mca-params.conf

index 09c1ac300b49f4a505bc60e766d9c046b1a3d343..118296b34ba17b5715aa6c431448862b5bc1992e 100644 (file)
 
 # See "ompi_info --param all all --level 9" for a full listing of Open
 # MPI MCA parameters available and their default values.
+
+# Silence this warning on Debian, as many systems don't have openfabric
+# but the warning breaks higher layers or application
+btl_base_warn_component_unused=0
+# Avoid openib an in case applications use fork: see https://github.com/ofiwg/libfabric/issues/6332
+# If you wish to use openib and know your application is safe, remove the following:
+# Similarly for UCX: https://github.com/open-mpi/ompi/issues/8367
+btl = ^uct,openib,ofi
+pml = ^ucx
+osc = ^ucx,pt2pt
\ No newline at end of file