problem when import optix using the python toolkit
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 143
- Forks
- 28
- Avg merge
- 4d 17h
- Merged PRs (30d)
- 4
Description
Hello, thanks so much for your contribution about the python toolkit.
I met one problem when I run the examples/hello.py after compiling the pyoptix successfully on ubuntu 18.04 with cuda 11.1.
File "hello.py", line 8, in
import optix
ImportError: /home/user1/anaconda3/envs/optix/lib/python3.7/site-packages/optix-0.0.1-py3.7-linux-x86_64.egg/optix.cpython-37m-x86_64-linux-gnu.so: undefined symbol: cudaFree
I tried changing the cuda version but still happens.
Could you please help me to solve this?
Thanks so much!
On
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with examples/hello.py and the failing import of optix in the Python 3.7 environment. Reproduce the undefined-symbol error on the reported Ubuntu 18.04 and CUDA 11.1 setup, then inspect how pyoptix is built and linked. Done means the example imports optix successfully without the cudaFree error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, python
- Domain
- build-system, computer-graphics
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100