-
Notifications
You must be signed in to change notification settings - Fork 58
Tips
We collect general tips and tricks for t8code developers.
Try setting the T8CODE_TEST_LEVEL
to a higher number (for example, 2) to make the test suite faster.
When writing a new test, you do not have to run make test
every time to compile your single test.
make test
will compile and run all tests which is rather time consuming.
Instead you can compile and run your tests individually:
make test/path/to/test
./test/path/to/test
Attention: Individual tests using testfiles from the test/testfiles
folder must be run from the build/test/
folder. This ensures that the paths specified are valid.
If you are developing and running make test
often, waiting for sc and p4est tests to compile and run can be tedious.
Especially since you do not change anything in sc and p4est and hence know that the test cases will pass. Set the T8CODE_BUILD_TPL_TESTS
option to OFF
to disable third party library tests.
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
Prerequisites & Compilation
t8_time_forest_partition
t8_time_fractal
t8_time_new_refine
t8_time_partition
t8_time_prism
t8_time_set_join_by_vertices