From 6fa2f11b0cea54df7945f24ed39552e921b8ceca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Legat?= Date: Mon, 3 Jun 2019 16:53:46 +0200 Subject: [PATCH] Remove 'Entering DMUMPS driver' messages --- build_tarballs.jl | 3 ++- bundled/patches/quiet.diff | 20 ++++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 bundled/patches/quiet.diff diff --git a/build_tarballs.jl b/build_tarballs.jl index 2cb4148..663dd97 100755 --- a/build_tarballs.jl +++ b/build_tarballs.jl @@ -9,7 +9,7 @@ version = v"1.6.0" sources = [ "https://github.com/coin-or-tools/ThirdParty-Mumps/archive/releases/1.6.0.tar.gz" => "3f2bb7d13333e85a29cd2dadc78a38bbf469bc3920c4c0933a90b7d8b8dc798a", - + "./bundled" ] # Bash recipe for building across all platforms @@ -17,6 +17,7 @@ script = raw""" cd $WORKSPACE/srcdir cd ThirdParty-Mumps-releases-1.6.0/ ./get.Mumps +patch -p1 < $WORKSPACE/srcdir/patches/quiet.diff update_configure_scripts # temporary fix for path in ${LD_LIBRARY_PATH//:/ }; do diff --git a/bundled/patches/quiet.diff b/bundled/patches/quiet.diff new file mode 100644 index 0000000..299311a --- /dev/null +++ b/bundled/patches/quiet.diff @@ -0,0 +1,20 @@ +index af0b62a..55e372e 100644 +--- a/MUMPS/src/dmumps_part1.F ++++ b/MUMPS/src/dmumps_part1.F +@@ -104,16 +104,6 @@ C matrix in assembled format (ICNTL(5)=0, and ICNTL(18) $\neq$ 3), + MPG = id%ICNTL(3) + PROK = ((MP.GT.0).AND.(id%ICNTL(4).GE.3)) + PROKG = ( MPG .GT. 0 .and. id%MYID .eq. MASTER ) +- IF (PROKG) THEN +- IF (id%ICNTL(5) .NE. 1) THEN +- WRITE(MPG,'(A,I4,I12,I15)') +- & 'Entering DMUMPS driver with JOB, N, NZ =', JOB,N,NZ +- ELSE +- WRITE(MPG,'(A,I4,I12,I15)') +- & 'Entering DMUMPS driver with JOB, N, NELT =', JOB,N +- & ,NELT +- ENDIF +- ENDIF + ELSE + MPG = 0 + PROK = .FALSE.