Note Book : LAPACK Install On Windows10

Opencv에서 CUDA를 활성화 할 때 필요합니다.

It isn't work anaconda ninja and fortran.exe, clang-cl.exe.
This lapack is ver 3.9.

looks like this setting.
cmake..^
-G"닌자"^
-DCMAKE_C_COMPILER=C:/Users/admin/anaconda3/Library/bin/clang.exe ^
-DCMAKE_Fortran_COMPILER=C:/Users/admin/anaconda3/Library/bin/flang.exe ^

If use msys64 is OK.
cmake .. -G "MSYS Makefiles"-DCMAKE_C_COMPILER=gcc -DCMAKE_Fortran_COMPILER=gfortran

환경
・windows 10
・cpu ryzen 3700x
· gpu ncvidia-rtx3900

software
· msys64
・cmake
・git
· opencv-4.5.0
· 개미 1.8.2
・open-jdk-15
・cuda 11
・visual studio 2019

cmd.exe
cd C:/tools/src/lapack
git clone https://github.com/Reference-LAPACK/lapack.git
cd lapack
mkdir build
cd build
cmake .. -G "MSYS Makefiles" -DCMAKE_C_COMPILER=gcc -DCMAKE_Fortran_COMPILER=gfortran -DUSE_OPTIMIZED_BLAS=ON -DUSE_OPTIMIZED_LAPACK=ON -DCMAKE_INSTALL_LIBDIR=/tools/opt/lapack .. 
cmake --build . --config Release  --target install

cmake



cmake --build . --config Release --target install -j 8

좋은 웹페이지 즐겨찾기