You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When compiling HELIOS-K (simply make SM=61), I encountered several times the following fatal error:
/usr/local/cuda/bin/../targets/x86_64-linux/include/thrust/detail/config/cpp_dialect.h:128:13: warning: Thrust requires at least C++14. Define THRUST_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message. [enabled by default]
THRUST_COMPILER_DEPRECATION(C++14);
^
.....
make: *** [heliosk] Error 1
The text was updated successfully, but these errors were encountered:
The issue is solved by editing the Makefile and adding to include the option -std=c++11
in the nvcc line, i.e.: nvcc $(ARCH) -std=c++11 --compiler-options -Wall -o heliosk $(source) $(BUILD_DATA)
Thanks for reporting this, and for your solution.
However, I will not include your change into the repository, because this is very system depending. And the change could cause compilation errors on other systems.
It seems that your CUDA version doesn't agree with your c++ version. Another solution could be to load the correct c++ version before compiling CUDA code.
No worries, @sigrimm -- I assumed it was mainly my problem, and primarily reported it here just in case other people encounter similar issues in the future. (unrelated note: did you get my emailed question about opacities?) - Thanks!
When compiling HELIOS-K (simply
make SM=61
), I encountered several times the following fatal error:The text was updated successfully, but these errors were encountered: