Skip to content

Commit 829c536

Browse files
Merge pull request #1321 from WillFantom/main
Update ACfL and ArmPL install guides for 24.10 releases
2 parents 6b719b0 + 789c593 commit 829c536

File tree

2 files changed

+38
-31
lines changed

2 files changed

+38
-31
lines changed

content/install-guides/acfl.md

Lines changed: 24 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -101,11 +101,11 @@ Fetch the `ACfL` installers:
101101
#### Ubuntu Linux:
102102

103103
```bash { target="ubuntu:latest" }
104-
wget https://developer.arm.com/-/cdn-downloads/permalink/Arm-Compiler-for-Linux/Version_24.04/arm-compiler-for-linux_24.04_Ubuntu-22.04_aarch64.tar
104+
wget https://developer.arm.com/-/cdn-downloads/permalink/Arm-Compiler-for-Linux/Version_24.10/arm-compiler-for-linux_24.10_Ubuntu-22.04_aarch64.tar
105105
```
106106
#### Red Hat Linux:
107107
```bash { target="fedora:latest" }
108-
wget https://developer.arm.com/-/cdn-downloads/permalink/Arm-Compiler-for-Linux/Version_24.04/arm-compiler-for-linux_24.04_RHEL-8_aarch64.tar
108+
wget https://developer.arm.com/-/cdn-downloads/permalink/Arm-Compiler-for-Linux/Version_24.10/arm-compiler-for-linux_24.10_RHEL-9_aarch64.tar
109109
```
110110

111111
### Install
@@ -118,20 +118,27 @@ Each command sequence includes accepting the license agreement to automate the i
118118

119119
```bash { target="ubuntu:latest", env="DEBIAN_FRONTEND=noninteractive" }
120120
sudo -E apt-get -y install environment-modules python3 libc6-dev
121-
tar -xvf arm-compiler-for-linux_24.04_Ubuntu-22.04_aarch64.tar
122-
cd ./arm-compiler-for-linux_24.04_Ubuntu-22.04
123-
sudo ./arm-compiler-for-linux_24.04_Ubuntu-22.04.sh --accept
121+
tar -xvf arm-compiler-for-linux_24.10_Ubuntu-22.04_aarch64.tar
122+
cd ./arm-compiler-for-linux_24.10_Ubuntu-22.04
123+
sudo ./arm-compiler-for-linux_24.10_Ubuntu-22.04.sh --accept
124124
```
125125

126126
#### Red Hat Linux:
127127

128128
```bash { target="fedora:latest" }
129129
sudo yum -y install environment-modules python3 glibc-devel
130-
tar -xvf arm-compiler-for-linux_24.04_RHEL-8_aarch64.tar
131-
cd arm-compiler-for-linux_24.04_RHEL-8
132-
sudo ./arm-compiler-for-linux_24.04_RHEL-8.sh --accept
130+
tar -xvf arm-compiler-for-linux_24.10_RHEL-9_aarch64.tar
131+
cd arm-compiler-for-linux_24.10_RHEL-9
132+
sudo ./arm-compiler-for-linux_24.10_RHEL-9.sh --accept
133133
```
134134

135+
⚠️ **Compatability with Non-ACfL GCC:** On RPM based (Red Hat) systems, if an
136+
alternative version of GCC (not the GCC bundled with ACfL) is installed
137+
**after** ACfL, you will not be able to uninstall ACfL fully. For example, a GDB
138+
(GNU Project Debugger) installation will install the native system GCC. If this
139+
install takes place **after** ACfL, you will no longer be able to fully
140+
uninstall ACfL.
141+
135142
### Set up environment
136143

