5.7. Construction, installationΒΆ

Before building SMITER module, please ensure that SALOME environment is set properly. Assume that SALOME environment is set in env_products.sh script. In order to build and install SMITER module, you have to perform several steps:

[bash% ] source env_products.sh
[bash% ] mkdir SMITER_BUILD
[bash% ] cd SMITER_BUILD
[bash% ] ../SMITER1_SRC/SalomeSMITERConfig.cmake.in
[bash% ] ../SMITER1_SRC/configure --prefix=<SMITER_module_installation_dir>
[bash% ] make
[bash% ] make install

The first command creates a build directory for the SMITER module. Then next step is to cd to this build directory. From this directory you sequentially invoke SalomeSMITERConfig.cmake.in, configure, make and make install commands. On each step, you have to ensure that the operation is finished correctly (no errors raised).

The <SMITER_module_installation_dir> variable above defines the destination directory to which the SMITER module should be installed. After the last step is finished, the SMITER module is built and installed to the <SMITER_module_installation_dir> directory.