Skip to content

Commit 213251c

Browse files
authored
Update AD-Build.md
1 parent 0cec5b1 commit 213251c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_docs/AD-Build.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The following requires a compiler which supports most of the C++11 features, i.e
1010
In order to use the discrete adjoint solver the compilation requires two additional (header-only) libraries. [CoDi](https://github.com/SciCompKL/CoDiPack) provides the AD datatype and [MeDi](https://github.com/SciCompKL/MeDiPack) provides the infrastructure for the MPI communication when the reverse mode of AD is used. Both libraries are added as submodules in `externals/` in the git repository of SU2.
1111

1212
## Configuration with AD support
13-
The initialization and compilation of these libraries as well as the configuration of SU2 is handled by the python script `preconfigure.py` inside the main directory. This script accepts the **same arguments** as the usual configure script (except `CXXFLAGS=...`) but in addition it offers the option `--enable-autodiff` to enable AD (reverse mode) for the discrete adjoint solver.
13+
The initialization of these libraries as well as the configuration of SU2 is handled by the python script `preconfigure.py` inside the main directory. This script accepts the **same arguments** as the usual configure script (except `CXXFLAGS=...`) but in addition it offers the option `--enable-autodiff` to enable AD (reverse mode) for the discrete adjoint solver.
1414

1515
### Example
1616
Assume that your configuration (see [Simple Build](/docs/Simple-Build/) or [Parallel Build](/docs/Parallel-Build/)) is done using the command:

0 commit comments

Comments
 (0)