Skip to content

[package list]

amd

License information

The amd module is completely implemented through the included EasyConfig file and hence covered by the GNU General Public License version 3.0 under which the LUMI-EasyBuild-contrib repository is licensed. See the LICENSE file in that repository.

User documentation

The amd/X.Y.Z modules are provided by the LUMI User Support Team to enable users who need a more recent version of ROCm that the official HPE Cray module. As this is not a vendor-supplied module, it might not work as expected all the time.

To use this module, use the following commands:

module load PrgEnv-amd
module load amd/X.Y.Z

After loading these two modules, the Cray compiler wrapper (cc, CC and ftn) will use amdclang, amdclang++ and amdflang from ROCm X.Y.Z as the backend compilers.

To compile HIP code, you can use hipcc or CC with the -xhip compilation flag. Note that in the latter case, in order to have the HIP runtime library automatically linked, you need to load the corresponding rocm module.

module load rocm/X.Y.Z

The 6.4.4 module is specifically meant to be used in 25.09 and the 7.0.3 one in 26.03 and provide full compatibility with the PrgEnv-amd modules in those stacks, as they really want to load an amd module and not just a rocm module.

For some rocm modules, there is no matching amd module. Those are meant to be used as a replacement for the regular rocm module for a toolchains. For those, it is sufficient to load the rocm/X.Y.Z module after loading the PrgEnv-amd module (or cpeAMD in the LUMI stacks). The necessary environment variables for the compiler wrappers are already defined in the rocm/X.Y.Z module.

Pre-installed modules (and EasyConfigs)

To access module help and find out for which stacks and partitions the module is installed, use module spider amd/<version>.

EasyConfig:

Technical documentation

Easybuild

amd 5.6.1

The EasyConfig is used to create a pkgconfig file and a module to mimic the official HPE Cray amd compiler module.

amd 6.4.4 for 25.09

  • EasyConfig to set some environment variables needed by the compiler wrappers and as such replacing a Cray one as one was missing for this ROCm version after the January 2026 system update (as the default version of ROCm was 6.3.4 at that time while 25.09 is made for ROCm 6.4).

amd 7.0.3 for 26.03

  • EasyConfig to set some environment variables needed by the compiler wrappers and as such replacing a Cray one as one was missing for this ROCm version after the January 2026 system update (as the default version of ROCm was 6.3.4 at that time while 26.03 is made for ROCm 7.0).

  • A direct port of the one for 6.4.4 for 25.09.