-
Hello, Here is what I am trying to accomplish : Here is what I did :
-- The following features have been disabled:
When I try to build using the command "cmake --build build" in "Intel oneAPI command prompt for Intel 64 for Visual Studio", I encountered an error saying that my pthread.h file could not be found so I downloaded "pthread-win32-master" and I created an include directory in pthread where I put my .h files and in the cmakelists.txt file of mumps I added this line : include_directories(C:/Users/XXXX/MFEM_Windows/mfem-4.5-new/pthread-win32-master/include) I successfully builded mumps but blocked at the tests where I get error messages for all 4 tests saying : I have not been able to solve this error message. I have tried to add these lines in the cmakelists.txt of the test directory : Could you help me please ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I found my mistake: I used cmake gui for the configure and generate steps while what should be done is : "cmake -G Ninja -B buildTT -DBUILD_SINGLE=yes -DBUILD_DOUBLE=yes -DBUILD_COMPLEX=yes -DBUILD_COMPLEX16=yes -Dparallel=no -Dintsize64=yes -Dgemmt=no" in the intel prompt. However I have difficulties linking mumps and mfem. I am not sure if mfem can handle mumps serial. Do you have any advice on how to use mumps serial with mfem in visual studio 2022 on windows 11 ? |
Beta Was this translation helpful? Give feedback.
I found my mistake: I used cmake gui for the configure and generate steps while what should be done is : "cmake -G Ninja -B buildTT -DBUILD_SINGLE=yes -DBUILD_DOUBLE=yes -DBUILD_COMPLEX=yes -DBUILD_COMPLEX16=yes -Dparallel=no -Dintsize64=yes -Dgemmt=no" in the intel prompt.
However I have difficulties linking mumps and mfem. I am not sure if mfem can handle mumps serial. Do you have any advice on how to use mumps serial with mfem in visual studio 2022 on windows 11 ?