Replies: 2 comments 2 replies
-
Did you try installing the binary package from MSYS2? If that works for you, the examples can be built to link with that installation. For example, you can try building make CONFIG_MK=<path-to-mfem-install-dir>/share/mfem/config.mk ex0p The If you prefer to build MFEM yourself, the first steps will be to build the hypre and metis dependencies (if you want MPI-enabled build; in serial, MFEM can be built without any dependencies). Can you post the build commands you used for hypre and metis, and what are the errors you got? |
Beta Was this translation helpful? Give feedback.
-
We have a set of patches for Metis 5.1.0 that we apply in CI testing on Windows with vcpkg -- see MSYS2 also has a set of patches for Metis that you can try, see https://github.com/msys2/MINGW-packages/tree/master/mingw-w64-metis -- these are probably more appropriate for building under MSYS2. |
Beta Was this translation helpful? Give feedback.
-
What is the preffered way to build mfem on windows?
I have tried to use msys2. To do this I have tried to install all the dependencies of the mfem package located here:
https://packages.msys2.org/package/mingw-w64-ucrt-x86_64-mfem?repo=ucrt64
Then when I go to build mfem, I get the following error:
I have also tried following the documentation online but I get stuck building both Hypre and Metis in the msys2 terminal. Are there compiler version constraints that I need to adhere to?
Beta Was this translation helpful? Give feedback.
All reactions