Skip to content
TCLB - Templated MPI+CUDA/CPU Lattice Boltzmann code
C++ C R Python Shell M4 Other
Branch: master
Clone or download
llaniewski Merge pull request #210 from llaniewski/master
Correcting unnececary profiling of RT in makefile
Latest commit c1bcda9 Apr 30, 2019

CudneLB - the templated version

Build Status Coverage Status

CudneLB is a MPI+CUDA or MPI+CPU high-performance CFD simulation code, based on Lattice Boltzmann Method.

It provides a clear interface for calculation of complex physics, and implementing new models.



You'll need:

You can install lot of these with the tools/ script (if you are not afraid of running a script with sudo):

sudo tools/ cuda 6.5-14 # only if your GPU supports cuda
sudo tools/ r
sudo tools/ openmpi
     tools/ rdep
sudo tools/ python-dev
     tools/ rpython
sudo tools/ module # only on CentOS

The script is designed to work on Ubuntu (e.g. on the Travis-CI VMs). The script should work on CentOS. You can install the sudo parts by yourself, and use script to install R packages: rdep and rpython.


This should work:

module load mpi/openmpi-x86_64 # only on CentOS
make configure
./configure --enable-double --enable-graphics --with-cuda-arch=sm_20 
# only CPU ./configure --enable-double --disable-cuda
make d2q9


This should also work:

CLB/d2q9/main example/flow/2d/karman.xml


Author: Łukasz Łaniewski-Wołłk



Developed at: C-CFD Group at Warsaw University of Technology from 2012


This software is distributed under the GPL v3 License.

If you need this software under a different license, please contact the main author.

Contact: llaniewski(monkey)

You can’t perform that action at this time.