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

make -j24 problem #37

Closed
NIEYALI opened this issue Nov 15, 2018 · 5 comments
Closed

make -j24 problem #37

NIEYALI opened this issue Nov 15, 2018 · 5 comments

Comments

@NIEYALI
Copy link

NIEYALI commented Nov 15, 2018

collect2: error: ld returned 1 exit status
test/CMakeFiles/test_hiprand_cpp_wrapper.dir/build.make:467: recipe for target 'test/test_hiprand_cpp_wrapper' failed
make[2]: *** [test/test_hiprand_cpp_wrapper] Error 1
CMakeFiles/Makefile2:1174: recipe for target 'test/CMakeFiles/test_hiprand_cpp_wrapper.dir/all' failed
make[1]: *** [test/CMakeFiles/test_hiprand_cpp_wrapper.dir/all] Error 2

@ex-rzr
Copy link
Contributor

ex-rzr commented Nov 15, 2018

  1. What is your device?
  2. Please show hipconfig output.
  3. Show the full make log, perhaps there is more information.

@NIEYALI
Copy link
Author

NIEYALI commented Nov 15, 2018

1.ubuntu16+cuda10+cudnn7.4
2.HIP version : 1.5.18353

== hipconfig
HIP_PATH : /opt/rocm
HIP_PLATFORM : nvcc
CPP_CONFIG : -D__HIP_PLATFORM_NVCC__= -I/opt/rocm/include -I/usr/local/cuda/include

== nvcc
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2018 NVIDIA Corporation
Built on Sat_Aug_25_21:08:01_CDT_2018
Cuda compilation tools, release 10.0, V10.0.130

=== Environment Variables
PATH=/usr/local/cuda/bin:/home/lyl/bin:/home/lyl/.local/bin:/usr/local/cuda-9.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/opt/rocm/bin:/opt/rocm/profiler/bin:/opt/rocm/opencl/bin/x86_64:/home/lyl/bin
LD_LIBRARY_PATH=/usr/local/cuda/lib64:/usr/local/cuda-9.0/lib64:/opt/rocm/opencl/lib/x86_64:/opt/rocm/hsa/lib:

== Linux Kernel
Hostname : lyl
Linux lyl 4.15.0-38-generic #41~16.04.1-Ubuntu SMP Wed Oct 10 20:16:04 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.5 LTS
Release: 16.04
Codename: xenial
3.Please check attached file
make error.txt

@ex-rzr
Copy link
Contributor

ex-rzr commented Nov 15, 2018

I'm a bit confused. I assume that you have an NVidia GPU, your main environment is CUDA and you're trying to build pytorch, right?

But it seems strange to me that it requires rocRAND. I know nothing about pytorch but I think that it shouldn't require any ROCm/HIP libraries to be built on CUDA.

Are you sure that pytorch was configured correctly?

@VincentSC
Copy link
Contributor

Seems the original problem is pytorch/pytorch#14025 ?

@NIEYALI
Copy link
Author

NIEYALI commented Nov 16, 2018

@VincentSC yes, Sir. the original problem is about caffe2.

@ex-rzr ex-rzr closed this as completed Jan 23, 2019
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

3 participants