Note Book: LAPACK Install On Windows 10

Required to enable CUDA in Opencv.

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

looks like this setting. cmake .. ^ -G "Ninja" ^ -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

environment ・ Windows 10 ・ Cpu ryzen 3700x ・ Gpu ncvidia-rtx3900

software ・ Msys64 ・ Cmake ・ Git ・ Opencv-4.5.0 ・ Ant 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 .. -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 ..

image.png

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

Recommended Posts

Note Book: LAPACK Install On Windows 10
Note Book: OpenBLAS Install On Windows10
Note Book: VTK Install On Windows10
Note Book: OpenCV with CUDA Install On Windows10
Install Corretto 8 on Windows
Install Docker on Windows 10 PRO
Note: Install PostgreSQL 9.5 on Ubuntu 18.04
Note Book: OpenCV v4.5.0 with Alphamat Install On Windows10 But it need Eigen
Error when npm install on Windows 7
Install Java with zip on Windows
Install Java 9 on windows 10 and CentOS 7
Install imagick on macOS Catalina + php 7.4 Note
Install Realtek network driver on Ubuntu Note
How to install NVIDIA driver on Ubuntu 18.04 (Note)
Install gradle on mac
Install OpenJDK on macOS
Install Java on Mac
Install Golang on CentOS 8
Install Neo4j 4.1.3 on centOS
Install Docker on Manjaro
Install Ruby on Ubuntu 20.04
Install PostgreSQL 12 on Centos8
Install nginx on centOS7
Install lombok on SpringToolSuite4
Install kuromoji on CentOS7
Install Mattermost on CentOS 7
Install PostGIS 2.5.5 on CentOS7
Install jpndistrict on CentOS 7
Install Liferay 7 / DXP (Windows)
Install openjdk11 on mac
Install Homebrew on Ubuntu 20.04
M.S. docker on Windows
Install Redmine 4.1.1 on CentOS 7
Install OpenJDK 8 on mac
Smokeping Install on CentOS7
Install PostgreSQL 13 on CentOS 7.5
Note when pip install mysqlclient cannot be installed on Mac
Note: Install nginx from official repositories with dnf on CentOS 8
Install Docker on Raspberry Pi
Install OpenJDK7 (JAVA) on ubuntu 14.04
Install Cybozu Office 10 on Ubuntu 20.4
Install Docker on Ubuntu Server 20.04
Install Sidekiq pro on Rails
Run openvpn on Docker (windows)
Try Docker on Windows 10 Home
Install zabbix agent (5.0) on Ubuntu 18.04
Install MAV Proxy on Ubuntu 18.04
Manually build OpenJDK on Windows
Install tomcat on Sakura's VPS
Install Java on WSL Ubuntu 18.04
Install Jenkins on Docker's CentOS
Install Ubuntu Desktop 20.10 on RaspberryPi4
Install Apache on CentOS on VirtualBox
Install Arduino IDE on Ubuntu 20.04
Ubuntu on Windows build speed
Install Rails on macOS Catalina
Install raspi-config on Ubuntu 20.04 (LTS)
Install Ruby 2.7 on RHEL 8 (AppStream)
Install docker on AWS EC2
Install Ruby 2.7 on CentOS 7 (SCL)
Install PlantUML on Intellij on Ubuntu