brewsci / homebrew-num

:beer::1234: Homebrew formulae for numerical methods
BSD 2-Clause "Simplified" License
11 stars 12 forks source link

Brew timeout while installing MUMPS #84

Open surelynottrue opened 1 year ago

surelynottrue commented 1 year ago

So I get a timeout when installing brewsci/brewsci-mumps and it tries to connect to http://mumps.enseeiht.fr. I am not sure what is causing this, but maybe the source server for MUMPS is down, and needs to be fixed.

OS: MacOS Ventura 13.0.1 Brew version:

Homebrew 3.6.12
Homebrew/homebrew-core (git revision 96fc626da1d; last commit 2022-11-24)
Homebrew/homebrew-cask (git revision c3bc349f40; last commit 2022-11-24)

Complete log of brew install brewsci-mumps:

==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).

==> Downloading https://ghcr.io/v2/homebrew/core/openblas/manifests/0.3.21
Already downloaded: /Users/s.anupam/Library/Caches/Homebrew/downloads/074ec37db71eabcbf72850c1ab87a877c4d7d7c94bcd9b1fc6d8b3df1c3d79f1--openblas-0.3.21.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/openblas/blobs/sha256:5f2cdcefe
Already downloaded: /Users/s.anupam/Library/Caches/Homebrew/downloads/e29923fe52f3f0806dd2811948a6b6571a15d6763d0ba6a980431f1d6552e477--openblas--0.3.21.arm64_ventura.bottle.tar.gz
==> Downloading https://ghcr.io/v2/homebrew/core/scalapack/manifests/2.2.0_1
Already downloaded: /Users/s.anupam/Library/Caches/Homebrew/downloads/3b332c56e2e000693a71c46ea1c9d211b48675f5a77752905cf616bce2a6e0a6--scalapack-2.2.0_1.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/scalapack/blobs/sha256:29ba1d09
Already downloaded: /Users/s.anupam/Library/Caches/Homebrew/downloads/b5095417f68df1192df7a154d83f2f23cb74ed15734624e9ed7af7dcfce55a28--scalapack--2.2.0_1.arm64_ventura.bottle.tar.gz
==> Downloading https://ghcr.io/v2/homebrew/core/cmake/manifests/3.25.0
Already downloaded: /Users/s.anupam/Library/Caches/Homebrew/downloads/c1142e949b1976641f41a167776fba34b8abc2930766f710c2954c586b6110b7--cmake-3.25.0.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/cmake/blobs/sha256:80c206a6884a
Already downloaded: /Users/s.anupam/Library/Caches/Homebrew/downloads/2d46ada9690dfe69098f3cb246ef639b5711992300a829b47a180d0c865bd172--cmake--3.25.0.arm64_ventura.bottle.tar.gz
==> Downloading http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/metis-5.1.0.tar.
######################################################################## 100.0%
==> Downloading https://raw.githubusercontent.com/Homebrew/patches/f104fbb1e0940
Already downloaded: /Users/s.anupam/Library/Caches/Homebrew/downloads/24086a68bb86c555404a59cab7be7e929db08f7493333ba0e4d3df4b168ec1dc--commit-82409d68.patch
==> Downloading https://raw.githubusercontent.com/Homebrew/patches/f104fbb1e0940
Already downloaded: /Users/s.anupam/Library/Caches/Homebrew/downloads/d2969f0c126bb5814a3918d872d4cce28849a3bdf823a7bac226bb087f4188c8--commit-1c1a9fd0.patch
==> Downloading http://glaros.dtc.umn.edu/gkhome/fetch/sw/parmetis/parmetis-4.0.
######################################################################## 100.0%
==> Downloading https://github.com/dpo/mumps_simple/archive/v0.4.tar.gz
Already downloaded: /Users/s.anupam/Library/Caches/Homebrew/downloads/664ab125362a75b100bebd464dcebbf3e55f344bf9fd9876f506e42d1c3b3074--mumps_simple-0.4.tar.gz
==> Downloading http://mumps.enseeiht.fr/MUMPS_5.3.5.tar.gz
curl: (28) Failed to connect to mumps.enseeiht.fr port 80 after 75013 ms: Operation timed out
Warning: Problem : timeout. Will retry in 1 seconds. 3 retries left.
curl: (28) Failed to connect to mumps.enseeiht.fr port 80 after 75004 ms: Operation timed out
Warning: Problem : timeout. Will retry in 2 seconds. 2 retries left.
curl: (28) Failed to connect to mumps.enseeiht.fr port 80 after 75007 ms: Operation timed out
Warning: Problem : timeout. Will retry in 4 seconds. 1 retries left.
curl: (28) Failed to connect to mumps.enseeiht.fr port 80 after 75010 ms: Operation timed out

Wget results:

--2022-11-24 14:09:47--  (try: 8)  http://mumps.enseeiht.fr/MUMPS_5.3.5.tar.gz
Connecting to mumps.enseeiht.fr (mumps.enseeiht.fr)|147.127.176.144|:80...
dpo commented 1 year ago

Their server has been unreliable for a while. In addition, this tap isn't really maintained any more. You should have more luck with https://github.com/dpo/homebrew-mumps-jl, where the MUMPS formula is more up to date and specifies a mirror.

surelynottrue commented 1 year ago

Same issue:

==> Downloading http://buttari.perso.enseeiht.fr/qr_mumps/releases/qr_mumps-3.0.3.tgz
curl: (28) Failed to connect to buttari.perso.enseeiht.fr port 80 after 75015 ms: Operation timed out
Warning: Problem : timeout. Will retry in 1 seconds. 3 retries left.
curl: (28) Failed to connect to buttari.perso.enseeiht.fr port 80 after 75004 ms: Operation timed out
Warning: Problem : timeout. Will retry in 2 seconds. 2 retries left.
curl: (28) Failed to connect to buttari.perso.enseeiht.fr port 80 after 75004 ms: Operation timed out
Warning: Problem : timeout. Will retry in 4 seconds. 1 retries left.
curl: (28) Failed to connect to buttari.perso.enseeiht.fr port 80 after 75005 ms: Operation timed out

Error: qr_mumps: Failed to download resource "qr_mumps"
Download failed: http://buttari.perso.enseeiht.fr/qr_mumps/releases/qr_mumps-3.0.3.tgz
dpo commented 1 year ago

Is it MUMPS or QR-MUMPS that you're trying to install?

surelynottrue commented 1 year ago

I want to install MUMPS, but it seems like mpich-mumps and qr_mumps are the only two options available.

dpo commented 1 year ago

QR_MUMPS is unrelated to MUMPS ; it's another library.

dpo commented 1 year ago

Are you looking to install parallel MUMPS or sequential MUMPS?

surelynottrue commented 1 year ago

Sequential, as required by https://kwant-project.org/doc/dev/pre/install. mpich-mumps didn't seem to work for this instance. I still have a MUMPS required warning.

dpo commented 1 year ago

This tap only builds MPI MUMPS. For sequential MUMPS, you'll want this tap as soon as I manage to get past an error on Linux: https://github.com/coin-or-tools/homebrew-coinor/pull/83

surelynottrue commented 1 year ago

I see. I have subscribed to that thread, hope it gets merged soon. It will be nice if either the link on the MUMPS website is updated for MacOS or if the changes can also be pushed here. It's really hard to find a brew tap for installation otherwise.