You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Next »

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)

*

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

*

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

*

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

*

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

*

Or adding the follwing lines to $HOME/.bash_profile

*

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

*

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 packages

Edit setup_rce.csh and set the RCE release path

setenv RELEASE <home_directory>/rcerel

Build the packages

cd rcerel
make i386_linux
make ppc-rtems-rce405-opt
cd ..

cd pixlib
source setup_rce.csh
make

  • No labels