Skip to content

Commit d8aa2c0

Browse files
Merge pull request #1557 from LukeIreland1/publish_obs
Add ACfL 24.10.1 repo install instructions for AL2023 and RHEL-9
2 parents 931a19c + fd8eb17 commit d8aa2c0

File tree

1 file changed

+66
-12
lines changed

1 file changed

+66
-12
lines changed

content/install-guides/acfl.md

Lines changed: 66 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -142,33 +142,87 @@ install takes place **after** ACfL, you will no longer be able to fully
142142
uninstall ACfL.
143143
{{% /notice %}}
144144

145-
## Download and install using System Packages - Ubuntu Linux
145+
## Download and install using System Packages
146+
147+
### Ubuntu Linux 20.04 and 22.04
146148

147149
Arm Compiler for Linux is available to install with the Ubuntu system package manager `apt` command.
148150

149-
### Setup the ACfL package repository:
151+
#### Set up the ACfL package repository
150152

151153
Add the ACfL `apt` package repository to your Ubuntu 20.04 or 22.04 system:
152154

153155
```bash { target="ubuntu:latest" }
154156
sudo apt update
155-
sudo apt install -y curl
156-
source /etc/os-release
157+
sudo apt install -y curl environment-modules python3 libc6-dev
158+
. /etc/os-release
157159
curl "https://developer.arm.com/packages/ACfL%3A${NAME}-${VERSION_ID/%.*/}/${VERSION_CODENAME}/Release.key" | sudo tee /etc/apt/trusted.gpg.d/developer-arm-com.asc
158160
echo "deb https://developer.arm.com/packages/ACfL%3A${NAME}-${VERSION_ID/%.*/}/${VERSION_CODENAME}/ ./" | sudo tee /etc/apt/sources.list.d/developer-arm-com.list
159161
sudo apt update
160162
```
161163

162164
The ACfL Ubuntu package repository is now ready to use.
163165

164-
### Install ACfL
166+
#### Install ACfL
165167

166168
Download and install Arm Compiler for Linux with:
167169

168170
```bash { target="ubuntu:latest" }
169171
sudo apt install acfl
170172
```
171173

174+
### Amazon Linux 2023
175+
176+
Arm Compiler for Linux is available to install with either the `dnf` or `yum` system package manager.
177+
178+
#### Install ACfL from the Amazon Linux 2023 package repository
179+
180+
Install ACfL and prerequisites from the Amazon Linux 2023 `rpm` package repository with `dnf`:
181+
182+
```bash
183+
sudo dnf update
184+
sudo dnf install 'dnf-command(config-manager)' procps psmisc make environment-modules
185+
sudo dnf config-manager --add-repo https://developer.arm.com/packages/ACfL%3AAmazonLinux-2023/latest/ACfL%3AAmazonLinux-2023.repo
186+
sudo dnf install acfl
187+
```
188+
189+
Or using the equivalent `yum` commands:
190+
191+
```bash
192+
sudo yum update
193+
sudo yum install 'dnf-command(config-manager)' procps psmisc make environment-modules
194+
sudo yum config-manager --add-repo https://developer.arm.com/packages/ACfL%3AAmazonLinux-2023/latest/ACfL%3AAmazonLinux-2023.repo
195+
sudo yum install acfl
196+
```
197+
198+
The ACfL tools are now ready to use.
199+
200+
### Red Hat Enterprise Linux (RHEL) 9
201+
202+
Arm Compiler for Linux is available to install with either the `dnf` or `yum` system package manager.
203+
204+
#### Install ACfL from the RHEL 9 package repository
205+
206+
Install ACfL and prerequisites from the RHEL 9 `rpm` package repository with `dnf`:
207+
208+
```bash
209+
sudo dnf update
210+
sudo dnf install 'dnf-command(config-manager)' procps psmisc make environment-modules
211+
sudo dnf config-manager --add-repo https://developer.arm.com/packages/ACfL%3ARHEL-9/standard/ACfL%3ARHEL-9.repo
212+
sudo dnf install acfl
213+
```
214+
215+
Or using the equivalent `yum` commands:
216+
217+
```bash
218+
sudo yum update
219+
sudo yum install 'dnf-command(config-manager)' procps psmisc make environment-modules
220+
sudo yum config-manager --add-repo https://developer.arm.com/packages/ACfL%3ARHEL-9/standard/ACfL%3ARHEL-9.repo
221+
sudo yum install acfl
222+
```
223+
224+
The ACfL tools are now ready to use.
225+
172226
### Set up environment
173227

174228
Arm Compiler for Linux uses environment modules to dynamically modify your user environment. Refer to the [Environment Modules documentation](https://lmod.readthedocs.io/en/latest/#id) for more information.
@@ -178,17 +232,17 @@ Set up the environment, for example, in your `.bashrc` and add module files.
178232
#### Ubuntu Linux:
179233

180234
```bash { target="ubuntu:latest" }
181-
echo "source /usr/share/modules/init/bash" >> ~/.bashrc
235+
echo ". /usr/share/modules/init/bash" >> ~/.bashrc
182236
echo "module use /opt/arm/modulefiles" >> ~/.bashrc
183-
source ~/.bashrc
237+
. ~/.bashrc
184238
```
185239

186-
#### Red Hat Linux:
240+
#### Red Hat or Amazon Linux:
187241

188242
```bash { target="fedora:latest" }
189-
echo "source /usr/share/Modules/init/bash" >> ~/.bashrc
243+
echo ". /usr/share/Modules/init/bash" >> ~/.bashrc
190244
echo "module use /opt/arm/modulefiles" >> ~/.bashrc
191-
source ~/.bashrc
245+
. ~/.bashrc
192246
```
193247

194248
To list available modules:
@@ -217,7 +271,7 @@ Arm Compiler for Linux is available with the [Spack](https://spack.io/) package
217271

218272
See the [Arm Compiler for Linux and Arm PL now available in Spack](https://community.arm.com/arm-community-blogs/b/high-performance-computing-blog/posts/arm-compiler-for-linux-and-arm-pl-now-available-in-spack) blog for full details.
219273

220-
### Setup Spack
274+
### Set up Spack
221275

222276
Clone the Spack repository and add `bin` directory to the path:
223277

@@ -248,7 +302,7 @@ If you wish to install just the Arm Performance Libraries, use:
248302
spack install armpl-gcc
249303
```
250304

251-
### Setup environment
305+
### Set up environment
252306
Use the commands below to set up the environment:
253307

254308
```console

0 commit comments

Comments
 (0)