For the installation of the Python package without building from source, please see these instructions.
First, install a compiler, GNU Make, CMake, Git ...:
For the purposes of these instructions, we'll refer to the quala repository as the environment variable QUALA_ROOT
, for example:
The scripts
folder contains some Bash scripts to install the necessary dependencies. By default, these scripts install everything into the virtual environment, they require no root privileges, and won't change any other parts of your system.
Installing both the release and debug versions can be very useful for checking matrix dimension errors and out of bounds accesses during development, and switching to an optimized version later.
If you install the library locally, as demonstrated in the previous snippet, you might have to set some environment variables, as explained here: https://tttapa.github.io/Pages/Ubuntu/Software-Installation/Installing-Locally.html
Specifically, you need to add ~/.local
to the CMAKE_PREFIX_PATH
by adding the following to your ~/.profile
file:
Then source it (. ~/.profile
) or log out and back in again.
==TODO==
==TODO==
Once the library is installed, you can use it in your own projects.
For example:
main.cpp
CMakeLists.txt
The Python module can be installed using: