Difference: RunningAnalysis (1 vs. 9)

Revision 92009-07-24 - WilliamSeligman

Line: 1 to 1
Changed:
<
<
META TOPICPARENT name="WebHome"
>
>
META TOPICPARENT name="Trash.CosmicRay"
 

Basic analysis setup at Nevis

Work in zsh, so start with "zsh".

Revision 82008-07-07 - GustaafBrooijmans

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

Basic analysis setup at Nevis

Work in zsh, so start with "zsh".

Added:
>
>
Specifics for release 14.2.10:
i686-slc3-gcc323-opt -> i686-slc4-gcc34-opt
gcc-3.2.3 -> gcc-3.4.6 
 Create a $HOME/cmthome directory, and in it create a requirements file to look like this:

Revision 72008-04-24 - AlexPenson

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

Basic analysis setup at Nevis

Revision 62008-03-04 - GustaafBrooijmans

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

Basic analysis setup at Nevis

Line: 9 to 9
 
#---------------------------------------------------------------------
set CMTSITE STANDALONE
Changed:
<
<
set SITEROOT /a/data/kolya/athena/12.0.6 macro ATLAS_DIST_AREA /a/data/kolya/athena/12.0.6 macro ATLAS_TEST_AREA ${HOME}/hdisk2/126
>
>
set SITEROOT /a/data/kolya/athena/13.0.40 macro ATLAS_DIST_AREA /a/data/kolya/athena/13.0.40 macro ATLAS_TEST_AREA ${HOME}/hdisk2/
 apply_tag projectArea macro SITE_PROJECT_AREA ${SITEROOT} macro EXTERNAL_PROJECT_AREA ${SITEROOT}
Line: 23 to 23
 #---------------------------------------------------------------------
Changed:
<
<
Note that my work area is $HOME/hdisk2/126. You need to pick a place you can write to. You need to mkdir /12.0.6.
>
>
Note that my work area is $HOME/hdisk2/. You need to pick a place you can write to. You need to mkdir workarea/13.0.40.
  The first time you'll need to
Changed:
<
<
source /a/data/kolya/athena/13.0.20/CMT/v1r20p20070524/mgr/setup.sh
>
>
source /a/data/kolya/athena/13.0.40/CMT/v1r20p20070720/mgr/setup.sh
 cmt config
Changed:
<
<
Other times it'll be sufficient to source the script below
>
>
Other times it'll be sufficient to source the script below
 
Changed:
<
<
Now create the following script (or copy ~gusbroo/atlas-scripts/1206first-works.sh)
>
>
Now create the following script (or copy ~gusbroo/atlas-scripts/13040.sh)
 
#---------------------------------------------------------------------
#!/bin/zsh
Line: 46 to 44
  # Where is the kit? And what release?
Changed:
<
<
export AtlasRelease=12.0.6
>
>
export AtlasRelease=13.0.40
 export KitLocation=/a/data/kolya/athena export DistributionKit=${KitLocation}/${AtlasRelease}

# PLEASE choose YOUR WorkArea (or TestArea) instead of the following: #-------------------------------------------------------------------

Changed:
<
<
export WorkArea=${HOME}/hdisk2/126
>
>
export WorkArea=${HOME}/hdisk2/
 echo WorkArea: ${WorkArea} export CMTPATH=${WorkArea}/${AtlasRelease}:${CMTPATH}

cd ~/cmthome

Changed:
<
<
source ${DistributionKit}/CMT/v1r19/mgr/setup.sh
>
>
source ${DistributionKit}/CMT/v1r20p20070720/mgr/setup.sh
 cmt config
Changed:
<
<
source ~/cmthome/setup.sh -tag=12.0.6
>
>
source ~/cmthome/setup.sh -tag=13.0.40
 echo CMTPATH_1: ${CMTPATH} echo CMTCONFIG: ${CMTCONFIG} echo CMTROOT: $CMTROOT # For SLC4 compilation of Athena, need the older compiler... but NOT # the older compiler libraries!
Changed:
<
<
export PATH=/usr/nevis/gcc-3.4.6/bin:${PATH}
>
>
export PATH=/usr/nevis/gcc-3.2.3/bin:${PATH}
  cd ${WorkArea}/${AtlasRelease} #---------------------------------------------------------------------
