This will later contain the directories include and lib. Prepare the installation, selecting only the libraries that need to be built (this does not affect the header-only libraries). Download and extract Boost into any directory.The following header-only Boost libraries are also needed: ‘asio’, vmd, geometry, signals2, container, ranges. These libraries may also depend on other Boost libraries. You might save some time and space by installing only the necessary libraries: Note that users have experienced problems building Boost 1.68 and 1.69 with some compilers. Then extend the path environment variable by executing the following:Įxport Eigen3_ROOT =/path/to/eigen/eigen-x.y.zīoost 1.67 and newer, it may complicate how you install adapters that use yaml-cpp. Download CMake binariesĭownload the official binaries for your platform and extract them into a folder. This can be safely ignored as preCICE does not use problematic libraries.įixing this requires to upgrade CMake. You can check your CMake version using cmake -version.ĭepending on the versions of CMake and Boost, CMake may not find all libraries in boost and display warnings when configuring preCICE. PreCICE requires the build system CMake at a minimal version of 3.16.1. When compiling with MPI enabled (the default) and using your MPI compiler wrapper as compiler, then it needs to use a suitable compiler.įor example, check if the mpicxx -version reports a compatible compiler version.Ĭheck the section on MPI for more information.j CMake preCICE If you are using Debian/Ubuntu, the build-essential package will install everything needed. The following table lists the minimal requirement for compiler versions: Toolchain PreCICE requires a C++ compiler with full C++14 support. If you find a problem with preCICE and a latest versions of these dependencies, please let us know. Note that we always strive to be forwards-compatible. The following is an overview of the required dependencies of the latest preCICE release. Prefer to follow the system guides and only install custom versions if you have a reason to do so. Meaning, installing dependencies based on the steps in this section should be the last resort for normal users. This section lists all dependencies alongside required versions and steps on how to install them from source. Then use the dependencies section to install all missing dependencies from source.Īfter all dependencies are ready to use, proceed with configuring preCICE. If there is no guide for your system, find out if there are suitable system packages for the dependencies. It will include all required steps to get preCICE ready to build. Start by checking if there is a guide for your system.
0 Comments
Leave a Reply. |