You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _docs_v7/Build-SU2-Linux-MacOS.md
+2-7Lines changed: 2 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,10 +69,7 @@ Installing SU2 from source requires a C++ compiler. The GNU compilers (gcc/g++)
69
69
**Note**: SU2 uses some C++11 features, that means at least GCC >= v4.7, Clang >= v3.0 or Intel C++ >= v12.0 is necessary.
70
70
71
71
### MPI ###
72
-
In order to build SU2 with parallel support, you need a suitable MPI installation on your machine. During the configuration the build tool does a check (using pkg-config) and enables MPI support. If no installation is found, a serial version of SU2 will be compiled.
73
-
It is possible to force the MPI mode with the meson option `-Dcustom-mpi=true`, it is then assumed that the compilers and/or the environment variables have the right flags, include directories, and linker arguments.
74
-
75
-
**Note**: Problems have been reported with MPICH where the build system does not detect the MPI installation, this can be solved using the meson options `-Dcustom-mpi=true -Dextra-deps=mpich`. If MPI was installed in a user directory, ensure also that the environment variable PKG_CONFIG_PATH is correctly setup.
72
+
In order to build SU2 with parallel support, you need a suitable MPI installation on your machine. During the configuration the build tool does a check and enables MPI support. If no installation is found, a serial version of SU2 will be compiled.
76
73
77
74
### Python ###
78
75
@@ -132,7 +129,6 @@ Options can be passed to the script to enable or disable different features of S
132
129
|`-Denable-mkl`|`false`| enable Intel MKL support |
133
130
|`-Denable-openblas`|`false`| enable OpenBLAS support |
134
131
|`-Denable-pastix`|`false`| enable PaStiX support |
135
-
|`-Denable-mixedprec`|`false`| enable the use of single precision on linear solvers and preconditioners |
136
132
137
133
For example to enable AD support pass the option to the `meson.py` script along with a value:
138
134
```
@@ -174,7 +170,6 @@ The warning level can be set with `--warnlevel=level`, where `level` correspond
174
170
#### Linear algebra options ####
175
171
176
172
Compiling with support for a BLAS library (`-Denable-mkl` or `-Denable-openblas`) is highly recommended if you use the high order finite element solver, or radial basis function (RBF) interpolation in fluid structure interaction problems.
177
-
Linear solvers and preconditioners can be accelerated with option `-Denable-mixedprec=true`, which will switch those computations to single precision while all other aspects of SU2 remain in double precision, for fluid simulations this does not reduce accuracy since the solution is iterative. However, large structural FEA problems may be adversely affected.
178
173
To a lesser extent MKL 2019 is also used to accelerate (~5%) sparse linear algebra operations.
179
174
`-Denable-mkl` takes precedence over `-Denable-openblas`, the system tries to find MKL via [pkg-config](https://en.wikipedia.org/wiki/Pkg-config), if that fails it will then look for MKL in `/opt/intel/mkl`, this can be changed via option `-Dmkl_root`.
180
175
When OpenBLAS support is requested the build system uses pkg-config to search the system for package `openblas`, option `-Dblas-name`, if the library was built from source it may be necessary to set the environment variable PKG_CONFIG_PATH.
@@ -183,7 +178,7 @@ For large structural FEA problems on highly anisotropic grids iterative linear s
183
178
184
179
If the use of BLAS is restricted to RBF interpolation, parallel versions of OpenBLAS can be used, the number of threads will then have to be controlled via the appropriate environment variable (consult the OpenBLAS documentation). Otherwise sequential BLAS should be used.
185
180
186
-
**Note:** The BLAS library needs to provide support for LAPACK functions. If this is not the case, the linker will fail with "undefined reference" errors, this problem can be solved by installing LAPACK and specifying it as an extra dependency when running `meson.py` using `-Dextra-deps=lapack` (this uses pkg-config, use commas to separate the names of multiple extra dependencies).
181
+
**Note:** The BLAS library needs to provide support for LAPACK functions.
0 commit comments