File: no-warning-unused.patch

package info (click to toggle)
openmpi 5.0.9-2
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 202,076 kB
  • sloc: ansic: 614,605; makefile: 42,348; sh: 11,201; javascript: 9,244; f90: 7,052; java: 6,404; perl: 5,192; python: 1,862; lex: 740; fortran: 61; cpp: 20; tcl: 12
file content (25 lines) | stat: -rw-r--r-- 1,007 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Description: Turn off warning that openfabric is not available
 because it breaks some overlying layers/appications in Debian.
 Also exclude openfabric/openib by default.
 See: #979041, #1094805
 Updated to allow UCX
Author: Alastair McKinstry <mckinstry@debian.org>
Last-Updated: 2025-12-05
Forwarded: not-needed

--- a/opal/etc/openmpi-mca-params.conf
+++ b/opal/etc/openmpi-mca-params.conf
@@ -57,3 +57,13 @@
 
 # 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
+mtl = ^ofi
+btl = ^openib,ofi
+osc = ^pt2pt