Reply To: Errors in grid refinement example cases in openlb-1.8.0
OpenLB – Open Source Lattice Boltzmann Code › Forums › on OpenLB › General Topics › Errors in grid refinement example cases in openlb-1.8.0 › Reply To: Errors in grid refinement example cases in openlb-1.8.0
April 30, 2025 at 10:02 am
#10140
mwkim
Participant
Thank you for quick replying.
I’m doubting the compiler, but I cannot reach the solution.
The configuration file is
CXX := g++
CC := gcc
CXXFLAGS := -O3 -Wall -march=native -mtune=native
CXXFLAGS += -std=c++20
# add CUDA include path and library path
CXXFLAGS += -I/usr/local/cuda/include -L/usr/local/cuda/lib64
PARALLEL_MODE := NONE
PLATFORMS := CPU_SISD GPU_CUDA
CUDA_CXX := nvcc
# Adjust to CUDA / driver library path so that CXX can resolve libcuda, libcudart and libcudadevrt
CUDA_LDFLAGS := -L/usr/local/cuda/lib64
# for e.g. RTX 30* (Ampere), see table in <code>rules.mk</code> for other options
CUDA_ARCH := 61
FLOATING_POINT_TYPE := double
USE_EMBEDDED_DEPENDENCIES := ON
It works for openlb-1.7.
The below is the current environments.
Ubuntu 22.04
CUDA Version is 12.2
gcc version is 11.4.0
If you need any other details, please let me know!