Open joeylitalien opened 1 year ago
I think exist a current issue with Cuda 11.3. This are from the CMakeLists file..
message (SEND_ERROR "Unfortunately, pbrt-v4 triggers an internal compiler error in CUDA 11.3.0. Please either use CUDA 11.0-11.2 or 11.3.1 or later.")
I hope this help you..
Edited: I can see that you have Cuda 11.3.109 installed and the warning message is not shown, so, not sure what are the problem..
I’m using 11.3.1 which should be fine according to this note, but it might be worth upgrading.
Update: I have upgraded to CUDA 11.6 with Optix 7.4.0, and it compiles successfully. However, rendering with the GPU now throws a segmentation fault at the Starting OptiX initialization
stage.
If this comes up again, I'm curious if expanding out the EnableIfConvertibleFrom
at line 353 using its definition at line 326 would work around this--i.e. is the templating getting that compiler version confused somehow.
On the seg fault, ugh! What OS and driver? Can you do a run with --log-level verbose
and post the output?
Hi,
I'm currently trying to compile pbrt-v4 with GPU support but I am running into the following error when I enable GPU compiling (CPU works fine). I'm running on CUDA 11.3 with Optix 7.3 (Drivers 510.108.03) and trying to compile on an A100 instance (sm_80).
This is the output of CMake configuration:
This is the output of CMake:
I have tried different versions of compilers (gcc-10, clang-10, clang-14) and Optix (7.7), but I get the same results. Am I missing something?