Dear all,
Thanks for providing the useful cmake files to help build mumps in Windows. I noticed that the cmake files can download necessary source code automatically. But after I download the whole project here and try to build mumps by cmake, it displayed the following error messages:
`Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19044.
The C compiler identification is MSVC 19.29.30146.0
The Fortran compiler identification is Intel 19.1.3.20201010
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
Detecting C compile features
Detecting C compile features - done
Detecting Fortran compiler ABI info
Detecting Fortran compiler ABI info - done
Determine Intel Fortran Compiler Implicit Link Path
Determine Intel Fortran Compiler Implicit Link Path - done
Check for working Fortran compiler: C:/Program Files (x86)/IntelSWTools/compilers_and_libraries_2020/windows/bin/intel64/ifort.exe - skipped
MUMPS 5.5.1.8 CMake 3.24.0-rc2 Toolchain
checking that C and Fortran compilers can link
checking that C and Fortran compilers can link - OK
Performing Test CMAKE_HAVE_LIBC_PTHREAD
Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
Looking for pthread_create in pthreads
Looking for pthread_create in pthreads - not found
Looking for pthread_create in pthread
Looking for pthread_create in pthread - not found
Check if compiler accepts -pthread
Check if compiler accepts -pthread - no
Found Threads: TRUE
CMake Error at C:/Program Files/CMake/share/cmake-3.24/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find LAPACK (missing: LAPACK_LIBRARY LAPACK_links)
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.24/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
cmake/FindLAPACK.cmake:483 (find_package_handle_standard_args)
cmake/lapack.cmake:22 (find_package)
CMakeLists.txt:39 (include)
Configuring incomplete, errors occurred!
See also "J:/GitHub/mumps/64bit/CMakeFiles/CMakeOutput.log".
See also "J:/GitHub/mumps/64bit/CMakeFiles/CMakeError.log".`
Is there anything I missed?
I just simply fill the source code path and build path in cmake IDE, and then click 'Configure' button.
Dear all, Thanks for providing the useful cmake files to help build mumps in Windows. I noticed that the cmake files can download necessary source code automatically. But after I download the whole project here and try to build mumps by cmake, it displayed the following error messages:
`Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19044. The C compiler identification is MSVC 19.29.30146.0 The Fortran compiler identification is Intel 19.1.3.20201010 Detecting C compiler ABI info Detecting C compiler ABI info - done Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped Detecting C compile features Detecting C compile features - done Detecting Fortran compiler ABI info Detecting Fortran compiler ABI info - done Determine Intel Fortran Compiler Implicit Link Path Determine Intel Fortran Compiler Implicit Link Path - done Check for working Fortran compiler: C:/Program Files (x86)/IntelSWTools/compilers_and_libraries_2020/windows/bin/intel64/ifort.exe - skipped MUMPS 5.5.1.8 CMake 3.24.0-rc2 Toolchain checking that C and Fortran compilers can link checking that C and Fortran compilers can link - OK Performing Test CMAKE_HAVE_LIBC_PTHREAD Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed Looking for pthread_create in pthreads Looking for pthread_create in pthreads - not found Looking for pthread_create in pthread Looking for pthread_create in pthread - not found Check if compiler accepts -pthread Check if compiler accepts -pthread - no Found Threads: TRUE
CMake Error at C:/Program Files/CMake/share/cmake-3.24/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find LAPACK (missing: LAPACK_LIBRARY LAPACK_links) Call Stack (most recent call first): C:/Program Files/CMake/share/cmake-3.24/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE) cmake/FindLAPACK.cmake:483 (find_package_handle_standard_args) cmake/lapack.cmake:22 (find_package) CMakeLists.txt:39 (include)
Configuring incomplete, errors occurred! See also "J:/GitHub/mumps/64bit/CMakeFiles/CMakeOutput.log". See also "J:/GitHub/mumps/64bit/CMakeFiles/CMakeError.log".`
Is there anything I missed?
I just simply fill the source code path and build path in cmake IDE, and then click 'Configure' button.
Thanks, Tang Laoya