![]() ![]() You can install the castor library from source with CMake. Note : on macOS it is recommended to install these dependencies with brew. The last tool to perform installation is CMake, at least version 3.18. The version of VTK library which has been tested is 9.1.0. VecLib : from accelerate framework in MacOS. The BLAS/LAPACK implementation which has been tested are : The castor framework depends on two external dependencies : a BLAS/LAPACK implementation in order to use optimized linear algebra, and VTK for the graphical rendering. MacOS (11 and 12) and Ubuntu (20.04) ¶ Installing the dependencies ¶ Running with debug output on for the `find` commands.ĬMake Error at D:/GITlib/cmake/share/cmake-3.20/Modules/FindPackageHandleStandardArgs.cmake:230 (message):Ĭould NOT find BLAS (missing: BLAS_LIBRARIES)ĭ:/GITlib/cmake/share/cmake-3.20/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)ĭ:/GITlib/cmake/share/cmake-3.20/Modules/FindBLAS.cmake:1045 (find_package_handle_standard_args)ĬMake Debug Log at CMakeLists.txt:42 (FIND_PACKAGE):įind_package considered the following paths for BLAS.cmakeĭ:/GITlib/neml/cmake/Modules/FindBLAS.cmakeĭ:/GITlib/cmake/share/cmake-3.20/Modules/FindBLAS.The simplest way to get the dense matrix part of the framework castor is to download the latest version of header files and include matrix.hpp during the compilation of your c program using the library, see Compilation in the Basics section.įor a complete installation integrating check dependencies and examples compilation, we describe below the procedure. Output below: D:\GITlib\neml>cmake -DCMAKE_CXX_COMPILER=icl.exe -DBLAS_blas_LIBRARY=D:\GITlib\lapack_build\bin\libblas.dll -DLAPACK_lapack_LIBRARY=D:\GITlib\lapack_build\bin\liblapack.dll -debug-find -DBoost_INCLUDE_DIR="D:\GITlib\boost" -DCMAKE_BUILD_TYPE=Release -DUSE_OPENMP=False -G Ninja. I assume you meant putting -debug-find in the cmake command line. The suggestions there were to either add the path to blas.dll in the CMakeLists or add blas.dll location to PATH variable - both tried without success. ![]() I have looked into previous discussions on this, notably one for Win 10 and OpenBlas not being found, but it was not resolved. ĬMake Error at D:/GITlib/cmake/share/cmake-3.20/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find BLAS (missing: BLAS_LIBRARIES) Call Stack (most recent call first): D:/GITlib/cmake/share/cmake-3.20/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE) D:/GITlib/cmake/share/cmake-3.20/Modules/FindBLAS.cmake:1045 (find_package_handle_standard_args) CMakeLists.txt:42 (FIND_PACKAGE) After invoking cmake for this neml library:Ĭmake -DCMAKE_CXX_COMPILER=icl.exe -DBLAS_blas_LIBRARY=D:\GITlib\lapack_build\bin\libblas.dll -DLAPACK_lapack_LIBRARY=D:\GITlib\lapack_build\bin\liblapack.dll -DBoost_INCLUDE_DIR="D:\GITlib\boost" -DCMAKE_BUILD_TYPE=Release -DUSE_OPENMP=False -G Ninja. This is on Windows 10, my cmake version is 3.20.2 and BLAS/LAPACK were installed from the Lapack package 3.9.1. For this package, BLAS and LAPACK are required. I have been trying to use cmake for the build of some libraries from GitHub - Argonne-National-Laboratory/neml: Modular consitutive modeling library for structural materials. ![]()
0 Comments
Leave a Reply. |