This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
asc:workbook_introduction [2023/08/14 19:16] asc [Computer farm] |
asc:workbook_introduction [2023/08/14 19:20] (current) asc [Setting up ATLAS Software] |
||
---|---|---|---|
Line 44: | Line 44: | ||
- | < | + | < |
source / | source / | ||
</ | </ | ||
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 " | ||
- | < | ||
- | #!/bin/bash | ||
- | echo "Setup ROOT, PyROOT tensorflow" | ||
- | export ATLAS_LOCAL_ROOT_BASE=/ | ||
- | source ${ATLAS_LOCAL_ROOT_BASE}/ | ||
- | lsetup "views LCG_104 x86_64-centos7-gcc11-opt" | ||
- | </ | ||
- | |||
- | Then you can setup many LCG packages as: | ||
- | |||
- | < | ||
- | source setup.sh | ||
- | </ | ||
- | |||
- | |||
- | ===== After initial login ===== | ||
- | |||
- | |||
- | About the scratch disk space: It is available on atlas1, | ||
- | |||
- | In some cases, you will need to access data from all computers. If data size is not large (not larger than 10 GB), one can put data on NFS: / | ||
- | |||
- | Please read the section [[asc: | ||
- | |||
- | |||
- | ===== 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 / | ||
- | </ | ||
Check this by running " | Check this by running " | ||
Line 91: | Line 53: | ||
<code bash> | <code bash> | ||
alias ls='ls -F --color=auto' | alias ls='ls -F --color=auto' | ||
- | source / | ||
</ | </ | ||
Line 104: | Line 65: | ||
</ | </ | ||
- | All precompiled software is located here: | ||
+ | == Python3 from LCG == | ||
+ | |||
+ | You can also setup basic programs using Python3. Create a setup file " | ||
<code bash> | <code bash> | ||
- | /share/sl6/ | + | #!/bin/bash |
+ | echo "Setup ROOT, PyROOT tensorflow" | ||
+ | export ATLAS_LOCAL_ROOT_BASE=/cvmfs/ | ||
+ | source ${ATLAS_LOCAL_ROOT_BASE}/ | ||
+ | lsetup "views LCG_104 x86_64-centos7-gcc11-opt" | ||
</ | </ | ||
+ | |||
+ | Then you can setup many LCG packages as: | ||
+ | |||
+ | < | ||
+ | source setup.sh | ||
+ | </ | ||
+ | |||
+ | Please read the section [[asc: | ||
+ | |||
Before compiling any package, please check this directory. Note that you can also use cvmfs " | Before compiling any package, please check this directory. Note that you can also use cvmfs " | ||
Line 135: | Line 111: | ||
Then " | Then " | ||
- | You can also use packages compiled with RootCore. For SL6, they are located here: | ||
- | |||
- | < | ||
- | / | ||
- | </ | ||
- | |||
- | they were compiled against the native SL6 gcc (/ | ||
- | If you want to recompile such packages using a different ROOT, simply | ||
- | copy this directory to your directory, and run " | ||
- | |||
- | If you need to add more packages, get them with svn: | ||
- | |||
- | <code bash> | ||
- | export SVNOFF=svn+ssh:// | ||
- | svn co $SVNOFF/ | ||
- | </ | ||
- | |||
- | and run the script " | ||
Read more [[https:// | Read more [[https:// |