Skip to content

Reply To: olb1.6 bifurcation3d

#7910
Fuxin He
Participant

Dear Adrian

Thanks for your patience in replying, I have changed the config.mk file already as follows:

# Compiler to use for C++ files, change to mpic++ when using OpenMPI and GCC
# CXX := g++
CXX :=mpic++
# Compiler to use for C files (used for emebedded dependencies)
CC := gcc

# Suggested optimized build flags for GCC, consult config/ for further examples
CXXFLAGS := -O3 -Wall -march=native -mtune=native
# Uncomment to add debug symbols and enable runtime asserts
#CXXFLAGS += -g -DOLB_DEBUG

# OpenLB requires support for C++17
# works in:
# * gcc 9 or later (https://gcc.gnu.org/projects/cxx-status.html#cxx17)
# * icc 19.0 or later (https://software.intel.com/en-us/articles/c17-features-supported-by-intel-c-compiler)
# * clang 7 or later (https://clang.llvm.org/cxx_status.html#cxx17)
CXXFLAGS += -std=c++17

# optional linker flags
LDFLAGS :=

# Parallelization mode, must be one of: OFF, MPI, OMP, HYBRID
# Note that for MPI and HYBRID the compiler also needs to be adapted.
# See e.g. config/cpu_gcc_openmpi.mk
# PARALLEL_MODE := OFF
PARALLEL_MODE := MPI

Then it will report the following error
https://postimg.cc/gallery/dqGGBFV

My guess from reading chapter 9 is that I don’t have CUDA installed, which is why running “ompi_info –parsable -l 9 –all | grep mpi_built_with_cuda_support:value” results in false.

Best,
Fuxin He