Comments (10)
I "solved" it by upgrading my NVIDIA card to a RTX 3090
from mitsuba2.
My system:
- Ubuntu 16.04
- Driver 418.87.00
- OptiX 6.0
- CUDA 10.1
- CMake 3.16.5
- Clang 9.0.1
yields same error as outlined above.
Adding -std=c++14
to ext/enoki/CMakeLists.txt:18 yields:
[4/164] Building CUDA object ext_build/enoki/CMakeFiles/enoki-cuda.dir/src/cuda/jit.cu.o
FAILED: /usr/local/cuda/bin/nvcc -DENOKI_AUTODIFF=1 -DENOKI_BUILD=1 -DENOKI_CUDA=1 -DENOKI_CUDA_COMPUTE_CAPABILITY=61 -Denoki_cuda_EXPORTS -I/usr/include/libcxxabi -I../ext/enoki/include -I../ext/enoki/ext/cub -gencode arch=compute_61,code=compute_61 -cudart shared -std=c++14 -Xcompiler -fvisibility=hidden -DNDEBUG -O3 -DNDEBUG -Xcompiler=-fPIC -x cu -c ../ext/enoki/src/cuda/jit.cu -o ext_build/enoki/CMakeFiles/enoki-cuda.dir/src/cuda/jit.cu.o && /usr/local/cuda/bin/nvcc -DENOKI_AUTODIFF=1 -DENOKI_BUILD=1 -DENOKI_CUDA=1 -DENOKI_CUDA_COMPUTE_CAPABILITY=61 -Denoki_cuda_EXPORTS -I/usr/include/libcxxabi -I../ext/enoki/include -I../ext/enoki/ext/cub -gencode arch=compute_61,code=compute_61 -cudart shared -std=c++14 -Xcompiler -fvisibility=hidden -DNDEBUG -O3 -DNDEBUG -Xcompiler=-fPIC -x cu -M ../ext/enoki/src/cuda/jit.cu -MT ext_build/enoki/CMakeFiles/enoki-cuda.dir/src/cuda/jit.cu.o -o ext_build/enoki/CMakeFiles/enoki-cuda.dir/src/cuda/jit.cu.o.d
../ext/enoki/src/cuda/jit.cu:84:49: error: array must be initialized with a brace-enclosed initializer
../ext/enoki/src/cuda/jit.cu:84:49: error: too many initializers for ‘std::array<unsigned int, 3ul>’
[4/164] Building CUDA object ext_build/enoki/CMakeFiles/enoki-cuda.dir/src/cuda/horiz.cu.o
ninja: build stopped: subcommand failed.
Neither -std=c++17
nor -std=gnu++17
are not supported by my nvcc.
Subtituting ext/enoki/src/cuda/jit.cu:84 with std::array<uint32_t, 3> dep = { { 0, 0, 0 } };
compiles without further issues. Checked with mitsuba -m gpu_autodiff_rgb resources/data/scenes/hello.xml
.
from mitsuba2.
Is this still an issue? @andreiburov @ugogon
Maybe try with the latest master, we have fixed a few things in the meantime.
from mitsuba2.
I just pulled and the error is still occurring. Nothing changed.
from mitsuba2.
Would you mind trying to update your Nvidia GPU driver?
from mitsuba2.
I'm already on 440.64. Do you think updating to 440.82 will change something. I'm afraid to accidentally shut down the computer, because I can't turn it on again hardwarewise currently.
from mitsuba2.
Sure I understand.
Did you update the submodules as well? This seems to be an issue with enoki actually.
git submodule update --recursive
from mitsuba2.
Yes, I cloned into an empty using the --recursive
flag
from mitsuba2.
Yes, I cloned into an empty using the
--recursive
flag
hello,do you solve this,Can you help me.I also use ninja to compile,but it says ninja: build stopped: subcommand failed
from mitsuba2.
I "solved" it by upgrading my NVIDIA card to a RTX 3090
sometimes I don't know why it happens,I use pytorch/pytorch#32694 to solve it.
I try lots of time,it couldn't work. but now,it works well.
just
git clean -xdf git submodule sync git submodule deinit -f . git submodule update --init --recursive
Unbelievable
and thanks for your response.
from mitsuba2.
Related Issues (20)
- [🔨 compilation issue] 'cmake -GNinja' step HOT 3
- [❔ other question] How to convert/extract enoki.autodiff_cuda.Float32 type array from Bitmap class? HOT 4
- [❔ other question]runtime API error = 0719 HOT 1
- [🐛 bug report] importing Pytorch after mitsuba => Segmentation fault (core dumped) HOT 1
- [❔ other question] Performance on Windows much lower than Linux? HOT 5
- [🐛 bug report] hdrfilm.cpp: duplicate channel detection HOT 3
- [❔ other question] how to uninstall mitsuba2 in linux? HOT 4
- The examples of Differentiable rendering applications HOT 2
- [🐛 bug report] OptiX "arithmetic involving uninitialized variable!" with Certain Scenes HOT 1
- [✨ feature request] Tutorial on differential rendering material acquisition HOT 1
- Something about code HOT 1
- Caught a critical exception: main [properties.cpp:401] └1∩Æ∞☺
- [✨ feature request] Does the mitsuba2 support bsdf for cloth model? HOT 1
- 用java或C++用物件導向的概念設計程式解下面的問題:讀取一組時間,計算出時針與分針的夾角,時間的格式是0:00到12:00,小時數可能為1或2位數,分鐘數總是2位數,00到59之間。輸出腳讀為0到180之間的值,角度的精確度到千分之一。例如9:00是90.000度,不是-90,也不是270,2:00則是60 HOT 1
- Rendered polarized images' intensity doesn't change according to the change of polarization angle- [❔ other question] HOT 1
- [❔ other question] setting the variant("llvm_spectral_polarized"), the code didn't work HOT 2
- [❔ other question]How can we output UV map in python? HOT 1
- - [❔ other question] I want to optimize the values in the transform component of my sensor plugin HOT 1
- Unable to compile: Windows 10: Visual Studio Community 2022 HOT 1
- White noise in spectral rendering - [❔ other question] HOT 1
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 mitsuba2.