-
Notifications
You must be signed in to change notification settings - Fork 52
Known issues
On this page we collect known issues/bugs related to t8code
When using --enable-openmp
or --enable-pthread
you may encounter linking problems with either library.
This is a known bug. The appropriate compiler flags are only set to the CFLAGS variable, but not the CXXFLAGS variable.
Until this is fixed, the workaround is to set these variables manually:
configure --enable-openmp CXXFLAGS="-fopenmp"
See also: https://github.com/holke/t8code/issues/286
Using CC=g++
or CC=mpicxx
or similar will not configure when the gcc Version is 8 or larger.
This particularly concerns Ubuntu 22.04 and beyond.
The behavior is caused by a bug in Autotools regarding the AC_CHECK_LIBRARY macro that causes an error message in the C++ compiler (which previously was only a warning). See the discussion in a closed PR https://github.com/holke/t8code/pull/257 and the Autotools discussion https://www.mail-archive.com/bug-autoconf@gnu.org/msg04294.html
In some cases, t8code will not compile with OpenMPI and will throw linker errors regarding MPI functionality. If that happens, try using mpiCC
or mpic++
instead of mpicc
and mpicxx
.
Installation Guide
Configure Options
Setup t8code on JUWELS and other Slurm based systems
Setup t8code for VTK
General
Step 0 Hello World
Step 1 Creating a coarse mesh
Step 2 Creating a uniform forest
Step 3 Adapting a forest
Step 4 Partition,-Balance,-Ghost
Step 5 Store element data
Step 6 Computing stencils
Step 7 Interpolation
Features
Documentation
Tree Indexing
Element Indexing
Running on JUWELS using Slurm
Overview of the most used API functions
Known issues
Workflow - FreeCAD to t8code
Coding Guidelines
Tips
Debugging with gdb
Debugging with valgrind
Test driven development
Testing with GoogleTest
Writing C interface code