Installing TWIST GEANT 1.4 for a local (TRIUMF) TWIST cluster user

There are two types of users depending if they are participating
in the development of programs or not.
Users participating in the development are members of the group
e614cvs and they have WRITE access to CVS. 
Other users have only READ access to CVS. 
The main difference is the command used to get the code
from CVS: "checkout" assumes WRITE access to CVS
          "export" only needs READ access to CVS

A) Extracting from CVS the first time

Step 1 -
- Signon to an account on one of the TWIST linux cluster(ie lin05)

- Create  a directory for your work
  > mkdir -p  work
  > cd work

- >setenv CVSROOT /home/e614mgr/cvs

- >cvs checkout -d . -P admin/geant  (for e614cvs members)
or >cvs export -d . -D now admin/geant (for general users)
  >cd geant

Step 2 -
Decide if you want to use the STABLE version 1.4 or if 
you wish to get/participate easily in all new development.

STABLE version 
> cvs checkout -P -d 1.4 -r v1-4  geant
or >  cvs export -d 1.4 -r v1-4  geant
     (this should create a directory tree called 1.4)
> setup geant 1.4
or 
Development version
> cvs checkout -P -d 1.4devel   geant 
> setup geant 1.4devel


Step 3 -
- add the following lines to your .login (or put in a script)
       source ~e614/e614soft/triumf/setup.com  
       setenv CVSROOT /home/e614mgr/cvs
       setenv GEANT_COMMANDS ~/work/geant
       setup mofia 2.1 
       setup geant 1.4 or setup geant 1.4devel
       mlib                  (or "mlib debug" if you want debug mode)

- signoff
---------------------------------------------------------------------

B)  Working with your GEANT

- signon and make sure the above lines are executed

- >cd $GEANT_ROOT  (this should put you in your directory 
                    work/geant/1.4)
- >./make_all      (this scripts rebuilds everything)

- Sources are in $GEANT_SOURCE
  Run files are in $GEANT_RUN
  Look at files e614.com and e614.ffcards 

- Web documentation is found at
  http://e614slow.triumf.ca/e614/offline/geant/index.html