guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/04: gnu: openmpi: Silence UCX warnings when running tests.


From: guix-commits
Subject: 02/04: gnu: openmpi: Silence UCX warnings when running tests.
Date: Sat, 16 Nov 2019 11:43:58 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit b1077c2234c47902990a6d27f471fd6b23a2df06
Author: Ludovic Courtès <address@hidden>
Date:   Sat Nov 16 17:19:17 2019 +0100

    gnu: openmpi: Silence UCX warnings when running tests.
    
    * gnu/packages/mpi.scm (%openmpi-setup): Set "UCX_LOG_LEVEL".
---
 gnu/packages/mpi.scm | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/gnu/packages/mpi.scm b/gnu/packages/mpi.scm
index 41655a4..f51e03a 100644
--- a/gnu/packages/mpi.scm
+++ b/gnu/packages/mpi.scm
@@ -342,6 +342,15 @@ only provides @code{MPI_THREAD_FUNNELED}.")))
      ;; Allow oversubscription in case there are less physical cores available
      ;; in the build environment than the package wants while testing.
      (setenv "OMPI_MCA_rmaps_base_mapping_policy" "core:OVERSUBSCRIBE")
+
+     ;; UCX sometimes outputs uninteresting warnings such as:
+     ;;
+     ;;   mpool.c:38   UCX  WARN  object 0x7ffff44fffc0 was not returned to 
mpool ucp_am_bufs
+     ;;
+     ;; These in turn leads to failures of test suites that capture and
+     ;; compare stdout, such as that of 'hdf5-parallel-openmpi'.  Thus, tell
+     ;; UCX to not emit those warnings.
+     (setenv "UCX_LOG_LEVEL" "error")
      #t))
 
 (define-public intel-mpi-benchmarks



reply via email to

[Prev in Thread] Current Thread [Next in Thread]