New User Tutorial

Commands-Only

(6/26 rough draft)


For commentary version click here.


While the tutorial is updated often, this is the last page to change. It is often in an 'inconsistant state' with the real tutorial. If you experience any problems, please check the other page for updates.



> ssh -l [username] rcf.rhic.bnl.gov       (Where [username] is your user name on RCF typed without brackets)

Add these lines to the .login file in your home directory:
source /opt/phenix/bin/phenix_setup.csh pro
setenv OBJY_LS_HOST rmine00.rhic.bnl.gov
setenv OO_FD_BOOT /phenix/data02/phnxreco/objy_try_cas/PHENIX_TRY_CAS
setenv OBJY_FDID 26727

Now add these lines to .cshrc :
setenv PH_HOME "/phenix/workarea/[username]/phool"

> source .login
> klog
[Username]@rhic's Password :
> mkdir /phenix/workarea/[username]/phool
> cd /phenix/workarea/[username]/phool
> cvs checkout offline/packages/gea/macros
> mkdir work
> cd work
> cp /afs/rhic/phenix/PHENIX_LIB/calibration/pro/MVD*.dat .
> cp /phenix/workarea/pope/data/*.dat .
> cp /phenix/workarea/pope/data/mu*.root .
> ln -s /phenix/workarea/phnxreco/software/calibration/pisafile.dat.cZ .
> cp /phenix/workarea/pope/CVSwork/offline/packages/bbc/wrk/root_macros/phnx.prdf .
> cd ~
> cp /opt/phenix/root/tutorials/.rootrc .

Now edit .rootrc and change the unix MacroPath line as follows :
Unix.*.Root.MacroPath:      .:$(ROOTSYS)/macros:$PH_HOME/offline/packages/gea/macros

Also, delete this line:
Unix.*.Root.DynamicPath:    .:$(ROOTSYS)/lib

> source .rootrc
> ssh phnxmut
[username]@phnxmut's password:
> cd /phenix/workarea/[username]/work

> root -b
[0] .x mutResp.C
[1] .q

> cd ..
> mkdir source
> cd source
> cvs checkout -d mut offline/packages/mut
> mkdir -p /phenix/data01/[username]/install
> mkdir -p /phenix/data01/[username]/build/mut
> cd /phenix/data01/[username]/build/mut
> $PH_HOME/source/mut/autogen.sh --prefix=/phenix/data01/[username]/install
> make
> make install

Add this line to the .login file in the home directory
setenv LD_LIBRARY_PATH "/phenix/data01/[username]/install/lib:${LD_LIBRARY_PATH}"

> setenv LD_LIBRARY_PATH "/phenix/data01/[username]/install/lib:${LD_LIBRARY_PATH}"
> cd /phenix/workarea/[username]/work
> root -b
[0] .x mutResp.C
[1] .file
[2] .q