This project is based on CERNs Quick opcUA Server generAtion fRamework. It contains modified CMAKE Files, config files, instructions and other good-to-know information for the ATLAS team, specifically for the ITk-ETMS Project (Enviromental Temperature Monitoring System).
- Before anything, we need to download and install the needed dependencies for Quasar to run. So, head over to your linux machine and run:
sudo dnf install git patch python3-colorama python3-jinja2 python3-lxml cmake3 gcc-c++ boost-devel graphviz ninja-build xsd xerces-c-devel libxml2-devel openssl-devel doxygen astyle
(And python if you haven't install these)
pip install enum34 lxml jinja2 colorama pygit2
-
After all of it is downloaded, create an account in the Unified Automation website. Make sure your team has a license, but if they don't, there is a trial version you can download from this link
-
Once you have downloaded the SDK, you'll want to clone the repository. You can do so by running this command in your terminal:
git clone --recursive https://github.com/Grupo-de-Investigacion-ATLAS-PUJ/Atlas-Configured-Quasar
- Create a new Quazar project
./quasar.py create_project REPLACE_ME_WITH_ROOT_AND_NAME_OF_THE_PROJECT
For example:
./quasar.py create_project /home/ATLAS/Documents/NewUAServer
- Once is downloaded, open the newly created folder (So, if we follow the example, we open the folder:
/home/ATLAS/Documents/NewUAServer
), copy the SDK from UA (and the file called CustomETMSConfig.cmake), place it in the root of the folder (So, where the quasar.py file is located). - Then we run:
./quasar.py set_build_config CustomETMSConfig.cmake
- And finally run
./quasar.py build
If you get a WrongReturnValue: tool cmake returned 1, try running it with sudo.
The project website is quasar.docs.cern.ch, where you can obtain more information.
NOTE: Clone quasar with the --recursive flag. Required since quasar uses source code from other git repositories (specifically: LogIt is a git submodule)
For more documentation, head to the doc: Quasar by Paris Moschovakos