Skip to content

Commit 7d1657d

Browse files
committed
build: update the documentation about usage of -DIdefix_PROBLEM_DIR
1 parent 446ad68 commit 7d1657d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

doc/source/reference/makefile.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,12 @@ Several options can be enabled from the command line (or are accessible with ``c
5959
The number of ghost cells is automatically adjusted as a function of the order of the reconstruction scheme.
6060
*Idefix* uses 2 ghost cells when ``ORDER < 4`` and 3 ghost cells when ``ORDER = 4``
6161

62+
``-D Idefix_PROBLEM_DIR=.``
63+
Specify where to find the problem directory to build *Idefix* out of source.
64+
Place yourself in the ``build`` directory you want to build in and call the ``cmake`` by :
65+
+ pointing the *Idefix* source directory via ``IDEFIX_DIR`` as usual.
66+
+ using ``-D Idefix_PROBLEM_DIR`` to point the problem to build.
67+
6268
``-D Kokkos_ENABLE_OPENMP=ON``
6369
Enable OpenMP parallelisation on supported compilers. Note that this can be enabled simultaneously with MPI, resulting in a hybrid MPI+OpenMP compilation.
6470

0 commit comments

Comments
 (0)