Versions Compared

Key

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

...

How to build the software

## Go to the software rogue submodule:

$ cd atlas-chess2/software/rogue/

## Source the setup script:

$ source setup_template.csh

Info
titleSetup Scripts

This setup_template.csh is an example of all the software dependencies required to build the software.

## Build the Rogue software engine:

$ make

  • If your Linux machine does NOT have access to SLAC AFS, make sure to install the following libraries install:
    • python: 3.5.2 (or later)
    • boost: 1.62.0 (or later)

...

How to build the software

## ## After building the Rogue software engine, go to the software base directory:

$ cd atlas-chess2/software/

## If you have access to SLAC AFS and running C Shell:

$ source setup_template.csh

 

## If you have access to SLAC AFS and running BASH Shell Source the setup script:

$ source setup_template.cshsh


Info
titleSetup Scriptssetup_template.csh/setup_template.sh

This setup_template.csh is an example /setup_template.sh are examples of all the software dependencies required to build the software .

However if you make a custom setup script, make sure to include the python directory paths:

# Python Package directories

setenv FEB_DIR    ${PWD}/../firmware/common/AtlasChess2Feb

setenv SURF_DIR   ${PWD}/../firmware/submodules/surf

setenv ROGUE_DIR ${PWD}/rogue

and what environments variables need to be setup.

 

## Build the base software:

$ make

...

How to run the software

  • Before you can run the software, you will need to complete the step described in the "How to build the software" section above:.

## After building the Rogue software engine, go Go to the software base directory:

$ cd atlas-chess2/software/

 

## Source the setup script:

 

## If you have access to SLAC AFS and running C Shell:

$ source setup_template.csh

## If you have access to SLAC AFS and running BASH Shell:

$ source setup_template.sh

 

Info
titlesetup_template.csh/setup_template.sh

This setup_template.csh/setup_template.sh are examples of all the software dependencies required to build the software and what environments variables need to be setup.

 $ source setup_template.csh

## Launch the python GUI:

$ python3 scripts/FebGui.py 192.168.1.10 


Info
titleFebGui.py Usage

The  FebGui.py script accepts one argument.  If the argument is "PGP", the software will configure the communication for a PGP PCIe card.  Else the software will use the argument for the IP address of the carrier board.

Contact

Dionisio Doering  

ddoering@slac.stanford.edu