You are reading the documentation for version 3.3 of ProMod3.
You may also want to read the documentation for:
1.3
2.0
2.1
3.0
3.1
3.2
Building ProMod3¶Dependencies¶ProMod3 is build on top of OpenStructure (OST), requiring at least version
2.4.0. OST must be configured and compiled with The currently preferred versions are: Using CMake¶CMake is used to configure the build system and in the end produces makefiles
and certain directories needed for building ProMod3. Basically it is called
right from a shell with the directory containing the top-level
# execute this in the ProMod3 root folder
$ mkdir build
$ cd build
$ cmake .. -DOST_ROOT=<PATH TO OST>
For us, at least pointer to the OST installation directory is needed,
handed over to CMake by Similarly, one can specify folders for Boost, Python and Eigen 3
if multiple versions exist and/or they are not installed in a default location.
These are set with the Here is a list of more options used within ProMod3:
Since we use OST in the background, some of its options for CMake are
also relevant, here. Basically they need to be set to exactly the same value.
Even if ProMod3 builds with different settings, it may start producing funny
results at an unexpected point. If you do not know the values, grep the option
in the
Instead of calling CMake by yourself, there is the As mentioned earlier, we highly recommend to use out-of-source builds. This way, you can have several builds with different configurations. Also if anything goes wrong, just remove the build directory to get to a clean state again. No searching for CMake cache files or checking if certain files really got rebuild and similar things required. Running Make¶After configuring, you want to build ProMod3 by $ make
to populate the Beside the usual
Installing ProMod3¶If you wish to install ProMod3 (note that you can also safely keep it all in
the $ make install
By default, this will copy the After the installation, you should be able to delete the whole source folder. To
ensure that everything works, you can use a set of automated “sanity checks”.
Please follow the instructions in |
ContentsSearchEnter search terms or a module, class or function name. Previous topicNext topicYou are here
|