Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
This page describes how to compile and run the RCE teststand software at SLAC and CERN. Checking out the packages from SLAC CVS requires a SLAC Unix login account. Required steps are identical for the SLAC and CERN environment unless otherwiese mentioned.
Setting the RCE development environment (C-Shell)

...

Code Block

source  /reg/g/atlas/rcecalib/setup/setup_rce.csh

*

To execute this setup at login the follwing lines should be assed to $HOME/.cshrc

...

Code Block

if ( -r /reg/g/atlas/rcecalib/setup/setup_rce.csh ) then
source  /reg/g/atlas/rcecalib/setup/setup_rce.csh >& /dev/null
endif

...

Setup for Bourne-Shell

...

Code Block

source  /reg/g/atlas/rcecalib/setup/setup_rce.sh

...

Or adding the follwing lines to $HOME/.bash_profile

...

Code Block

if [ !  -r /reg/g/atlas/rcecalib/setup/setup_rce.sh ]; then
source /reg/g/atlas/rcecalib/setup/setup_rce.sh 2>&1 > /dev/null
fi

...

Checking out  and setting up the RCE and STControl/PixLib packages into a directory

...

Code Block

cvs co -d rcerel_dir release
cd rcerel_dir
cvs co pixlib rce rceapp rceers rceowl rcecalib rceipc rceusr
cp rcecalib/projects.mk.template project.mk
patch -p0 < rcecalib/rce.patch

...

...

Building the RCE packages.

...

Note: the RCE needs to be compiled with the RCE_INTERFACE=1 option.

...

Code Block

make i386-linux
make ppc-rtems-rce405-opt RCE_INTERFACE=1

Edit setup_rce.csh and set the RCE release path

...