I am running into issues installing Elmer/Ice on my MacBook Pro using homebrew. I am following the steps listed under "Installation and compilation of Elmer on OSX using homebrew" on the Elmer website. After I run the code,
$ brew tap elmercsc/homebrew-elmerfem
$ brew install elmer --HEAD --with-elmerice
I get the following error:
==> Downloading http://mumps.enseeiht.fr/MUMPS_5.1.2.tar.gz
where it gets stuck for a long time and then I eventually get the error message below.
==> Downloading http://mumps.enseeiht.fr/MUMPS_5.1.2.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 75005 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 75003 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 75003 ms: Operation timed out
Error: elmer: Failed to download resource "mumps"
Download failed: http://mumps.enseeiht.fr/MUMPS_5.1.2.tar.gz
It seems to be an issue with downloading MUMPS from the website http://mumps.enseeiht.fr. So I downloaded MUMPS another way. However, when I run the code above it still gets stuck looking on this website.
I tried using homebrew without MUMPS by running
$ brew tap elmercsc/homebrew-elmerfem
$ brew install elmer --HEAD --with-elmerice --without-mumps
but this returns the following error.
Last 15 lines from /Users/amyjenson/Library/Logs/Homebrew/elmer/01.g++:
-DCMAKE_INSTALL_PREFIX=/opt/homebrew/Cellar/elmer/HEAD-59aee74
-DWITH_Hypre:BOOL=TRUE
-DWITH_ElmerIce:BOOL=TRUE
-DWITH_MPI:BOOL=TRUE
-DBLAS_LIBRARIES:STRING=/opt/homebrew/opt/openblas/lib/libopenblas.dylib;-lpthread
-DLAPACK_LIBRARIES:STRING=/opt/homebrew/opt/openblas/lib/libopenblas.dylib;-lpthread
-DCMAKE_INSTALL_PREFIX=/opt/homebrew/Cellar/elmer/HEAD-59aee74
-DCMAKE_INSTALL_LIBDIR=lib
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_FIND_FRAMEWORK=LAST
-DCMAKE_VERBOSE_MAKEFILE=ON
-Wno-dev
-DBUILD_TESTING=OFF
-DCMAKE_OSX_SYSROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk
Do not report this issue to Homebrew/brew or Homebrew/core!
These open issues may also help:
Umfpack problem while compiling Elmer with homebrew https://github.com/ElmerCSC/homebrew-elmerfem/issues/2
Elmer build error on 10.11.6 https://github.com/ElmerCSC/homebrew-elmerfem/issues/6
Unable to install elmer on Mac by using brew https://github.com/ElmerCSC/homebrew-elmerfem/issues/1
Elmer Failed To Brew on OSX 10.13.6 https://github.com/ElmerCSC/homebrew-elmerfem/issues/12
Elmer failed to build on OS 10.12.6 https://github.com/ElmerCSC/homebrew-elmerfem/issues/8
Elmer failed to build on OS 10.12.1 https://github.com/ElmerCSC/homebrew-elmerfem/issues/5
Please create pull requests instead of asking for help on Homebrew's GitHub,
Twitter or any other official channels.
I could try installing Elmer/Ice using Virtual Box as described on the webpage, but I would rather not have to do this. Any help would be appreciated!
Issues with Installation on Mac
-
- Posts: 2237
- Joined: 25 Jan 2019, 01:28
- Antispam: Yes
Re: Issues with Installation on Mac
I am having issues installing Elmer/Ice, not Elmer. Although I have tried downloading Elmer first and ran into other issues.
I ended up just downloading Elmer/Ice using docker.
I ended up just downloading Elmer/Ice using docker.