WorkAreaSetup

From NETier2

Available releases at Tier 2

Setting up a new work area

Switch to zsh to avoid the 'Word too long' error (don't blame me for this):

% zsh

then setup CMT:

% source /atlasgrid/Grid3-app/atlas_app/atlas_rel/13.0.30/CMT/v1r20p20070720/mgr/setup.sh

Then create a requirements file, something like:

set CMTSITE STANDALONE

macro PROJ_RELEASE "13.0.x/13.0.30" \
        13.0.10        "13.0.10" \
        13.0.20        "13.0.20" \
        13.0.30        "13.0.30" \
        13.1.0         "13.1.0" \
        13.2.0         "13.2.0"

#set SITEROOT /atlasgrid/Grid3-app/atlas_app/atlas_rel/${PROJ_RELEASE}
set SITEROOT /atlasgrid/Grid3-app/atlas_app/atlas_rel/13.0.30

macro ATLAS_DIST_AREA ${SITEROOT}
#macro ATLAS_TEST_AREA ${HOME}/testarea/${PROJ_RELEASE}
macro ATLAS_TEST_AREA ${PWD}

apply_tag oneTest
apply_tag setupCMT
apply_tag setup
apply_tag projectArea

macro SITE_PROJECT_AREA ${SITEROOT}
macro EXTERNAL_PROJECT_AREA ${SITEROOT}

use AtlasLogin AtlasLogin-* $(ATLAS_DIST_AREA)

set CMTCONFIG i686-slc3-gcc323-opt
set DBRELEASE_INSTALLED  3.1.1

and do

% cmt config

Once this is done, do

% source setup.sh -tag=13.0.30,opt,setup

or, to get the 13.0.30.9 patch, do the following instead:

% source setup.sh -tag=AtlasPoint1,13.0.30.9,opt,setup

For subsequent returns to your work area from new terminals, it is sufficient to do:

% zsh

% source /atlasgrid/Grid3-app/atlas_app/atlas_rel/13.0.30/CMT/v1r20p20070720/mgr/setup.sh

% source setup.sh -tag=13.0.30,opt,setup