Comments (5)
Hi @aespielberg , did you build the library yourself or use the release package? If you built it yourself could you confirm if it was built with CUDA support enabled?
from warp.
I think I ran into similar issues on Ubuntu 21.04, CUDA 11.4, both when building warp (with export CUDA_PATH=/usr/local/cuda
set properly) and using the release package.
It seems Omniverse officially supports Ubuntu 18.04. A workaround to this is to run warp in Docker, I used the Isaac Sim container with some modifications:
FROM nvcr.io/nvidia/isaac-sim:2021.2.1
RUN apt-get update \
&& apt-get install -y -qq --no-install-recommends \
wget \
git \
vim \
sudo \
build-essential \
software-properties-common \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
RUN wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/cuda-ubuntu1804.pin \
&& mv cuda-ubuntu1804.pin /etc/apt/preferences.d/cuda-repository-pin-600 \
&& apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/7fa2af80.pub \
&& add-apt-repository "deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/ /"
RUN apt-get update \
&& apt-get -y install cuda-toolkit-11-4 \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
ENV PATH /usr/local/cuda/bin:$PATH
ENV LD_LIBRARY_PATH /usr/local/cuda/lib64:$LD_LIBRARY_PATH
RUN mkdir /root/.local/share/ov/pkg/ && ln -s /isaac-sim /root/.local/share/ov/pkg/isaac_sim-2021.2.1
RUN ln -sf /isaac-sim/kit/python/bin/python3 /usr/bin/python
ENV PATH /isaac-sim/kit/python/bin:$PATH
from warp.
Thank you both for the replies. Yes, I foolishly forgot to set the CUDA_PATH
. I have now set it to /home/user/anaconda3/envs/warp/
, and cuda objects were built. I also set LD_LIBRARY_PATH
to $CONDA_PREFIX/lib
.
however, now on runtime it is a new error:
$ python examples/example_raycast.py
Traceback (most recent call last):
File "/home/user/scratch_space/warp/warp/examples/example_raycast.py", line 23, in <module>
wp.init()
File "/home/user/scratch_space/warp/warp/warp/context.py", line 1097, in init
runtime = Runtime()
File "/home/user/scratch_space/warp/warp/warp/context.py", line 536, in __init__
raise Exception("Warp Initialization failed, CUDA not found")
Exception: Warp Initialization failed, CUDA not found
Not sure how to debug this error.
from warp.
This usually means that the CUDA driver is not installed correctly on your system. If you run nvidia-smi
from the command line do you see visible CUDA devices?
from warp.
Wow, crazy, those drivers were there just two days ago.
That was indeed the problem. Thank you!
from warp.
Related Issues (20)
- What are the adj_xxx functions in mesh.h for? HOT 2
- How to produce animation with Warp HOT 2
- Seg fault with SimRendererOpenGL and springs HOT 2
- CUDA build failed, when using break in while loop HOT 2
- Omniverse USD Composer Mandelbrot example flickering HOT 2
- wp.struct: from numpy and back HOT 3
- memcpy easier to access
- wp.rand_init and wp.tid()
- FeatureRequest: wp.clamp that works on vectors HOT 2
- Breaking in a loop inside a kernel HOT 3
- uint16 and uint8 inside struct do not work HOT 6
- Index to array can only be int HOT 2
- Directly changing struct element inside kernel does not work HOT 2
- Question on tape HOT 1
- OpenGLRenderer: Visibility for shape instancers
- OpenGLRenderer: render_points radius cannot be wp.array
- OpenGLRenderer: render_points goes through the cpu even when updating HOT 1
- Indexing into wp.array of 2 dimensions HOT 2
- How can I get bvh identifier and use relevent kernel? HOT 2
- Clamp particle velocity to a vmax that assures system stability HOT 2
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 warp.