系列文章目录:超算HPC

部署oneapi Base版本


文章目录

  • 系列文章目录:超算HPC
  • 前言
  • 一、offline脚本获取
  • 二、开始部署
    • 2.1 查看help
    • 2.2 开始部署
    • 2.3 module模块生成
  • 三、总结

前言

记录一下部署oneapi HPC版本的部署过程。
本次部署使用的是offline的方式,使用的是silent模式
我的操作系统版本是centos7.6


一、offline脚本获取

直接从官网上获获取offline的安装脚本,offline的安装模式是最合适的。

官网地址
链接: https://www.intel.com/content/www/us/en/developer/tools/oneapi/hpc-toolkit-download.html

在服务器上使用wget下载安装脚本

wget https://registrationcenter-download.intel.com/akdlm/irc_nas/18679/l_HPCKit_p_2022.3.0.8751_offline.sh

注:
上面的命令不要直接复制,一定要到官网上获取最新的下载链接。新的版本出来之后,旧的链接是无法下载的。
当时wget下载的时候一直提示403,使用网页直接下载才成功的。使用阿里云的虚拟机下载也可以成功下载下来。应该还是服务器网络的限制问题。


二、开始部署

2.1 查看help

sh l_HPCKit_p_2022.3.0.8751_offline.sh --help
Intel® oneAPI HPC Toolkit 2022.3 2022 1.0 packageUsage: l_HPCKit_p_2022.3.0.8751_offline.sh [options] [-a <arguments>]Options:-h, --help - Show this help.-f, --extract-folder - Set extraction folder where content of package will be saved.-s, --silent - Run without printing.-x, --extract-only - This option unpacks the installation package only.  It does not launch the installer.-r, --remove-extracted-files <yes|no> - Remove extracted files after installation.  This action cleans up the temporary file location.-l, --log <log file> - Log all actions to the specified file.-a <arguments>.Arguments:--action - Supported in silent/CLI mode. Specify one of the supported values below when the installer action is needed:install (default)    Install the product. Use the --components option tospecify the list of components to be installed. If notspecified, the default set of components is installed.remove               Uninstall the product.modify               Change the current set of components installed. List all thecomponents you need using the --components option.Components that are already installed still must be in the list ifremain relevant.downloadonly         Download an offline installation package without installing it. Tocustomize the list of components to be included into a package,use the --components option.repair               Repair the currently installed product.-c, --cli - Run the installer in interactive text-based user interface (TUI) mode.--components - Supported in silent mode. Specify components to perform an action on, supported values: all, default, custom components split by ':'. If you need the default components and some extra component(s), combine 'default' with the name of the extra component(s) separated by ':'. Example: --components default:<component_name>.--config - Supported in silent/CLI mode. Point to the configuration INI file with options. You can use this file as an alternative to passing options via the command line; mixed approach is also supported. Sample content of a configuration file: s=eula=accept Use this command to run the installer with the options passed via config.txt: sh ./l_[Toolkit Name]Kit_[version].sh -a --config config.txt--download-cache - Supported in silent mode. Point to the directory where to store all downloaded and cached files.--download-dir - Supported in silent mode. Customize the download directory, which is used in download-only mode.--eula - Supported in silent mode. Required. Accept or decline End User License Agreement (EULA), supported values: accept or decline (default).-h, --help - Show the installer help.--ignore-errors - Ignore errors during installation.--install-dir - Supported in silent mode. Customize the installation directory.--instance - Installation instance identifier--intel-sw-improvement-program-consent - Supported in silent mode. Accept or decline participation in Intel Software Improvement Program, supported values: accept or decline (default). To get the program description, use the --show-intel-sw-improvement-program-consent command.--list-components - Get the list of available components of the current package or of a product specified with --product-id.--list-instances - Get the list of available installation instances.--list-products - Get the list of downloaded products, their IDs, versions and  statuses (installed/not installed).--log-dir - Supported in silent/CLI mode. Customize the directory to save the log file to.--package-path - Supported in silent/CLI mode. Specify the directory of the package to install.--product-id - Supported in silent/CLI mode. Specify an ID of a product to perform an action on. Use this option with --list-components or --action {install|remove|modify|repair}.--product-lang - Active product language--product-ver - Supported in silent/CLI mode. Specify a product version to perform an action on. Use this option with --list-components or --action {install|remove|modify|repair}.-p, --property - Supported in silent/CLI mode. Pass additional custom options. See below for details and examples.--proxy - Supported in silent/CLI mode. Specify proxy settings in the following format: http://username:password@proxy-server.mycorp.com:3128.--show-intel-sw-improvement-program-consent - Show the detailed description of the Intel Software Improvement Program.-s, --silent - Run the installer in non-interactive (silent) mode.If option requires a value, both space and '=' can be used as a delimiter.Custom options:Custom options are supported as values for the '-p' or '--property' option. For example, the string '-p=option1=value -p option2=value' will give two additional options. In case a custom option is provided twice with different values, only the latest one is used. For example, the string '-p=option=a -p=option=b' will give 'b' as a value for 'option'.IDE integration options:Integration into the following IDEs can be configured via custom options given the IDEs are supported in the product:Eclipse*.To select integration into a user-provided Eclipse instance, set the following options: -p=EclipseSource=custom -p=EclipsePath=<path-to-eclipse-executable>To select integration into the Eclipse instance provided within the installation package (if any), pass: -p=EclipseSource=embeddedIf no option is passed (default behavior), integration is set to the Eclipse instance provided within the installation package, or skipped if there is no the embedded instance.Pass command line arguments: all arguments after '-a' switch will be passed as
command line arguments into install.sh (option for launch executable).
Includes any argument which install.sh supports.To show the installer help, use the following command: l_HPCKit_p_2022.3.0.8751_offline.sh -a -h
To show the installer available products, use the following command: l_HPCKit_p_2022.3.0.8751_offline.sh -a --list-products
To run the installer in GUI mode, use the following command: l_HPCKit_p_2022.3.0.8751_offline.sh
To run the installer in CLI mode, use the following command: l_HPCKit_p_2022.3.0.8751_offline.sh -a -c
To run the installer in silent mode, use the following command: l_HPCKit_p_2022.3.0.8751_offline.sh -a -s --eula accept

