User Tools

Site Tools


asc:workbook_introduction

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
asc:workbook_introduction [2023/08/14 19:16]
asc [Setting up some software]
asc:workbook_introduction [2023/08/14 19:20] (current)
asc [Setting up ATLAS Software]
Line 49: Line 49:
 This setup uses the native Python2 from SL7 This setup uses the native Python2 from SL7
  
 +Check this by running "root" or "condor_status". You can also add the environmental variables automatically: Create '.bash_profile' file if it is not done yet, and put these lines:
  
 +<code bash>   
 +    alias ls='ls -F --color=auto'
 + </code>
 +
 +This will set up the recent version of ROOT with the native PYTHON 2.4 from SL5.3. Alternatively, put the above lines to the file '.bashrc' or run this command:
 +
 +At this point, no any atlas software is installed. Note that the same setup script also setup FASTJET and LHAPDF. Check this as
 +
 +<code bash>
 +echo $FASTJET
 +echo $LHAPDF
 +echo $PROMC
 +</code>
 +
 +
 +== Python3 from LCG ==
  
 You can also setup basic programs using Python3. Create a setup file "setup.sh" as this: You can also setup basic programs using Python3. Create a setup file "setup.sh" as this:
Line 68: Line 85:
 Please read the section [[asc:workbook_data|Working with data at ANL Tier3]] for details on how to store and process your data. Please read the section [[asc:workbook_data|Working with data at ANL Tier3]] for details on how to store and process your data.
  
- 
- 
- 
- 
-===== Default shell and  environment ===== 
- 
- 
-The default shell for the ANL ASC is bash. 
-To setup the necessary environment (ROOT, SVN etc), run this script: 
- 
-<code bash source.sh> 
-source /share/sl6/set_asc.sh 
-</code> 
- 
-Check this by running "root" or "condor_status". You can also add the environmental variables automatically: Create '.bash_profile' file if it is not done yet, and put these lines: 
- 
-<code bash>    
-    alias ls='ls -F --color=auto' 
-    source /share/sl6/set_asc.sh 
- </code> 
- 
-This will set up the recent version of ROOT with the native PYTHON 2.4 from SL5.3. Alternatively, put the above lines to the file '.bashrc' or run this command: 
- 
-At this point, no any atlas software is installed. Note that the same setup script also setup FASTJET and LHAPDF. Check this as 
- 
-<code bash> 
-echo $FASTJET 
-echo $LHAPDF 
-echo $PROMC 
-</code> 
- 
-All precompiled software is located here: 
- 
-<code bash> 
-/share/sl6/ 
-</code> 
  
 Before compiling any package, please check this directory. Note that you can also use cvmfs "localSetupSFT". Before compiling any package, please check this directory. Note that you can also use cvmfs "localSetupSFT".
Line 130: Line 111:
 Then "source set.sh" every time you login on atlas16-28 computers. Note: you should use the bash shell for this setup. If you are happy with this, one can put this line in .bash_profile or .bashrc files (if you are using bash shell and want to set up the ATLAS staff every time you login). You can change the ATLAS release and testarea by changing "AVERS" and "TEST_AREA" variables. Then "source set.sh" every time you login on atlas16-28 computers. Note: you should use the bash shell for this setup. If you are happy with this, one can put this line in .bash_profile or .bashrc files (if you are using bash shell and want to set up the ATLAS staff every time you login). You can change the ATLAS release and testarea by changing "AVERS" and "TEST_AREA" variables.
  
-You can also use packages compiled with RootCore. For SL6, they are located here: 
- 
-<code> 
- /share/sl6/AtlasRootCoreLib 
-</code> 
- 
- they were compiled against the native SL6 gcc (/usr/bin/gcc), native python (/usr/bin/python) and ROOT (source /share/grid/app/asc_app/asc_rel/1.0/setup-script/set_asc.sh). 
-If you want to recompile such packages using a different ROOT, simply 
-copy this directory to your directory, and run "A_COMPILE.sh" to recompile all these packages. 
- 
-If you need to add more packages, get them with svn: 
- 
-<code bash> 
-export SVNOFF=svn+ssh://svn.cern.ch/reps/atlasoff 
-svn co $SVNOFF/Reconstruction/Jet/ApplyJetCalibration/tags/ApplyJetCalibration-00-03-15 ApplyJetCalibration 
-</code> 
- 
-and run the script "A_COMPILE.sh" again. 
  
 Read more [[https://twiki.atlas-canada.ca/bin/view/AtlasCanada/ATLASLocalRootBase | about ATLASLocalRootBase]]. Read more [[https://twiki.atlas-canada.ca/bin/view/AtlasCanada/ATLASLocalRootBase | about ATLASLocalRootBase]].
asc/workbook_introduction.1692040618.txt.gz ยท Last modified: 2023/08/14 19:16 by asc