Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. git 2.2 and git-lfs will need to be installed.  This can be done through a conda environment or through the CentOS package manager (YUM).  
    1. For CentOS-7 
    2. sudo yum -y install https://centos7.iuscommunity.org/ius-release.rpm
    3. and then sudo yum -y install  git2u-all
    4. git lfs install
    5. (These instructions above maybe incorrect.)
  2. setup the Setup the ssh key for the compgithub and the machine.  See following links for more instructions
    1. https://help.github.com/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent/
    2. https://help.github.com/en/articles/adding-a-new-ssh-key-to-your-github-account

  3. clone the repository and update submodules
    1. {{git clone git@github.com:slaclab/lcls2-pcie-apps.git}}
    2. cd lcls2-pcie-apps
    3. git submodule init
    4. git submodule update --recursive
    5. git checkout pre-release
    6. git submodule update --recursive


  4. running the lcls2-pcie-apps vcs test
    1. the user_space_test1.sh located in lcls2-pcie-apps/tests script is a vcs / rogue integrated regression test and is designed to work out of the box.

    2. the firs time this script is run, the following commands maybe needed

      1. git-lfs install

      2. git-lfs pull

      3. git submodule foreach git-lfs pull

    3. The first time running this on a fresh CentOS 7 install will require the ncurses-devel packcage. The command is 

      1. sudo yum install ncurses-devel package

  5. aes-stream drivers
    1. {{git clone git@github.com:slaclab/aes-stream-drivers.git}}
  6. conda install rogue
    1. first get the anaconda or miniconda installer from https://docs.conda.io/en/latest/miniconda.html.  Rogue will take up 3.3 GB so install miniconda or anaconda on a local hard drive, not in the user nfs or afs home.
    2. install rogue using the description here https://slaclab.github.io/rogue/installing/anaconda.html