Line: 83 to 80
  Use your (CERN) account. I'm not giving you my password.
Changed:
<
<
You can now cmt co -r AnalysisExamples-00-14-21-02 PhysicsAnalysis/AnalysisCommon/AnalysisExamples
>
>
You can now cmt co -r AnalysisExamples-00-14-21-02 PhysicsAnalysis/AnalysisCommon/AnalysisExamples
  Then:
Line: 95 to 91
 gmake
Changed:
<
<
If all of this works, you're in good shape. If it doesn't, you may have changed something you shouldn't have, or there's some other problem. Don't come to me before you've tried at least 5 different things to fix it.

The actual place to write new code is in UserAnalysis. Do a cmt show versions  PhysicsAnalysis/AnalysisCommon/UserAnalysis to see which version is used, check it out and build it.

>
>
If all of this works, you're in good shape. If it doesn't, you may have changed something you shouldn't have, or there's some other problem. Don't come to me before you've tried at least 5 different things to fix it.
 
Changed:
<
<
-- GustaafBrooijmans - 19 Jul 2007
>
>
The actual place to write new code is in UserAnalysis. Do a cmt show versions PhysicsAnalysis/AnalysisCommon/UserAnalysis to see which version is used, check it out and build it.
 
Added:
>
>
-- GustaafBrooijmans - 4 Mar 2008

Revision 52008-01-29 - GustaafBrooijmans

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

Basic analysis setup at Nevis

Line: 26 to 26
 Note that my work area is $HOME/hdisk2/126. You need to pick a place you can write to. You need to mkdir /12.0.6.
Added:
>
>
The first time you'll need to
source /a/data/kolya/athena/13.0.20/CMT/v1r20p20070524/mgr/setup.sh
cmt config
Other times it'll be sufficient to source the script below
  Now create the following script (or copy ~gusbroo/atlas-scripts/1206first-works.sh)

Revision 42007-11-02 - GustaafBrooijmans

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

Basic analysis setup at Nevis

Line: 67 to 67
 #---------------------------------------------------------------------
Changed:
<
<
Remember to change the WorkArea to somewhere you can write.
>
>
Remember to change the WorkArea to somewhere you can write. Source this script (every time you open a new window).
  If you need cvs (not every day presumably), you'll need to source a script that looks like this:

Revision 32007-07-20 - GustaafBrooijmans

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

Basic analysis setup at Nevis

Line: 93 to 93
 something you shouldn't have, or there's some other problem. Don't come to me before you've tried at least 5 different things to fix it.
Added:
>
>
The actual place to write new code is in UserAnalysis. Do a cmt show versions  PhysicsAnalysis/AnalysisCommon/UserAnalysis to see which version is used, check it out and build it.
 -- GustaafBrooijmans - 19 Jul 2007

Revision 22007-07-20 - GustaafBrooijmans

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

Basic analysis setup at Nevis

Changed:
<
<
This does not currently work

Note that this assumes you'll work in a single test area for a while. This isn't necessarily the right thing to do.

I work in bash, so start with "bash".

>
>
Work in zsh, so start with "zsh".
  Create a $HOME/cmthome directory, and in it create a requirements file to look like this:
Line: 29 to 24
 

Note that my work area is $HOME/hdisk2/126. You need to pick a place you can write to.

Added:
>
>
You need to mkdir /12.0.6.
 
Changed:
<
<
Now, before you can work the first time, go to cmthome and
>
>
Now create the following script (or copy ~gusbroo/atlas-scripts/1206first-works.sh)
 
Changed:
<
<
bash-3.1$ source /a/data/kolya/athena/12.0.6/CMT/v1r19/mgr/setup.sh bash-3.1$ cmt config
>
>
#--------------------------------------------------------------------- #!/bin/zsh

# Setup for run at Nevis (based on kit)

pwd_func() { echo `pwd`; } alias /bin/pwd=pwd_func alias /bin/pwd

# Where is the kit? And what release?

export AtlasRelease=12.0.6 export KitLocation=/a/data/kolya/athena export DistributionKit=${KitLocation}/${AtlasRelease}

