You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
make failed while installing rocRAND. I tried installing the package following instructions from here.
The following error has been encountered while running make
[ 85%] Linking CXX shared library libhiprand.so
/opt/rocm-3.3.0/hcc/bin/llc: error: /opt/rocm-3.3.0/hcc/bin/llc: /tmp/tmp.NIbV50p6jg/hiprand_hcc.cpp.e7318d0902a31816a057156d3b2e6fdd.kernel.bc-gfx906.isabin.opt.bc: error: Could not open input file: No such file or directory
Generating AMD GCN kernel failed in llc for target: gfx906
clang-10: error: linker command failed with exit code 1 (use -v to see invocation)
library/CMakeFiles/hiprand.dir/build.make:99: recipe for target 'library/libhiprand.so.1.1' failed
make[2]: *** [library/libhiprand.so.1.1] Error 1
CMakeFiles/Makefile2:257: recipe for target 'library/CMakeFiles/hiprand.dir/all' failed
make[1]: *** [library/CMakeFiles/hiprand.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 92%] Linking CXX executable benchmark_rocrand_generate
/opt/rocm-3.3.0/hcc/bin/clamp-device: line 219: /tmp/tmp.eytZhCk9Ww/benchmark_rocrand_generate.cpp.219832756f3388cfc5fc0906ea98c5aa.kernel.bc-gfx906.isabin.linked.bc: No such file or directory
Generating AMD GCN kernel failed in HCC-specific opt passes for target: gfx906
clang-10: error: linker command failed with exit code 1 (use -v to see invocation)
benchmark/CMakeFiles/benchmark_rocrand_generate.dir/build.make:99: recipe for target 'benchmark/benchmark_rocrand_generate' failed
make[2]: *** [benchmark/benchmark_rocrand_generate] Error 1
akeFiles/Makefile2:351: recipe for target 'benchmark/CMakeFiles/benchmark_rocrand_generate.dir/all' failed
make[1]: *** [benchmark/CMakeFiles/benchmark_rocrand_generate.dir/all] Error 2
[100%] Linking CXX executable benchmark_rocrand_kernel
[100%] Built target benchmark_rocrand_kernel
Makefile:149: recipe for target 'all' failed
To Reproduce
The instructions used to install
git clone https://github.com/ROCmSoftwarePlatform/rocRAND.git
cd rocRAND; mkdir build; cd build
CMAKE_CXX_COMPILER=/opt/rocm/hcc/bin/hcc cmake -DBUILD_BENCHMARK=ON ../.
HCC_AMDGPU_TARGET=gfx906 make -j4
Environment
=== environment
=== date
Mon Apr 13 07:44:19 UTC 2020
=== Linux Kernel
Linux ******************** 4.15.0-96-generic #97~16.04.1-Ubuntu SMP Wed Apr 1 03:03:31 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
=== rocm-smi
========================ROCm System Management Interface========================
================================================================================
GPU Temp AvgPwr SCLK MCLK Fan Perf PwrCap VRAM% GPU%
0 32.0c 18.0W 808Mhz 350Mhz 21.96% auto 250.0W 0% 0%
================================================================================
==============================End of ROCm SMI Log ==============================
HIP version : 3.3.20126-2dbba46b
== hipconfig
HIP_PATH : /opt/rocm/hip
HIP_PLATFORM : hcc
CPP_CONFIG : -D__HIP_PLATFORM_HCC__= -I/opt/rocm/hip/include -I/opt/rocm/hcc/include -I/opt/rocm/hsa/include
== hcc
HSA_PATH : /opt/rocm/hsa
HCC_HOME : /opt/rocm/hcc
HCC clang version 10.0.0 (/data/jenkins-workspace/compute-rocm-rel-3.3/external/hcc-tot/llvm-project/clang 1ce0fe5e88b2124494b9500817b4c2c66bdfa5aa) (based on HCC 3.1.20114-6776c83f-1ce0fe5e88b )
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /opt/rocm/hcc/bin
LLVM (http://llvm.org/):
LLVM version 10.0.0git
Optimized build.
Default target: x86_64-unknown-linux-gnu
Host CPU: skylake
Registered Targets:
amdgcn - AMD GCN GPUs
r600 - AMD GPUs HD2XXX-HD6XXX
x86 - 32-bit X86: Pentium-Pro and above
x86-64 - 64-bit X86: EM64T and AMD64
HCC-cxxflags : -hc -std=c++amp -I/opt/rocm/hcc/includeHCC-ldflags : -hc -std=c++amp -L/opt/rocm/hcc/lib -Wl,--rpath=/opt/rocm/hcc/lib -ldl -lm -lpthread -lhc_am -Wl,--whole-archive -lmcwamp -Wl,--no-whole-archive
=== Environment Variables
PATH=/usr/local/bin:/opt/rocm/hcc/bin:/opt/rocm/hip/bin:/opt/rocm/bin:/opt/rocm/opencl/bin/x86_64:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/rocm/bin:/opt/rocm/profiler/bin:/opt/rocm/opencl/bin/x86_64
LD_LIBRARY_PATH=:/opt/rocm/opencl/lib/x86_64
HIP_PLATFORM=hcc
HIP_PATH=/opt/rocm/hip
HCC_AMDGPU_TARGET=gfx906
HIP_VISIBLE_DEVICES=0
HCC_HOME=/opt/rocm/hcc
== Linux Kernel
Hostname : **************
Linux ******************** 4.15.0-96-generic #97~16.04.1-Ubuntu SMP Wed Apr 1 03:03:31 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
LSB Version: core-9.20160110ubuntu0.2-amd64:core-9.20160110ubuntu0.2-noarch:security-9.20160110ubuntu0.2-amd64:security-9.20160110ubuntu0.2-noarch
Distributor ID: Ubuntu
Description: Ubuntu 16.04.6 LTS
Release: 16.04
Codename: xenial
=== rocminfo
ROCk module is loaded
root is member of video group
=====================
HSA System Attributes
=====================
Runtime Version: 1.1
System Timestamp Freq.: 1000.000000MHz
Sig. Max Wait Duration: 18446744073709551615 (0xFFFFFFFFFFFFFFFF) (timestamp count)
Machine Model: LARGE
System Endianness: LITTLE
==========
HSA Agents
==========
*******
Agent 1
*******
Name: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
Marketing Name: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
Vendor Name: CPU
Feature: None specified
Profile: FULL_PROFILE
Float Round Mode: NEAR
Max Queue Number: 0(0x0)
Queue Min Size: 0(0x0)
Queue Max Size: 0(0x0)
Queue Type: MULTI
Node: 0
Device Type: CPU
Cache Info:
L1: 32768(0x8000) KB
Chip ID: 0(0x0)
Cacheline Size: 64(0x40)
Max Clock Freq. (MHz): 4200
BDFID: 0
Internal Node ID: 0
Compute Unit: 8
SIMDs per CU: 0
Shader Engines: 0
Shader Arrs. per Eng.: 0
WatchPts on Addr. Ranges:1
Features: None
Pool Info:
Pool 1
Segment: GLOBAL; FLAGS: KERNARG, FINE GRAINED
Size: 32877628(0x1f5ac3c) KB
Allocatable: TRUE
Alloc Granule: 4KB
Alloc Alignment: 4KB
Acessible by all: TRUE
Pool 2
Segment: GLOBAL; FLAGS: COARSE GRAINED
Size: 32877628(0x1f5ac3c) KB
Allocatable: TRUE
Alloc Granule: 4KB
Alloc Alignment: 4KB
Acessible by all: TRUE
ISA Info:
N/A
*******
Agent 2
*******
Name: gfx906
Marketing Name: Vega 20
Vendor Name: AMD
Feature: KERNEL_DISPATCH
Profile: BASE_PROFILE
Float Round Mode: NEAR
Max Queue Number: 128(0x80)
Queue Min Size: 4096(0x1000)
Queue Max Size: 131072(0x20000)
Queue Type: MULTI
Node: 1
Device Type: GPU
Cache Info:
L1: 16(0x10) KB
Chip ID: 26287(0x66af)
Cacheline Size: 64(0x40)
Max Clock Freq. (MHz): 1801
BDFID: 768
Internal Node ID: 1
Compute Unit: 60
SIMDs per CU: 4
Shader Engines: 4
Shader Arrs. per Eng.: 1
WatchPts on Addr. Ranges:4
Features: KERNEL_DISPATCH
Fast F16 Operation: FALSE
Wavefront Size: 64(0x40)
Workgroup Max Size: 1024(0x400)
Workgroup Max Size per Dimension:
x 1024(0x400)
y 1024(0x400)
z 1024(0x400)
Max Waves Per CU: 40(0x28)
Max Work-item Per CU: 2560(0xa00)
Grid Max Size: 4294967295(0xffffffff)
Grid Max Size per Dimension:
x 4294967295(0xffffffff)
y 4294967295(0xffffffff)
z 4294967295(0xffffffff)
Max fbarriers/Workgrp: 32
Pool Info:
Pool 1
Segment: GLOBAL; FLAGS: COARSE GRAINED
Size: 16760832(0xffc000) KB
Allocatable: TRUE
Alloc Granule: 4KB
Alloc Alignment: 4KB
Acessible by all: FALSE
Pool 2
Segment: GROUP
Size: 64(0x40) KB
Allocatable: FALSE
Alloc Granule: 0KB
Alloc Alignment: 0KB
Acessible by all: FALSE
ISA Info:
ISA 1
Name: amdgcn-amd-amdhsa--gfx906
Machine Models: HSA_MACHINE_MODEL_LARGE
Profiles: HSA_PROFILE_BASE
Default Rounding Mode: NEAR
Default Rounding Mode: NEAR
Fast f16: TRUE
Workgroup Max Size: 1024(0x400)
Workgroup Max Size per Dimension:
x 1024(0x400)
y 1024(0x400)
z 1024(0x400)
Grid Max Size: 4294967295(0xffffffff)
Grid Max Size per Dimension:
x 4294967295(0xffffffff)
y 4294967295(0xffffffff)
z 4294967295(0xffffffff)
FBarrier Max Size: 32
*** Done ***
=== lspci VGA
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Vega 20 (rev c1)
The text was updated successfully, but these errors were encountered:
Describe the bug
make failed while installing rocRAND. I tried installing the package following instructions from here.
The following error has been encountered while running make
To Reproduce
The instructions used to install
Environment
The text was updated successfully, but these errors were encountered: