blt icon indicating copy to clipboard operation
blt copied to clipboard

Add HIP example, host-config, and tutorial

Open white238 opened this issue 4 years ago • 2 comments

We need working versions of these that can be added to LC's CI.

Tutorial here:

docs/tutorial/common_hpc_dependencies.rst

white238 avatar Apr 09 '21 01:04 white238

Per John Gyllenhaal, there was a system update to corona on 5/12/2021 that requires these flags to properly link and get AMD GPU test to work:

-Wl,--disable-new-dtags -L/opt/rocm-4.1.0/hip/lib -L/opt/rocm-4.1.0/lib -L/opt/rocm-4.1.0/lib64 -Wl,-rpath,/opt/rocm-4.1.0/hip/lib:/opt/rocm-4.1.0/lib:/opt/rocm-4.1.0/lib64 -lamdhip64 -lhsakmt -lhsa-runtime64

white238 avatar May 14 '21 19:05 white238

Specifically, it needs to be what you pasted above for rocm 4.1.0. For rocm 4.0.0, you have to sub 4.0.0 for 4.0.1 in each place. All older versions of rocm have been removed on corona. Yesterday, the old directories were there but were empty. At least those are gone now....

rhornung67 avatar May 14 '21 20:05 rhornung67