-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to install elmer on Mac by using brew #1
Comments
Can you run "brew install" command with "--verbose" flag and locate the exact place where the error happens? |
I post log by your suggestion that contains its first and last part without meaningless "make" part. Please check out my log.==> Installing elmer from elmercsc/homebrew-elmerfem If you like the default optimization level of your compiler, ignore this If you like the default optimization level of your compiler, ignore this If you like the default optimization level of your compiler, ignore this If you like the default optimization level of your compiler, ignore this If you like the default optimization level of your compiler, ignore this -- BLAS library: /usr/local/opt/openblas/lib/libopenblas.dylib;-lpthread -- Fortran compiler: /usr/local/bin/gfortran -- C compiler: /usr/local/opt/gcc/bin/gcc-5 -- CXX compiler: /usr/local/opt/gcc/bin/g++-5 -- MPI Fortran: TRUE -- MPI C: TRUE -- Mumps: TRUE -- Hypre: TRUE -- Package filename: elmerfem-8.0--20150812_Darwin-x86_64 [ 67%] Linking C static library libumfpack.a Error: elmercsc/elmerfem/elmer 8.0 did not build |
The problem is not necessarily with umfpack. Please check out https://git.io/brew-troubleshooting. |
Could you run |
According to the gist, Elmer was succesfully installed. Are you able to run ElmerSolver (or ElmerSolver_mpi)? |
Firstly, thanks a bunch for your kindly concerning. As you mentioned above, ElmerSolver and ElmerGrid work fine, and modules for elmer are identified at path of '/usr/local/Cellar/elmer/HEAD/bin' containing ElmerGrid, ElmerSolver_mpi, Mesh2D, elmerf90, matc, ElmerSolver, GebhardtFactors, ViewFactors and elmerld. However, ElmerGUI what I really need, is not appeared. When I type 'brew info elmer' on my terminal, dependencies and options what you made up by ruby script or something are appearing. Right? I think these options with the flag '--with--', ElmerGUI, ElmerIce, OpenMP and paraview, are not working yet. Besides, funny thing is that paraview is installed successfully at the path of '/usr/local/Cellar/paraview/4.2.0' because 'brew install paraview' returns the message of 'already installed', but it is not worked by the command 'paraview' on the terminal. Anyway, let me know how to install ElmerGUI by using Homebrew. Please show me your kindness and gentleness once more. |
Thanks for testing the Elmer homebrew installation! Apparently, |
YES! the reinstall command is working! Eventually, the elmer installation including all modules is completed on my Mac. Although 'sip' and 'pyqt' should have installed in advance, the several issues for the newbie has been overcome by your kind advice. Thank you again. |
Yes, I too installed Elmer then used the brew reinstall elmer --with-elmergui --HEAD --with-elmerice command to install on ElmerGUI OS X 10.11.3. Seems to work fine so far. Really happy with homebrew!! |
From the last post, it seems everyone compile elmer on mac fine via brew. However, I am having some problem... Does anyone have similar issue with arpack or and mpi_gather? I attach the log here. All the dependences are installed. Thanks. https://gist.github.com/dingzeyuli/87c98b53fbcb27b1342eea98dcfe9d39 |
Alright, FWIW, I am actually interested in ElmerSolver and ElmerGUI, not ElmerICE. After I disable the ICE part, the compilation works well. This is the command that I used. MacOS 10.11.5.
|
Yes. I think so too. In my case, I could't install ElmerIce and ElmerPost 2016-06-22 22:15 GMT+09:00 Dingzeyu Li notifications@github.com:
KeeSeung Oh, Multi-Scale Noise and Vibration (MSNV) Laboratory 206 Worldcup-ro, Yeongtong-gu, Suwon, 5 San, Republic of Korea |
Hi, I tried to install elmer with $ brew install elmer --with-elmergui --HEAD --with-elmerice --verbose But building failed: /usr/local/opt/gcc/bin/gcc-7. CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage One strange thing to me is that the script looks for gcc-7 and g++-7 which don't exist. What could I do to get elmer installed? I appreciate your help! I did a fresh install of homebrew. However building and installing elmer failed with the same gcc compiler issue. The script is still looking for version gcc-7 which does not exist. Btw gcc was installed as a dependency of elmer during the process. Any idea how to solve this? |
Any progress on this ? |
@luzpaz sadly the support for Elmer has been pretty bad lately. I have tried different methods, with or without HomeBrew, to install or even compile the software on macOS with no avail so far. The only viable option at the moment is the precompiled binaries provided by Iikka Virkkunen ------> here. |
it seems that 2nd link you posted in your comment is 404
|
please check Elmer's YouTube channel. there are updates regarding macOS installation. |
Not works, macos Ventura on intel |
I was thinking my problems caused by GCC or umfpack(suite-sparse), so those package were updated and linked properly by my terminal work. However, I still cannot install Elmer fem on my mac..
My terminal failure log is the following:
==> Installing elmer from elmercsc/homebrew-elmerfem
==> Using Homebrew-provided fortran compiler.
This may be changed by setting the FC environment variable.
==> Building with an alternative Fortran compiler
This is unsupported.
Warning: No Fortran optimization information was provided. You may want to consider
setting FCFLAGS and FFLAGS or pass the
--default-fortran-flags
option tobrew install
if your compiler is compatible with GCC.If you like the default optimization level of your compiler, ignore this
warning.
==> Building with an alternative Fortran compiler
This is unsupported.
Warning: No Fortran optimization information was provided. You may want to consider
setting FCFLAGS and FFLAGS or pass the
--default-fortran-flags
option tobrew install
if your compiler is compatible with GCC.If you like the default optimization level of your compiler, ignore this
warning.
==> Building with an alternative Fortran compiler
This is unsupported.
Warning: No Fortran optimization information was provided. You may want to consider
setting FCFLAGS and FFLAGS or pass the
--default-fortran-flags
option tobrew install
if your compiler is compatible with GCC.If you like the default optimization level of your compiler, ignore this
warning.
==> Building with an alternative Fortran compiler
This is unsupported.
Warning: No Fortran optimization information was provided. You may want to consider
setting FCFLAGS and FFLAGS or pass the
--default-fortran-flags
option tobrew install
if your compiler is compatible with GCC.If you like the default optimization level of your compiler, ignore this
warning.
==> Building with an alternative Fortran compiler
This is unsupported.
Warning: No Fortran optimization information was provided. You may want to consider
setting FCFLAGS and FFLAGS or pass the
--default-fortran-flags
option tobrew install
if your compiler is compatible with GCC.If you like the default optimization level of your compiler, ignore this
warning.
==> Cloning https://github.com/ElmerCSC/elmerfem.git
Updating /Library/Caches/Homebrew/elmer--git
==> Checking out branch devel
==> cmake ../ -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/elmer/HEAD -DWITH_Hypre:BOOL=TRUE -DWITH_Mump
==> make
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libumfpack.a(umf_dl_dump.c.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libumfpack.a(umf_zi_dump.c.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libumfpack.a(umf_zl_dump.c.o) has no symbols
[ 69%] Built target umfpack
make: *** [all] Error 2
READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
https://github.com/elmercsc/homebrew-elmerfem/issues
The text was updated successfully, but these errors were encountered: