From 60a972b85f9416d0c1d34a3bef4aed0e9decba2e Mon Sep 17 00:00:00 2001 From: pcarruscag Date: Thu, 27 Feb 2020 14:43:05 +0000 Subject: [PATCH] small updates to meson options and BLAS information --- _docs_v7/Build-SU2-Linux-MacOS.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/_docs_v7/Build-SU2-Linux-MacOS.md b/_docs_v7/Build-SU2-Linux-MacOS.md index 1bc26ee5..e0a94ee9 100644 --- a/_docs_v7/Build-SU2-Linux-MacOS.md +++ b/_docs_v7/Build-SU2-Linux-MacOS.md @@ -123,6 +123,7 @@ Options can be passed to the script to enable or disable different features of S | `-Denable-directdiff` | `false` | enable AD (forward) support | | `-Denable-pywrapper` | `false` | enable Python wrapper support| | `-Dwith-mpi` | `auto` | Set dependency mode for MPI (`auto`,`enabled`,`disabled`) | +| `-Dwith-omp` | `false` | enable MPI+Threads support (experimental) | | `-Denable-cgns` | `true` | enable CGNS support | | `-Denable-tecio` | `true` | enable TECIO support | | `-Denable-mkl` | `false` | enable Intel MKL support | @@ -164,12 +165,15 @@ The warning level can be set with `--warnlevel=level`, where `level` correspond #### Linear algebra options #### -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 interpolation in fluid structure interaction problems. -`-Denable-mkl` takes precedence over `-Denable-openblas`, by default the build system looks for MKL in `/opt/intel/mkl`, this can be changed via option `-Dmkl_root`. -When OpenBLAS support is requested the build system uses [pkg-config](https://en.wikipedia.org/wiki/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. +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. +To a lesser extent MKL 2019 is also used to accelerate (~5%) sparse linear algebra operations. +`-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`. +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. For large structural FEA problems on highly anisotropic grids iterative linear solvers might fail. Version 7 introduces experimental support for the direct sparse solver [PaStiX](https://gforge.inria.fr/projects/pastix/) (`-Denable-pastix`) see detailed instructions in `TestCases/pastix_support/readme.txt`. +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. + **Note:** The BLAS library needs to provide support for LAPACK functions. ### Compilation ###