The full instruction is here http://drupal.star.bnl.gov/STAR/comp/sofi/installing
The actual order of steps is loosely related to the instruction above.
- Assumptions:
- start with a fresh copy of operating system. I used SL5.3_x86_64.
- you have full credentials at RCF, know enough login and scp files in and out
- you will install all STAR software as non-root in a user home dir (except rpm's for which you need root)
- Setting up your computing environment
- create user = balewski
- switch shell to be tcsh
type ps, if you do not see 'tcsh' you must change your shell Code Block |
---|
>chsh
enter: /bin/tcsh
|
Now logout, login, and again type 'ps' - pick name for directory for STAR software
> mkdir star_soft - Set up your login by copying the following scripts from RCF
>cp /afs/rhic.bnl.gov/star/group/templates/cshrc ~/.cshrc
>cp /afs/rhic.bnl.gov/star/group/templates/login ~/.login - tar, copy, untar the following RCF directory
/afs/rhic.bnl.gov/star/group
place it as sub dir here ~/star_soft/group - modify the variable GROUP_DIR located on top of your .login and .cshrc to point to the group directory
setenv GROUP_DIR /home/balewski/star_soft/group - add to /home/balewski/star_soft/group/site_pre_setup.csh 2 defines:
- xx setenv STAR_ROOT /home/balewski/star_soft
setenv USE_64BIT 1 - logout/login , you should see error:
Code Block |
---|
STAR: Undefined variable.
|
Jerome said one step in instruction is missing, ignore it and move on to the next step: Install CERN library
- Install CERN library. My host machine is SL5.3_x86_64.
- Ignore official instruction: http://drupal.star.bnl.gov/STAR/comp/sofi/installing/cern
- instead copy both 32 64-bit compiled cern libraries directly from rcas6nnn machine.
Code Block |
---|
tar -cf cernPro.tar /cern/pro/*
tar -cf cern64Pro.tar /cern64/pro/*
and few more dirs because they were soft-linked directly form AFS
32bit version: cernlib/i686-slc5-gcc41-opt/2006b/include/* , .../include
64bit version: patchy/4.15/bin/*
|
Scp the tar-balls to my host and unpack both as is at exactly the same location.
/afs/rhic.bnl.gov/rcfsl/
- sudo yum install gcc4.3-c++