2.2 开始部署

参数选择:

  • 安装模式:-a -s --eula accept
  • 安装路径:--install-dir /HPC/software/oneapi/2022.3.0.8751
#创建部署路径
mkdir -p /HPC/software/oneapi/2022.3.0.8751
#开始部署
sh l_HPCKit_p_2022.3.0.8751_offline.sh -a -s --eula accept  --action install  --install-dir /HPC/software/oneapi/2022.3.0.8751
#等待部署完毕即可

2.3 module模块生成

进入安装路径,使用modulefiles-setup.sh脚本生成module环境配置

mkdir /HPC/software/modules/modulefiles/oneapi/
cd /HPC/software/oneapi/2022.3.0.8751
sh modulefiles-setup.sh --output-dir=/HPC/software/modules/modulefiles/oneapi/2022.3.0.8751

生成完毕后,使用module ava命令获取环境信息

[root@test-python3 home]# module ava
------------------------------------------------------------------------------------ /HPC/software/modules/modulefiles ------------------------------------------------------------------------------------
dot                                          oneapi/2022.3.0.8751/compiler-rt32/latest    oneapi/2022.3.0.8751/icc/latest            oneapi/2022.3.0.8751/mpi/latest
module-git                                   oneapi/2022.3.0.8751/compiler/2022.2.0       oneapi/2022.3.0.8751/icc32/2022.2.0        oneapi/2022.3.0.8751/oclfpga/2022.2.0
module-info                                  oneapi/2022.3.0.8751/compiler/latest         oneapi/2022.3.0.8751/icc32/latest          oneapi/2022.3.0.8751/oclfpga/latest
modules                                      oneapi/2022.3.0.8751/compiler32/2022.2.0     oneapi/2022.3.0.8751/init_opencl/2022.2.0  oneapi/2022.3.0.8751/tbb/2021.7.0
null                                         oneapi/2022.3.0.8751/compiler32/latest       oneapi/2022.3.0.8751/init_opencl/latest    oneapi/2022.3.0.8751/tbb/latest
oneapi/2022.3.0.8751/clck/2021.7.0           oneapi/2022.3.0.8751/debugger/2021.7.0       oneapi/2022.3.0.8751/inspector/2022.3.0    oneapi/2022.3.0.8751/tbb32/2021.7.0
oneapi/2022.3.0.8751/clck/latest             oneapi/2022.3.0.8751/debugger/latest         oneapi/2022.3.0.8751/inspector/latest      oneapi/2022.3.0.8751/tbb32/latest
oneapi/2022.3.0.8751/compiler-rt/2022.2.0    oneapi/2022.3.0.8751/dev-utilities/2021.7.0  oneapi/2022.3.0.8751/itac/2021.7.0         python/Python3.7.2
oneapi/2022.3.0.8751/compiler-rt/latest      oneapi/2022.3.0.8751/dev-utilities/latest    oneapi/2022.3.0.8751/itac/latest           use.own
oneapi/2022.3.0.8751/compiler-rt32/2022.2.0  oneapi/2022.3.0.8751/icc/2022.2.0            oneapi/2022.3.0.8751/mpi/2021.7.0 

三、总结

