Giter VIP home page Giter VIP logo

logo

YARR: Yet Another Rapid Readout

Documentation

For details please refer to the documentation covering installation and usage, which can be found here http://cern.ch/yarr

This README only includes quick install guide.

(If you are working with the devel branch refer to http://cern.ch/yarr/devel/ and see the current coverage report at https://yarr.web.cern.ch/yarr/devel/coverage/)

Mailing list

Users should subscribe to the CERN mailing list to receive announcements for important updates: yarr-user

Developers and potential developers please refer to Contribution guide.

Requirements

Software:

  • CentOS 7/8, Alma 9
  • cmake 3.14 or higher
  • GCC version 9
    • for example from devtoolset-9
  • Some misc packages (can be installed via yum):
    • gnuplot
    • texlive-epstopdf
    • zeromq, zeromq-devel (for rogue and netio controller)
    • boost-devel for BDAQ
    • ROOT for plotting tools

Quick minimal Install Guide:

  • Builds spec and emu controller for mininmal dependencies on Centos 7
  • Build recipes for other OS can be found in docker//Dockerfile
  • Clone from git
    • $ git clone https://gitlab.cern.ch/YARR/YARR.git Yarr
  • Compilation:
    • $ source scl_source enable devtoolset-9
    • cd Yarr
    • $ cmake3 -S ./ -B build or $ cmake3 -S ./ -B build -DYARR_CONTROLLERS_TO_BUILD=all
    • $ cmake3 --build build -j4
    • $ cmake3 --install build -j4
  • Running
    • execute programs from the repository top folder

Building additional controllers

  • In order to build with more controllers execute cmake with extra options
    • For all controllers:
      • -DYARR_CONTROLLERS_TO_BUILD=all
    • For NetIO:
      • -DYARR_CONTROLLERS_TO_BUILD="Spec;Emu;NetioHW"
    • For Rogue:
      • -DYARR_CONTROLLERS_TO_BUILD="Spec;Emu;Rogue"

While developing, it might be useful to run some unit tests. These are run by default in the CI on gitlab, but can also be run locally:

  • cd build
  • make test

This runs the test_main binary, which gathers the tests found in src/tests.

yarr's Projects

yarr icon yarr

Yet Another Rapid Reaodut

yarr-fw icon yarr-fw

Firmware repository for the PCIe FPGA cards used for the YARR system

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.