Reply To: Issues to run code examples with Nvidia A100 GPU
OpenLB – Open Source Lattice Boltzmann Code › Forums › on OpenLB › General Topics › Issues to run code examples with Nvidia A100 GPU › Reply To: Issues to run code examples with Nvidia A100 GPU
January 25, 2024 at 10:41 am
#8174
Adrian
Keymaster
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.