# PLEASE choose YOUR WorkArea (or TestArea) instead of the following: #------------------------------------------------------------------- export WorkArea=${HOME}/hdisk2/126

echo WorkArea: ${WorkArea} export CMTPATH=${WorkArea}/${AtlasRelease}:${CMTPATH}

cd ~/cmthome source ${DistributionKit}/CMT/v1r19/mgr/setup.sh cmt config

source ~/cmthome/setup.sh -tag=12.0.6 echo CMTPATH_1: ${CMTPATH} echo CMTCONFIG: ${CMTCONFIG} echo CMTROOT: $CMTROOT # For SLC4 compilation of Athena, need the older compiler... but NOT # the older compiler libraries! export PATH=/usr/nevis/gcc-3.4.6/bin:${PATH}

cd ${WorkArea}/${AtlasRelease} #---------------------------------------------------------------------

 
Changed:
<
<
This will create some scripts. Then exit your shell, bash again, and in your work area do source ${HOME}/cmthome/setup.sh -tag=12.0.6,32 (replace 32 with 64 if you're going to work on a 64-bit machine).
>
>
Remember to change the WorkArea to somewhere you can write.
  If you need cvs (not every day presumably), you'll need to source a script that looks like this:
Line: 49 to 78
 Use your (CERN) account. I'm not giving you my password.

You can now

Changed:
<
<
cmt co -r AnalysisExamples-00-14-21-02 PhysicsAnalysis/AnalysisCommon/AnalysisExamples
>
>
cmt co -r AnalysisExamples-00-14-21-02 PhysicsAnalysis/AnalysisCommon/AnalysisExamples

Then:

 
Added:
>
>
cd PhysicsAnalysis/AnalysisCommon/AnalysisExamples/cmt cmt config source setup.sh gmake
 
Changed:
<
<
<\verbatim>
>
>
If all of this works, you're in good shape. If it doesn't, you may have changed something you shouldn't have, or there's some other problem. Don't come to me before you've tried at least 5 different things to fix it.
  -- GustaafBrooijmans - 19 Jul 2007

Revision 12007-07-19 - GustaafBrooijmans

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="WebHome"

Basic analysis setup at Nevis

This does not currently work

Note that this assumes you'll work in a single test area for a while. This isn't necessarily the right thing to do.

I work in bash, so start with "bash".

Create a $HOME/cmthome directory, and in it create a requirements file to look like this:

#---------------------------------------------------------------------
set CMTSITE STANDALONE
set SITEROOT /a/data/kolya/athena/12.0.6
macro ATLAS_DIST_AREA /a/data/kolya/athena/12.0.6
macro ATLAS_TEST_AREA ${HOME}/hdisk2/126
apply_tag projectArea
macro SITE_PROJECT_AREA ${SITEROOT}
macro EXTERNAL_PROJECT_AREA ${SITEROOT}
apply_tag setup
apply_tag simpleTest
use AtlasLogin AtlasLogin-* $(ATLAS_DIST_AREA)
set CMTCONFIG i686-slc3-gcc323-opt
set DBRELEASE_INSTALLED 3.1.1
#---------------------------------------------------------------------

Note that my work area is $HOME/hdisk2/126. You need to pick a place you can write to.

Now, before you can work the first time, go to cmthome and

bash-3.1$ source /a/data/kolya/athena/12.0.6/CMT/v1r19/mgr/setup.sh
bash-3.1$ cmt config

This will create some scripts. Then exit your shell, bash again, and in your work area do source ${HOME}/cmthome/setup.sh -tag=12.0.6,32 (replace 32 with 64 if you're going to work on a 64-bit machine).

If you need cvs (not every day presumably), you'll need to source a script that looks like this:

klog.krb -cell cern.ch -principal gbrooijm
export CVSROOT=:kserver:gbrooijm@atlas-sw.cern.ch:/atlascvs

Use your (CERN) account. I'm not giving you my password.

You can now cmt co -r AnalysisExamples-00-14-21-02 PhysicsAnalysis/AnalysisCommon/AnalysisExamples


<\verbatim>

-- Nevis.GustaafBrooijmans - 19 Jul 2007
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback