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/5.6.1 module is 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/5.6.1

After loading these two modules, the Cray compiler wrapper (cc, CC and ftn) will use amdclang, amdclang++ and amdflang from ROCm 5.6.1 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/5.6.1

We do not provide a similar module for rocm/5.4.6. Instead, it is sufficient to load the rocm/5.4.6 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/5.4.6 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.