-- AdamAbedAbud - 2022-02-24

PowerDEVS Installation in Linux on CERN nodes

Step by Step Installation in CERN Cenots 7

Git clone the project (not on AFS)

  • cd LOCAL_DIR/
  • git clone https://gitlab.cern.ch/tdaq-simulation/powerdevs.git  
  • git checkout tdaq_phase2_alternatives
  • cd powerdevs

Start the docker container

  • cd docker
  • ./startPowerdevs.sh
  • docker ps

Compile the project

  • sudo docker exec --user=$USER "PowerDEVS-devel-$USER" scl enable devtoolset-6 "make clean"
  • sudo docker exec --user=$USER "PowerDEVS-devel-$USER" scl enable devtoolset-6 "make -j8"

  • make gen_py_lib -C src/py2pdevs
  • sudo docker exec --user=$USER "PowerDEVS-devel-$USER" scl enable devtoolset-6 "make -j8"

Test the simulation

  • cd examples/tdaq_phase2;
  • ./tdaq_phase2.py -tf 1 -variable_logging_backend hdf5 -c tdaq_phase2.params --ExperimentNumber=2

Make plots

  • cd powerdevs/examples/tdaq_phase2
  • source /cvmfs/sft.cern.ch/lcg/views/LCG_96python3/x86_64-centos7-gcc8-opt/setup.sh 
  • python3 plot.py

Known issues

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r3 - 2022-02-25 - AdamAbedAbud
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback