- Originally from Peter Kim, now maintained by Andy Haas -
EXPERT only! ! !
...
Ask Andy Haas to install new releases for you!
0) HN/e-news announcement of new release pacman package
https://groups.cern.ch/group/hn-atlas-releaseKitAnnounce/default.aspx
1) Before starting a new install, set up the environment variables:
RHEL4-32 bit: built on atlas-prod02.slac.stanford.edu:
...
:
...
RHEL5-32 bit: built on atlas-prod05.slac.stanford.edu:
Code Block |
---|
export PATH=/bin:/usr/bin:/usr/etc:/usr/afsws/bin:/usr/afsws/etc:/usr/bin/X11:. unset PYTHONPATH . /afs/slac/g/atlas/packages/pacman/3.29/setup.sh |
2) Go to the target release partitions, /c/ or /d/.:
Code Block |
---|
cd /afs/slac/g/atlas/c c # for example RHEL5-32bit(or d) |
Makes sure there is enough space with " fs lq * ".
There are 17 more AFS partitions mounted, in addition to the /c/ partition.
If more space is needed, send a request to unix-admin@slac.stanford.edu (All examples below will assume installation in /c/)
3) Installing base release: x.x.x
Issue the pacman command found in the HN/e-news announcement, and direct to pacman.log:
Code Block |
---|
pacman -allow any-platform trust-all-caches tar-overwrite -get http://atlas-computing.web.cern.ch/atlas-computing/links/kitsDirectory/projects/cache:AtlasProduction_1516_6_56_i686_slc5_gcc43_opt>> pacman.log &opt |
4) Installing AtlasProduction cache: x.x.x.x
After steps 1-3, setup the release:
Code Block |
---|
. ~/reldirs/15asetup 16.6.6/cmthome/setup.sh -tag=15.6.6,32 |
Issue the pacman command found in the HN/e-news announcement, and direct to pacman.log. For examplethen setup the release for cmt:
Code Block |
---|
pacman -get http://cern.ch/atlas-computing/links/kitsDirectory/Production/cache:AtlasProduction_1516_6_56_12_i686_slc5_gcc43_opt >> pacman.log & |
Note1: After the install is finished,
Code Block |
---|
cd /afs/slac/g/atlas/c/AtlasProduction/1516.6.56.12/AtlasProductionRunTime/cmt/ ; cmt config |
Note2: If the AtlasProduction package requires a new DBRelease, it has to be downloaded manually:
Code Block |
---|
pacman trust-all-caches -get http://atlas.web.cern.ch/Atlas/GROUPS/DATABASE/pacman4/DBRelease:DBRelease-current
|
See https://twiki.cern.ch/twiki/bin/viewauth/Atlas/AtlasDBRelease
; cd -
|
5) Problems with release install
Check the postings in https://groups.cern.ch/group/hn-atlas-releaseKitProblem/default.aspx
as others might have similar problems.
Ask Peter or Zach.
If all fails, start a new thread in that forum.
pacman documentation : http://atlas.bu.edu/~youssef/pacman/
If you ran out of disk space during an install, manually download the last missing tarball with a command like:
No Formatcode |
---|
wget http://atlas-computing.web.cern.ch/atlas-computing/links/kitsDirectory/projects/kits/AtlasAnalysis_16_5_0_i686_slc5_gcc43_opt.tar.gz |
...
8) Installing manually a DBrelease:
Check check here for what's available.
Code Block |
---|
pacman -allow trust-all-caches -get http://atlas.web.cern.ch/Atlas/GROUPS/DATABASE/pacman4/DBRelease:DBRelease-${DBRELEASE_VERSION}
|
9) Removing a release: (NEVER just use "rm -rf ..." - you'll confuse pacman!)
Code Block |
---|
pacman -remove AtlasProduction_16_0_2_3_i686_slc5_gcc43_opt
pacman -remove AtlasProduction_16_0_2_i686_slc5_gcc43_opt
|