主要有两个坎:
第一个是脚本的下载,需要灵活转变一下。
第二个是安装模式的选择,slient模式是最适合非桌面操作系统的

部署oneapi HPC版本相关推荐

  1. Intel® oneAPI Base Toolkit+Intel® oneAPI HPC Toolkit安装教程+环境变量设置

    安装过程主要参考:https://blog.csdn.net/qq_40180414/article/details/114540317 环境变量过程主要参考:https://blog.csdn.ne ...

  2. 内网环境部署zabbix5.0版本监控(一)

    内网环境部署zabbix5.0版本 首先需要在有网的环境先做一个yum源本地配置zabbix5.0.mysql5.7.epel源 Zabbix: rpm -Uvh https://repo.zabbi ...

  3. Intel® oneAPI Base Toolkit+Intel® oneAPI HPC Toolkit安装教程

    Intel® oneAPI Base Toolkit+Intel® oneAPI HPC Toolkit安装教程 1.写在前面 2.工具包地址 3.Base Toolkit 4.HPC Toolkit ...

  4. Fate单机部署(主机版本)

    Fate单机部署(主机版本) 1.常用网址 2.环境配置 3.主机单机部署核心 4.部署流程 4.1 基本配置 4.2 检查端口 4.3 获取资源并部署 4.4 测试 4.4.1 单元测试 4.4.2 ...

  5. CentOS7环境部署kubenetes1.12版本五部曲之四:安装dashboard

    本文是<CentOS7环境部署kubenetes1.12版本五部曲>系列的第四篇,前面的实站已经搭建了kubernetes1.12集群,操作都是在控制台用kubectl命令来完成的,今天咱 ...

  6. activereportsjs无限制部署,activereportsjs3.x版本

    activereportsjs无限制部署,activereportsjs3.x版本 ActiveReportsJS 是一种用于在前端应用程序中可视化数据的报告解决方案.自定义报表布局并将报表设计器和查 ...

  7. lnmp部署Ansible部署zabbix6.0版本

    目录标题 lnmp 架构 准备工作 部署nginx 部署 mysql 部署 PHP 使用Ansible 部署 zabbix6.0版本 准备工作 ansible 操作 配置关闭防火墙跟SElinux的p ...

  8. 局域网环境、多机部署Fabric2.x版本(RAFT共识算法)+ 通道创建

    文章目录 多机部署Fabric2.x(RAFT)版本 fabric局域网多机链管理目录 环境 准备工作 配置文件准备 部署fabric网络 创建通道 多机部署Fabric2.x(RAFT)版本 fab ...

  9. 【已解决】如何使用Intel® oneAPI HPC Toolkit中的Fortran编译器ifort?

    [解决]如何使用Intel® oneAPI HPC Toolkit中的Fortran编译器ifort? 在官网的说明中找到了解决方法: 需要配置环境变量: 输入指令vi .bashrc 在其中加入一行 ...

最新文章

  1. 手动绑定数据到DatList并实现编辑,删除,取消···
  2. Telnet初试(本地测试)
  3. DOM(三)——创建删除元素及优化(文档片段)
  4. 设置tableview的滚动范围--iOS开发系列---项目中成长的知识三
  5. SAP License:FICO重要概念(一)
  6. web 端JS取得window 的按键动作(按下Shift, Alt,Ctrl....)
  7. 连麦互动技术及其连麦调研
  8. [NOIP2015] 运输计划(第二弹)
  9. 三星老手机com.android,你认识几个?细数三星最经典的手机
  10. InputFilter 和 TextWatcher
  11. matlab qpsk调制 函数,MATLAB_QPSK调制与解调
  12. C语言(二)C语言程序结构及简单的C程序举例
  13. matlab 拟合平方根,matlab拟合工具箱cftool及其统计指标公式计算
  14. python scrapy框架爬虫_python爬虫之scrapy框架介绍
  15. 机械设计二级减速器设计
  16. python几种矩阵重组降维方式对比
  17. 搞深度学习需掌握的基础数学知识
  18. Pytorch note
  19. 苦涩又难理解的IO<2>
  20. 旅行时,如何通过树莓派和iPad Pro备份图片

热门文章

  1. scau 17967 大师姐唱K的固有结界
  2. 从百度音乐和酷狗音乐的分类想到的
  3. 读Densely Connected Pyramid Dehazing Network
  4. DPK750针式打印机驱动,750u.dll下载
  5. 一步步实现一个城市选择器
  6. matlab 矩阵位移法编程 结构力学,matlab 矩阵位移法编程 结构力学.doc
  7. 每个业务部门都是一个利润中心,人力资源管理部门也不例外
  8. Linux下查看压缩文件内容的 10 种方法
  9. 谷歌云应用欲来,风满楼
  10. java开源工作流的特点介绍