Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build system breaks on ROCm 3.8 #3909

Closed
jngrad opened this issue Sep 23, 2020 · 2 comments
Closed

Build system breaks on ROCm 3.8 #3909

jngrad opened this issue Sep 23, 2020 · 2 comments

Comments

@jngrad
Copy link
Member

jngrad commented Sep 23, 2020

cmake .. -DWITH_CUDA=ON -DWITH_CUDA_COMPILER=hip
Can't exec "/opt/rocm-3.8.0/llvm/bin/clang++": No such file or directory at /opt/rocm-3.8.0/hip/bin/hipconfig line 141.
Use of uninitialized value $HIP_CLANG_VERSION in pattern match (m//) at /opt/rocm-3.8.0/hip/bin/hipconfig line 142.
Use of uninitialized value $HIP_CLANG_VERSION in concatenation (.) or string at /opt/rocm-3.8.0/hip/bin/hipconfig line 145.
Can't exec "/opt/rocm-3.8.0/llvm/bin/clang++": No such file or directory at /opt/rocm-3.8.0/hip/bin/hipconfig line 141.
Use of uninitialized value $HIP_CLANG_VERSION in pattern match (m//) at /opt/rocm-3.8.0/hip/bin/hipconfig line 142.
Use of uninitialized value $HIP_CLANG_VERSION in concatenation (.) or string at /opt/rocm-3.8.0/hip/bin/hipconfig line 145.
Can't exec "/opt/rocm-3.8.0/llvm/bin/clang++": No such file or directory at /opt/rocm-3.8.0/hip/bin/hipconfig line 141.
Use of uninitialized value $HIP_CLANG_VERSION in pattern match (m//) at /opt/rocm-3.8.0/hip/bin/hipconfig line 142.
Use of uninitialized value $HIP_CLANG_VERSION in concatenation (.) or string at /opt/rocm-3.8.0/hip/bin/hipconfig line 145.
CMake Error at /tikhome/jgrad/.local/lib/python3.6/site-packages/cmake/data/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:164 (message):
  Could NOT find HIP: Found unsuitable version "0.0.0", but required is at
  least "1.5.18494" (found /opt/rocm-3.8.0/hip)
Call Stack (most recent call first):
  /tikhome/jgrad/.local/lib/python3.6/site-packages/cmake/data/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:443 (_FPHSA_FAILURE_MESSAGE)
  /opt/rocm/hip/cmake/FindHIP.cmake:177 (find_package_handle_standard_args)
  cmake/FindCUDACompilerHIP.cmake:26 (find_package)
  CMakeLists.txt:155 (find_package)


-- Configuring incomplete, errors occurred!
@jngrad jngrad added the CMake label Sep 23, 2020
@mkuron
Copy link
Member

mkuron commented Sep 23, 2020

Not an Espresso bug. AMD's packaging is slightly broken again. Uninstalling all ROCm/HIP/AMD packages and then reinstalling rocm-dkms seems to have fixed it.

@jngrad jngrad removed the CMake label Sep 23, 2020
@jngrad
Copy link
Member Author

jngrad commented Sep 23, 2020

Indeed, it's working again on lama. Thanks for looking into it. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants