1) Preform the pre-requirements before cloning: https://confluence.slac.stanford.edu/display/ppareg/Proto-DUNE%3A+How+to+setup+a+temporary+tunnel+for+github
2) Clone the github repository (example below shows the CERN test stand):
Code Block |
---|
|
$ ssh np04-srv-009 -Y
$ cd /nfs/sw/rce
$ source setup.sh
$ git clone --recursive git@github.com:slaclab/proto-dune
# for development version
$ source setup.sh dev
$ git clone --recursive git@github.com:slaclab/proto-dune proto-dune-dev |
3) Source the setup script
- Xilinx Vivado software environment is required for the aes-stream-drivers's Makefile
Code Block |
---|
|
# If building on CERN Network
$ source proto-dune/firmware/setup_env_cern.sh
# If building on SLAC Network
$ source proto-dune/firmware/setup_env_slac.sh
# If building on BU Network
$ source proto-dune/firmware/setup_env_bu.sh |
4) Build the RCE DMA drivers:
- Only required to be performed once after git clone checkout (or if DMA driver is changed)
Code Block |
---|
|
# Go to the driver directory
$ cd ${RCE_GIT}/software/aes-stream-drivers/
# Build the driver with the "rce_install" flag
$ make rce_install |
5) Build the Linux host software:
- Only required to be performed once after git clone checkout (or if Linux host software is changed)
Code Block |
---|
|
$ cd ${RCE_GIT}/software/protoDUNE
$ source setup_env.sh
$ make |
6) Build the RCE server software:
- Only required to be performed once after git clone checkout (or if Linux host software is changed)
Code Block |
---|
|
$ rce_talk CERN-DTM1 build_rce_software |
Contact
JJ Russell
russell@slac.stanford.edu