Error building with hypre 2.24.0 #2977
-
Hello, I am trying to build the cuda parallel version. The packages are mfem-4-3 hypre-2.24.0 metis-5.1.0.
Looks like some re-naming issues, and there were too many of them. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
also, I wonder if there is a tutorial on how can I build mfem as an external library that I can used for my own project? is it enough for me to just in include libmfem.a and the header files? |
Beta Was this translation helpful? Give feedback.
-
Hi @BBBBBbruce, With hypre v2.24.0 you should use the newer mfem v4.4. Regarding using mfem from your project: if you use GNU make, you can include the file |
Beta Was this translation helpful? Give feedback.
Hi @BBBBBbruce,
With hypre v2.24.0 you should use the newer mfem v4.4.
Regarding using mfem from your project: if you use GNU make, you can include the file
config.mk
(from the directoryconfig/
in the build-tree or from the directoryshare/mfem/
in the install tree) -- this file provides a number of useful definitions (MFEM_*
) that you can use to build with mfem; for example, see how the makefile in theexamples/
directory use that file. If you are using CMake you can use the fileMFEMConfig.cmake
exported by mfem (in the root directory in the build-tree or in the directorylib/cmake/mfem/
in the install tree); for example, see how the CMake file in GLVis uses the MFEM exported CMake file: