-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
Elmer Mac installation issues #94
Comments
I'm not sure what error you are seeing. The options you seem to want from MUMPS are cmake -Dparallel=on -DBUILD_SINGLE=off -DBUILD_DOUBLE=on -Dmetis=true -DCMAKE_INSTALL_PREFIX=~/mumps -B build Then doing cmake --build build
cmake --install build results in numerous files installed under ~/mumps
|
ElmerFEM seems to have a custom FindMUMPS that may be overriding the CMake package install from this project. I also think you should try -DMUMPS_ROOT=~/mumps instead of In short, if you can tell me more of what errors you see when trying to build MUMPS itself. IF(WITH_Mumps)
find_package(MUMPS CONFIG)
if(NOT MUMPS_FOUND)
FIND_PACKAGE(Mumps REQUIRED)
endif()
ENDIF() |
Hi,Thank you for the information. I’ll give it a try!Thanks again,BareaSent from my iPhoneOn 26 Aug 2024, at 09:48, scivision ***@***.***> wrote:
ElmerFEM seems to have a custom FindMUMPS that may be overriding the CMake package install from this project. I also think you should try
-DMUMPS_ROOT=~/mumps
instead of -DMUMPSROOT as that might not be what CMake expects.
In short, if you can tell me more of what errors you see when trying to build MUMPS itself.
And, I think ElmerFEM might want to not override this packages MUMPS CMake.
In the ElmerFEM CMakeLists.txt they might want to update like
IF(WITH_Mumps)
find_package(MUMPS CONFIG)
if(NOT MUMPS_FOUND)
FIND_PACKAGE(Mumps REQUIRED)
endif()
ENDIF()
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Yes I've made a pull request over at Elmer FEM. Their cmake project as it was would not possibly work with regular packages. Like mumps. There were a number of mistakes that I'm working with them to correct in the Elmerfem cmake script |
here are the errors I get(when running cmake -DWITH_ELMERGUI:BOOL=TRUE -DWITH_MPI:BOOL=TRUE -DWITH_LUA: BOOL=TRUE -DWITH_Mumps :BOOL=TRUE - -DMUMPS_ROOT= -- Looking for Fortran sgemm |
also I get this warning:CMake Warning: ":BOOL=TRUE" |
Hi I'm trying to install Elmer using mpi, but I'm having issues. I've been following the directions here:https://www.youtube.com/watch?v=h7PswPM9qtk&t=93s, and everything is fine. until I get to: cmake -DWITH_ELMERGUI:BOOL=TRUE -DWITH_MPI:BOOL=TRUE -DWITH_LUA:BOOL=TRUE -DWITH_Mumps:BOOL=TRUE -DMUMPSROOT=../mumps -DCMAKE_INSTALL_PREFIX=../install ../elmerfem- as I get an error message saying:Finding Mumps
CMake Error at cmake/Modules/FindMumps.cmake:149 (MESSAGE):
Mumps library not found.
Call Stack (most recent call first):
CMakeLists.txt:407 (FIND_PACKAGE).
Also when running -cmake -Dparallel=true -Darith=d -Dmetis=true -B build- I have to run it twice before it can compile without errors. Can anyone help me with this? Thanks.(I'm on an Intel Mac)
The text was updated successfully, but these errors were encountered: