Replies: 6 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 buildThen doing cmake --build build
cmake --install buildresults in numerous files installed under ~/mumps |
Beta Was this translation helpful? Give feedback.
-
|
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=~/mumpsinstead 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() |
Beta Was this translation helpful? Give feedback.
-
|
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: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
|
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 |
Beta Was this translation helpful? Give feedback.
-
|
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 |
Beta Was this translation helpful? Give feedback.
-
|
also I get this warning:CMake Warning: ":BOOL=TRUE" |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
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)
Beta Was this translation helpful? Give feedback.
All reactions