-
Notifications
You must be signed in to change notification settings - Fork 52
Configure Options
On this page we collect various options that you can pass to t8code's configure
script.
This list gives only the most used options, for a complete overview use
configure -h
For an overview of the full installation process, please see the Installation page.
Option | Description | Default value (if existing) |
---|---|---|
--build=BUILD | configure for building on BUILD | guessed |
--host=HOST | cross-compile to build programs to run on HOST | BUILD |
--enable-shared[=PKGS] | build shared libraries | yes |
--enable-static[=PKGS] | build static libraries | yes |
--enable-mpi | enable MPI parallel code | false |
--enable-debug | enable debugging mode (Note: This will drastically reduce performance) | false |
--with-LIB[=ARG] | enable linking with LIB | yes |
--without-LIB | disable linking with LIB (same as --with-LIB=no) | |
--prefix=PATH | Provide an installation prefix | |
--with-metis | enable metis-dependent code | |
--with-petsc | enable PETSc-dependent code | |
--with-sc | path to installed package sc (if non-standard) | |
--with-p4est | path to installed package p4est (if non-standard) |
Variable | Description |
---|---|
CC | C compiler command |
CFLAGS | compiler flags |
LDFLAGS | linker flags, e.g. -L if you have libraries in a nonstandard directory |
LIBS | libraries to pass to the linker, e.g. -l |
CPPFLAGS | (Objective) C/C++ preprocessor flags, e.g. -I if you have headers in a nonstandard directory |
CXX | C++ compiler command |
CXXFLAGS | C++ compiler flags |
LT_SYS_LIBRARY_PATH | User-defined run-time library search path. |
CPP | C preprocessor |
CXXCPP | C++ preprocessor |
For a parallel release mode with local installation path ~/t8code_install
:
configure --enable-mpi CFLAGS=-O3 CXXFLAGS=-O3 --prefix=~/t8code_install
For a debugging mode with static linkage (makes using gdb and valgrind more comfortable):
configure --enable-mpi --enable-debug --enable-static --disable-shared CFLAGS="-Wall -O0 -g" CXXFLAGS="-Wall -O0 -g"
t8code automatically links against lapack and blas, but does not use them at the current state.
Sometimes this causes problems on systems with ill-configured or non-existing blas/lapack libraries. You can simply disable these by
configure --without-blas --without-lapack [OTHER OPTIONS]
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
Reproducing Scaling Resluts
Coding Guidelines
Tips
Debugging with gdb
Debugging with valgrind
Test driven development
Testing with GoogleTest
Writing C interface code