137144
`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.
@@ -163,13 +170,13 @@ module avail
163170
To configure Arm Compiler for Linux:
164171

165172
```bash { env_source="~/.bashrc" }
166-
module load acfl/24.04
173+
module load acfl/24.10
167174
```
168175

169176
To configure GCC:
170177

171178
```bash { env_source="~/.bashrc" }
172-
module load gnu/13.2.0
179+
module load gnu/14.2.0
173180
```
174181
`ACfL` is now [ready to use](#armclang).
175182

@@ -181,7 +188,7 @@ See the [Arm Compiler for Linux and Arm PL now available in Spack](https://commu
181188

182189
### Setup Spack
183190

184-
Clone the `Spack` repostitory and add `bin` directory to the path:
191+
Clone the `Spack` repository and add `bin` directory to the path:
185192

186193
```console
187194
git clone -c feature.manyFiles=true https://github.com/spack/spack.git
@@ -226,7 +233,7 @@ spack compiler find
226233
To get started with the Arm C/C++ Compiler and compile a simple application follow the steps below.
227234

228235
Check that the correct compiler version is being used:
229-
```bash { env_source="~/.bashrc", pre_cmd="module load acfl/24.04" }
236+
```bash { env_source="~/.bashrc", pre_cmd="module load acfl/24.10" }
230237
armclang --version
231238
```
232239

@@ -244,13 +251,13 @@ int main()
244251

245252
Build the application with:
246253

247-
```console { env_source="~/.bashrc", pre_cmd="module load acfl/24.04" }
254+
```console { env_source="~/.bashrc", pre_cmd="module load acfl/24.10" }
248255
armclang hello.c -o hello
249256
```
250257

251258
Run the application with:
252259

253-
```bash { env_source="~/.bashrc", pre_cmd="module load acfl/24.04" }
260+
```bash { env_source="~/.bashrc", pre_cmd="module load acfl/24.10" }
254261
./hello
255262
```
256263

@@ -264,7 +271,7 @@ Hello, C World!
264271
To get started with the Arm Fortran Compiler and compile a simple application follow the steps below.
265272

266273
Check that the correct compiler version is being used:
267-
```bash { env_source="~/.bashrc", pre_cmd="module load acfl/24.04" }
274+
```bash { env_source="~/.bashrc", pre_cmd="module load acfl/24.10" }
268275
armflang --version
269276
```
270277

@@ -278,12 +285,12 @@ end program hello
278285
```
279286

280287
Build the application with:
281-
```bash { env_source="~/.bashrc", pre_cmd="module load acfl/24.04" }
288+
```bash { env_source="~/.bashrc", pre_cmd="module load acfl/24.10" }
282289
armflang hello.f90 -o hello
283290
```
284291

