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.

  1. Assumptions:
    1. start with a fresh copy of operating system. I used SL5.3_x86_64.
    2. you have full credentials at RCF, know enough login and scp files in and out
    3. you will install all STAR software as non-root in a user home dir (except rpm's for which you need root)
  2. Setting up your computing environment
    1. create user = balewski
    2. switch shell to be tcsh
      type ps, if you do not see 'tcsh' you must change your shell
       >chsh
       enter: /bin/tcsh
      
      Now logout, login, and again type 'ps'
    3. pick name for directory for STAR software
      > mkdir star_soft
    4. 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
    5. tar, copy, untar the following RCF directory
      /afs/rhic.bnl.gov/star/group
      place it as sub dir here ~/star_soft/group
    6. 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
    7. add to /home/balewski/star_soft/group/site_pre_setup.csh  2 defines:
    8. xx setenv STAR_ROOT /home/balewski/star_soft
      setenv USE_64BIT 1
    9. logout/login , you should see error:
       STAR: Undefined variable.
      
      Jerome said one step in instruction is missing, ignore it and move on to the next step: Install CERN library
  3. Install CERN library. My host machine is SL5.3_x86_64.
    1. Ignore official instruction: http://drupal.star.bnl.gov/STAR/comp/sofi/installing/cern
    2. instead copy both 32 64-bit compiled cern libraries directly from rcas6nnn machine.
            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/

  1. sudo yum install gcc4.3-c++
  • No labels