Installation¶
In principal SiMFS-Tk can be used on Linux, Mac OS and Windows, although a UNIX system that supports named pipes is recommended.
Note
The installation process will be improved in the future to integrate better with the python driver. Consider this the developer documentation for building the project from source.
Prerquisites¶
Before using SiMFS-Tk, make sure you have the following tools:
- git
- a c++ compiler (g++ or clang)
- cmake
- python3 (if you want to use the python driver)
Linux¶
Use your system package manager (e.g. apt
) to install the dependencies.
Standard procedure¶
The standard procedure after installing all dependencies is cloning the SiMFS-Tk repository and invoking cmake:
$ git clone https://github.com/sponchcafe/SiMFS-core/ simfs
$ mkdir simfs/build
$ cd simfs/build
$ cmake ..
$ make
$ ctest
After completion of the installation the executables are found in
build/src/components/<group>/<name>
, e.g.
build/src/components/mol/simfs_dif
. The component directory in the
build folder should look like this:
/opt/SiMFS-Tk/SiMFS-core/build/src/components/
├── ...
├── fcs
│ ├── ...
│ ├── simfs_det
│ ├── simfs_exi
│ ├── simfs_pls
│ └── simfs_pre
├── mol
│ ├── ...
│ ├── simfs_cnf
│ ├── simfs_dif
│ └── simfs_sft
├── ph2
│ ├── ...
│ └── simfs_ph2
└── utl
├── ...
├── simfs_buf
├── simfs_img
├── simfs_mix
├── simfs_spl
└── simfs_t3r
You can copy or link the executables to a location where you can easily invoke them. The next section will introduce the basic usage of a SiMFS-Tk component from the commandline.