285292
Run the application with:
286-
```bash { env_source="~/.bashrc", pre_cmd="module load acfl/24.04" }
293+
```bash { env_source="~/.bashrc", pre_cmd="module load acfl/24.10" }
287294
./hello
288295
```
289296

content/install-guides/armpl.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -70,28 +70,28 @@ For more information refer to [Get started with Arm Performance Libraries](https
7070

7171
In a terminal, run the command shown below to download the macOS package:
7272
```console
73-
wget https://developer.arm.com/-/media/Files/downloads/hpc/arm-performance-libraries/24-04/macos/arm-performance-libraries_24.04_macOS.tgz
73+
wget https://developer.arm.com/-/media/Files/downloads/hpc/arm-performance-libraries/24-10/macos/arm-performance-libraries_24.10_macOS.tgz
7474
```
7575

7676
Use tar to extract the file:
7777
```console
78-
tar zxvf arm-performance-libraries_24.04_macOS.tgz
78+
tar zxvf arm-performance-libraries_24.10_macOS.tgz
7979
```
8080

8181
Output of above command:
8282
```console
83-
armpl_24.04_flang-new_clang_18.dmg
83+
armpl_24.10_flang-new_clang_19.dmg
8484
```
8585

8686
Mount the disk image by running from a terminal:
8787
```console
88-
hdiutil attach armpl_24.04_flang-new_clang_18.dmg
88+
hdiutil attach armpl_24.10_flang-new_clang_19.dmg
8989
```
9090

9191
Now run the installation script as a superuser:
9292

9393
```console
94-
/Volumes/armpl_24.04_flang-new_clang_18_installer/armpl_24.04_flang-new_clang_18_install.sh -y
94+
/Volumes/armpl_24.10_flang-new_clang_19_installer/armpl_24.10_flang-new_clang_19_install.sh -y
9595
```
9696

9797
Using this command you automatically accept the End User License Agreement and the packages are installed to the `/opt/arm` directory. If you want to change the installation directory location use the `--install_dir` option with the script and provide the desired directory location.
@@ -103,33 +103,33 @@ For more information refer to [Get started with Arm Performance Libraries](https
103103

104104
## Linux {#linux}
105105

106-
Arm Performance Libraries are supported on most Linux Distributions like Ubuntu, RHEL, SLES and Amazon Linux on an `AArch64` host and compatible with various versions of GCC and NVHPC. The GCC compatible releases are built with GCC 13 and tested with GCC versions 7 to 13. The NVHPC compatible releases are built and tested with NVHPC 24.1.
106+
Arm Performance Libraries are supported on most Linux Distributions like Ubuntu, RHEL, SLES and Amazon Linux on an `AArch64` host and compatible with various versions of GCC and NVHPC. The GCC compatible releases are built with GCC 14 and tested with GCC versions 7 to 14. The NVHPC compatible releases are built and tested with NVHPC 24.7.
107107

108108
[Download](https://developer.arm.com/downloads/-/arm-performance-libraries) the appropriate package for your Linux distribution. The deb based installers can be used on Ubuntu 20 and Ubuntu 22. The RPM based installers can be used on the following supported distributions:
109109

110110
- Amazon Linux 2, Amazon Linux 2023
111-
- RHEL-7, RHEL-8, RHEL-9
112-
- SLES-15
111+
- RHEL-8, RHEL-9
112+
- SLES-15 Service Packs 5 and 6
113113

114114
The instructions shown below are for deb based installers for GCC users.
115115

116116
In a terminal, run the command shown below to download the debian package:
117117

118118
```console
119-
wget https://developer.arm.com/-/media/Files/downloads/hpc/arm-performance-libraries/24-04/linux/arm-performance-libraries_24.04_deb_gcc.tar
119+
wget https://developer.arm.com/-/media/Files/downloads/hpc/arm-performance-libraries/24-10/linux/arm-performance-libraries_24.10_deb_gcc.tar
120120
```
121121

122122
Use `tar` to extract the file and then change directory:
123123

124124
```console
125-
tar -xf arm-performance-libraries_24.04_deb_gcc.tar
126-
cd arm-performance-libraries_24.04_deb/
125+
tar -xf arm-performance-libraries_24.10_deb_gcc.tar
126+
cd arm-performance-libraries_24.10_deb/
127127
```
128128

129129
Run the installation script as a super user:
130130

131131
```console
132-
sudo ./arm-performance-libraries_24.04_deb.sh --accept
132+
sudo ./arm-performance-libraries_24.10_deb.sh --accept
133133
```
134134

135135
Using the `--accept` switch you automatically accept the End User License Agreement and the packages are installed to the `/opt/arm` directory.
@@ -165,13 +165,13 @@ module avail
165165
The output should be similar to:
166166

167167
```output
168-
armpl/24.04.0_gcc
168+
armpl/24.10.0_gcc
169169
```
170170

171171
Load the appropriate module:
172172

173173
```console
174-
module load armpl/24.04.0_gcc
174+
module load armpl/24.10.0_gcc
175175
```
176176

177177
You can now compile and test the examples included in the `/opt/arm/<armpl_dir>/examples/`, or `<install_dir>/<armpl_dir>/examples/` directory, if you have installed to a different location than the default.

0 commit comments

Comments
 (0)