Describe the bug
When building Likwid with ROCm support, the function static int lua_likwid_getRocmSupported(lua_State *L) is defined twice in luawid.c, namely on lines 3036 and 3700.
v5.3.0, downloaded tar.gz from releases and extracted with tar -xf v5.3.0.tar.gz
OS: 5.14.21-150400.24.81_12.0.75-cray_shasta_c
Uses OpenMP
No Cuda.
Not using marker API
To Reproduce with a LIKWID command
Please supply the output of the command with -V 3 added to the command:
Cannot run commands because build fails
Please supply the output of the command with -d added to the command line:
Cannot run command because build fails
Additional context
I am running on a supercomputer with the Cray environment.
Not sure if this impacts anything, but ROCM_HOME is not set by default after loading the rocm module for example.
Describe the bug When building Likwid with ROCm support, the function
static int lua_likwid_getRocmSupported(lua_State *L)
is defined twice inluawid.c
, namely on lines 3036 and 3700.To Reproduce
true
inconfig.mk
export ROCM_HOME=/opt/rocm
make
tar -xf v5.3.0.tar.gz
To Reproduce with a LIKWID command Please supply the output of the command with
-V 3
added to the command:Please supply the output of the command with
-d
added to the command line:Additional context I am running on a supercomputer with the Cray environment. Not sure if this impacts anything, but
ROCM_HOME
is not set by default after loading therocm
module for example.