Reply To: Issues to run code examples with Nvidia A100 GPU
The error you are encountering is that your
nvcc uses an older standard than C++11 (where
nullptr was added) by default. Does a manual execution of
nvcc -std=c++11 -c tinystr.cpp -o build/tinystr.o work? Is the environment where you build OpenLB using CUDA 11’s
nvcc for sure? (It is quite easy to mix this up depending on where and how you installed CUDA, there may also be multiple versions in parallel)
In any case, as per the release notes OpenLB 1.6 requires at least CUDA 11.4.