Getting Started @ Jlab Linux Computer Farm
The program CVS repository exists under /group/primex .
/group is mounted from farm linux machines at Jlab.
- Define following environmental variables in $HOME/.cshrc
setenv CVSROOT /group/primex/CVS_REPOSITORY
setenv TOP_DIR $HOME/PrimEx
- % source ~/.cshrc
- Make sure your CVSROOT enviroment is aliased
% echo $CVSROOT /group/primex/CVS_REPOSITORY
- Setup the ROOT environment:
% setup root
- Create directory where you want to install programs, as defined
in TOP_DIR in .cshrc
% mkdir PrimEx
- Change directory
% cd PrimEx
- Download source programs from CVS repository.
% cvs checkout release
- Execute .cshrc script to setup enviromnent (Presently supports
only cshrc.)
% source /group/primex/scripts/primex_jlab.cshrc
- Make libraries
% make -C src/libraries
- Make root libraries
% make -C src/libraries/roottools
- Make executables
% make -C src/programs
- The executable will be installed under PrimEx/bin/Linux directory
(If you are installing in SunOS, then PrimEx/Bin/SunOS)
% ls bin/Linux
bankdump pflux_mon ...
|