Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1 from JuliaOpt/bl/quiet
Browse files Browse the repository at this point in the history
Remove 'Entering DMUMPS driver' messages
  • Loading branch information
juan-pablo-vielma committed Jun 3, 2019
2 parents b5d4b0d + 6fa2f11 commit a3834fa
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build_tarballs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,15 @@ 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
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
Expand Down
20 changes: 20 additions & 0 deletions bundled/patches/quiet.diff
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit a3834fa

Please sign in to comment.