Arm Performance Libraries - Amazon ParallelCluster
Amazon Web Services 文档中描述的 Amazon Web Services 服务或功能可能因区域而异。要查看适用于中国区域的差异,请参阅 中国的 Amazon Web Services 服务入门 (PDF)

本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。

Arm Performance Libraries

从 Amazon ParallelCluster 版本 2.10.1 开始,Arm 性能库在 Amazon ParallelCluster AMI 上可用alinux2centos8ubuntu1804、和该设置的ubuntu2004值。base_osArm Performance Libraries 为 Arm 处理器上的高性能计算应用程序提供优化的标准核心数学库。要使用 Arm Performance Libraries,您必须确认并接受 Arm Performance Libraries(免费版)- 最终用户许可协议的条款。有关 Arm Performance Libraries 的更多信息,请参阅免费 Arm Performance Libraries

要启用 Arm Performance Libraries,必须先加载 Arm Performance Libraries 模块。作为一项要求,Armpl-21.0.0 需要 GCC-9.3,当加载 armpl/21.0.0 模块时,也会加载 gcc/9.3 模块。模块的确切名称随每次更新发生变化。要查看哪些模块可用,请运行 module avail。然后,需要使用 module load armpl 安装最新版本。输出如下所示。

$ module avail ------------------------------- /usr/share/Modules/modulefiles -------------------------------- armpl/21.0.0 dot libfabric-aws/1.11.1amzn1.0 module-git module-info modules null openmpi/4.1.0 use.own

要加载模块,请运行 module load modulename。您可以将其添加到用于运行 mpirun 的脚本中。

$ module load armpl Use of the free of charge version of Arm Performance Libraries is subject to the terms and conditions of the Arm Performance Libraries (free version) - End User License Agreement (EULA). A copy of the EULA can be found in the '/opt/arm/armpl/21.0.0/arm-performance-libraries_21.0_gcc-9.3/license_terms' folder

要查看加载了哪些模块,请运行 module list

$ module list Currently Loaded Modulefiles: 1) /opt/arm/armpl/21.0.0/modulefiles/armpl/gcc-9.3 2) /opt/arm/armpl/21.0.0/modulefiles/armpl/21.0.0_gcc-9.3 3) armpl/21.0.0

要验证是否已启用 Arm Performance Libraries,请运行示例测试。

$ sudo chmod 777 /opt/arm/armpl/21.0.0/armpl_21.0_gcc-9.3/examples $ cd /opt/arm/armpl/21.0.0/armpl_21.0_gcc-9.3/examples $ make ... Testing: no example difference files were generated. Test passed OK

加载 Arm Performance Libraries 模块后,将会更改多个路径以使用 Arm Performance Libraries 工具。要运行由 Arm Performance Libraries 工具编译的代码,请先加载 Arm Performance Libraries 模块。

注意

Amazon ParallelCluster 2.10.1 和 2.10.4 之间的版本使用。armpl/20.2.1