Modulefile 21.5 on aarch64 points to x86_64

Module files use Linux_x86_64 though they are provided by the nvhpc-21-5-21.5-1.aarch64 package built for aarch64

$ grep -R 'set target' /opt/nvidia/hpc_sdk/modulefiles            
/opt/nvidia/hpc_sdk/modulefiles/nvhpc/21.5:set target Linux_x86_64
/opt/nvidia/hpc_sdk/modulefiles/nvhpc-byo-compiler/21.5:set target Linux_x86_64
/opt/nvidia/hpc_sdk/modulefiles/nvhpc-nompi/21.5:set target Linux_x86_64
$ rpm -qf /opt/nvidia/hpc_sdk/modulefiles/nvhpc/21.5
nvhpc-21-5-21.5-1.aarch64

Hello Gilles,

This appears to be a bug in our RPM generation process for non-x86_64 platforms - including aarch64.

I have opened TPR#30316 on this issue internally. We will aim to get it fixed for the next release.

In the meantime, you can hand-edit the modulefiles for 21.5 to point to the aarch64 directories, rather than x86_64.

Very sorry for the inconvenience.

Best regards,

+chris

Correction - the TPR tracking this issue is TPR#30258.

This issue has been fixed. Please pull the latest NVIDIA HPC SDK package and give it a try. Thanks!