ARPACK采用Arnoldi算法求解大型稀疏矩阵特征值。本文拟记录在Windows下编译安装ARPACK的流程。
零、环境
操作系统 | Windows 10 |
集成开发环境 | Visual Studio 2019 Community |
CMake | 3.24.2 |
Intel oneAPI BaseKit | w_BaseKit_p_2023.1.0.47256_offline |
Intel oneAPI HPCKit | w_HPCKit_p_2023.1.0.46357_offline |
一、依赖项
1.1 Intel oneAPI
由于oneAPI HPCKit依赖于oneAPI BaseKit,因此,需要首先下载安装oneAPI BaseKit,然后再安装oneAPI HPCKit。
二、编译安装
2.1 下载ARPACK
git clone https://github.com/opencollab/arpack-ng.git
git checkout -b arpack-3.9.0 3.9.0
2.2 构建项目
网络资料
ARPACKhttps://github.com/opencollab/arpack-ng
ARPACK User's Guide http://li.mit.edu/Archive/Activities/Archive/CourseWork/Ju_Li/MITCourses/18.335/Doc/ARPACK/Lehoucq97.pdf
Get the Intel® oneAPI Base Toolkithttps://www.intel.com/content/www/us/en/developer/tools/oneapi/base-toolkit-download.htmlGet the Intel® oneAPI HPC Toolkithttps://www.intel.com/content/www/us/en/developer/tools/oneapi/hpc-toolkit-download.html