oneAPI资源和安装
1. Introduction
OneAPI旨在提供一个适用于各类计算架构的统一编程模型和应用程序接口。 “OneAPI 提供一个通用、开放的编程体验,让开发者可以自由选择架构,无需在性能上作出妥协,也大大降低了使用不同的代码库、编程语言、编程工具和工作流程所带来的复杂性”。
- 基础工具:构建、分析、优化性能驱动和以数据为中心的应用程序 (Intel® oneAPI Base Toolkit:Download the Intel® oneAPI Base Toolkit)
- 高性能计算工具:提供C++、Fortran、OpenMP和MPI应用程序 (Intel® oneAPI HPC:Download the Intel oneAPI HPC Toolkit)
- 物联网工具:构建在网络边缘运行的高性能、高效、可靠的应用程序 (Intel® oneAPI IoT Toolkit:Download the Intel oneAPI IoT Toolkit)
- 可视化工具:创建高性能、高保真的可视化应用程序 (Intel® oneAPI Rendering Toolkit:Download the Intel oneAPI Rendering Toolkit)
- AI分析工具:为数据科学家、AI开发人员和研究人员提供熟悉的Python工具和框架,以加速 Intel体系结构上的端到端数据科学和分析管道 (Intel® oneAPI AI Analytics Toolkit:Download the Intel® oneAPI AI Analytics Toolkit)
- OpenVINO工具:跨多个 Intel体系结构,拓展了 Intel硬件(包括加速器)的工作负载,最大限度提升性能,为生命科学、零售、工业等多领域带来更多的高效应用 (Intel® Distribution of OpenVINO™ Toolkit:Fast Track Computer Vision & Deep Learning Inference With Intel® Distribution of OpenVINO™ toolkit)
2. 资源
Intel® oneAPI Base Toolkit:Download the Intel® oneAPI Base Toolkit
- Intel® oneAPI Collective Communications Library
- Intel® oneAPI Data Analytics Library
- Intel® oneAPI Deep Neural Networks Library
- Intel® oneAPI DPC++/C++ Compiler
- Intel® oneAPI DPC++ Library
- Intel® oneAPI Math Kernel Library
- Intel® oneAPI Threading Building Blocks
- Intel® oneAPI Video Processing Library
- Intel® Advisor
- Intel® Distribution for GDB*
- Intel® Distribution for Python*
- Intel® DPC++ Compatibility Tool
- Intel® FPGA Add-on for oneAPI Base Toolkit
- Intel® Integrated Performance Primitives
- Intel® VTune™ Profiler
Intel® oneAPI HPC:Download the Intel oneAPI HPC Toolkit
- Intel® oneAPI DPC++/C++ Compiler
- Intel® C++ Compiler Classic
- Intel® Cluster Checker
- Intel® Fortan Compiler (Beta)
- Intel® Fortran Compiler Classic
- Intel® Inspector
- Intel® MPI Library
- Intel® Trace Analyzer and Collector
3. 安装
Linux
What’s Included in the Intel® oneAPI HPC Toolkit for Linux*
- Download size: 794 MB
- Install space required: 4.2 GB
wget https://registrationcenter-download.intel.com/akdlm/irc_nas/17764/l_HPCKit_p_2021.2.0.2997_offline.sh
sudo bash l_HPCKit_p_2021.2.0.2997_offline.sh
- Step 1: From the console, locate the downloaded install file.
- Step 2: Use $ sudo sh ./
.sh to launch the GUI Installer as root. Optionally, use $ sh ./ .sh to launch the GUI Installer as current user. - Step 3: Follow the instructions in the installer.
- Step 4: Explore the Get Started Guide.
环境变量:把setbvars.sh
(setvars.sh的具体路径以自己的为准)添加到~/.bashrc
为:
source /opt/intel/oneapi/setvars.sh intel64
检查结果:
- icc -v
- ifort -v
- mpiicc -v
- mpiifort -v
macOS
What’s Included in the Intel® oneAPI HPC Toolkit for macOS*
- Download size: 176 MB
- Install space required: 2.6 GB
Steps:
- Step 1: Select the disk image (DMG file) that you downloaded.
- Step 2: Select the install icon to start bootstrapper.app.
- Step 3: Follow the instructions in the installer.
- Step 4: Explore the Get Started Guide.
3. 参考
- OneAPI:天下大同 - 知乎
- oneAPI,所见即未来_Intel
- Intel oneAPI 学习笔记之 Centos 下安装 Intel® oneAPI Base Toolkit 和 Intel® oneAPI HPC Toolkit_万古霉素(Vancomycin)的博客-CSDN博客_oneapi安装
- Intel学生许可过期后,安装 Intel® oneAPI Base Toolkit 和 Intel® oneAPI HPC来替代 - 知乎
- oneAPI的测试:Vector-add - 简书
- MacOS Big Sur 使用Intel oneAPI执行c++和fortran编译设置方法 - 简书