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
Last revision Both sides next revision
asc:workbook_introduction [2023/08/14 19:16]
asc [After initial login]
asc:workbook_introduction [2023/08/14 19:19]
asc [Setting up some software]
Line 44: Line 44:
  
  
-<code>+<code bash>
 source /users/admin/share/sl7/setup.sh source /users/admin/share/sl7/setup.sh
 </code> </code>
 This setup uses the native Python2 from SL7 This setup uses the native Python2 from SL7
- 
- 
- 
-You can also setup basic programs using Python3. Create a setup file "setup.sh" as this: 
-<code> 
-#!/bin/bash 
-echo "Setup ROOT, PyROOT tensorflow" 
-export ATLAS_LOCAL_ROOT_BASE=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase 
-source ${ATLAS_LOCAL_ROOT_BASE}/user/atlasLocalSetup.sh 
-lsetup "views LCG_104 x86_64-centos7-gcc11-opt" 
-</code> 
- 
-Then you can setup many LCG packages as: 
- 
-<code> 
-source setup.sh 
-</code> 
- 
- 
- 
- 
- 
- 
-===== 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: 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:
Line 85: Line 53:
 <code bash>    <code bash>   
     alias ls='ls -F --color=auto'     alias ls='ls -F --color=auto'
-    source /share/sl6/set_asc.sh 
  </code>  </code>
  
Line 98: Line 65:
 </code> </code>
  
-All precompiled software is located here: 
  
 +== Python3 from LCG ==
 +
 +You can also setup basic programs using Python3. Create a setup file "setup.sh" as this:
 <code bash> <code bash>
-/share/sl6/+#!/bin/bash 
 +echo "Setup ROOT, PyROOT tensorflow" 
 +export ATLAS_LOCAL_ROOT_BASE=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase 
 +source ${ATLAS_LOCAL_ROOT_BASE}/user/atlasLocalSetup.sh 
 +lsetup "views LCG_104 x86_64-centos7-gcc11-opt"
 </code> </code>
 +
 +Then you can setup many LCG packages as:
 +
 +<code>
 +source setup.sh
 +</code>
 +
 +Please read the section [[asc:workbook_data|Working with data at ANL Tier3]] for details on how to store and process your data.
 +
  
 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".
asc/workbook_introduction.txt · Last modified: 2023/08/14 19:20 by asc