Comments (5)
Apparently your cuda compiler nvcc
is broken. What does running /usr/bin/nvcc --version
give? What version of cuda do you have?
from dirt.
hi @pmh47, Thank you for your reply !
Cuda compilation tools, release 9.0, V9.0.176, /usr/bin/nvcc is a soft link (/usr/local/cuda/bin/nvcc) .
from dirt.
That's strange; your configuration of nvcc 9 + gcc 5.4 + cmake 3.10 should work correctly. I think there would have been more lines of output after Change Dir: /tmp/...
in your original post, which should say what the actual error from nvcc was -- could you paste all of that output here?
from dirt.
CMake Error at /opt/cmake-3.12.4/share/cmake-3.12/Modules/CMakeTestCUDACompiler.cmake:46 (message):
The CUDA compiler
"/usr/bin/nvcc"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: /tmp/pip-req-build-l1ejzutl/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_0cce6/fast"
/usr/bin/make -f CMakeFiles/cmTC_0cce6.dir/build.make CMakeFiles/cmTC_0cce6.dir/build
make[1]: Entering directory '/tmp/pip-req-build-l1ejzutl/build/CMakeFiles/CMakeTmp'
Building CUDA object CMakeFiles/cmTC_0cce6.dir/main.cu.o
/usr/bin/nvcc -x cu -c /tmp/pip-req-build-l1ejzutl/build/CMakeFiles/CMakeTmp/main.cu -o CMakeFiles/cmTC_0cce6.dir/main.cu.o
nvcc fatal : Path to libdevice library not specified
CMakeFiles/cmTC_0cce6.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_0cce6.dir/main.cu.o' failed
make[1]: *** [CMakeFiles/cmTC_0cce6.dir/main.cu.o] Error 1
make[1]: Leaving directory '/tmp/pip-req-build-l1ejzutl/build/CMakeFiles/CMakeTmp'
Makefile:121: recipe for target 'cmTC_0cce6/fast' failed
make: *** [cmTC_0cce6/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:3 (project)
-- Configuring incomplete, errors occurred!
See also "/tmp/pip-req-build-l1ejzutl/build/CMakeFiles/CMakeOutput.log".
See also "/tmp/pip-req-build-l1ejzutl/build/CMakeFiles/CMakeError.log".
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-req-build-l1ejzutl/setup.py", line 50, in
'Programming Language :: Python :: 3.7',
File "/home/dl/anaconda3/envs/gwm/lib/python3.6/distutils/core.py", line 148, in setup
dist.run_commands()
File "/home/dl/anaconda3/envs/gwm/lib/python3.6/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
maybe python 3.7 works? Can you tell me which version of python/anaconda/GL/ works ?
dependencies may conflict ! Thanks!
from dirt.
This is not a problem with dependencies (nor with DIRT itself); rather, your cuda toolkit installation is broken somehow. Googling the actual error nvcc fatal : Path to libdevice library not specified
will give you some possible solutions.
Python 3.6 and 3.7 work fine, any conda that gives you tensorflow-gpu 1.6 or newer, and OpenGL from any nvidia driver newer than v367.
I'll close this issue as it's not a problem with DIRT.
from dirt.
Related Issues (20)
- failed to load librasterise.so, 'NoneType' object has no attribute 'rasterise' HOT 2
- How to run it on Win10 HOT 1
- librasterise.so: undefined symbol: cuCtxSetCurrent HOT 1
- NotFoundError: ../dirt/dirt/librasterise.so: undefined symbol: _ZN10tensorflow7s... HOT 1
- Differentiability wrt vertex colors HOT 3
- glsl SDF
- Setup error using colab
- yet another none of 2 egl devices matches the active cuda device HOT 3
- undefined symbol: eglCreateContext HOT 4
- AttributeError: 'NoneType' object has no attribute 'rasterise' HOT 4
- About render normal map HOT 1
- [Error] "This compiler appears to be too old to be supported by Eigen" in building rasterize HOT 2
- Dirt installation and test errors
- Cmake error HOT 1
- Installation errors: Tensorflow-protobuf incompatibility with tensor flow v2.13.0 HOT 17
- dirt/csrc/gl_common.h:46] extensions eglQueryDevicesEXT, eglQueryDeviceAttribEXT and eglGetPlatformDisplayEXT not available
- [Test Error]no egl devices found Aborted (core dumped)
- Does this work on WSL2? HOT 1
- Unable to compile HOT 1
- Unable to find Dockerfile config (CUDA_BASE_VERSION + UBUNTU_VERSION +CUDNN_VERSION) that leads to a successful dirt installation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dirt.