Difference: DIRACBinaries ( vs. 1)

Revision 12008-10-13 - RicardoGraciani

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="ProductionProcedures"
They are generated using the dirac-distribution script in any working dirac installation.

In order to get binaries compiled -b option must be set. By default HEAD version is used, so make use of appropriated -v flag to define the required version. Use -S to get full tars including all server components.

Example of expected output:

[volhcb09] /home/dirac> # dirac-distribution -v v3r4
2008-10-13 09:33:44 UTC dirac-distribution INFO   Preparing DIRAC distribution at "/tmp/dirac/DIRAC3ruhzzltmp"
2008-10-13 09:33:44 UTC dirac-distribution INFO   Retrieving DIRAC3/scripts
2008-10-13 09:33:47 UTC dirac-distribution INFO     Creating tar file DIRAC-scripts-v3r4.tar.gz
2008-10-13 09:33:47 UTC dirac-distribution INFO   Retrieving DIRAC3/DIRAC, DIRAC3/cmt, DIRAC3/DiracSys, DIRAC3/DiracConfig, DIRAC3/DiracHome, DIRAC3/WorkflowLib, DIRAC3/LHCbSystem
2008-10-13 09:38:14 UTC dirac-distribution INFO    Building "DIRAC"
2008-10-13 09:38:15 UTC dirac-distribution INFO     Creating tar file DIRAC-v3r4.tar.gz
2008-10-13 09:38:18 UTC dirac-distribution INFO   Retrieving DIRAC3/contrib/pyGSI, DIRAC3/external/openssl-0.9.7m, DIRAC3/external/sqlite-3.5.4, DIRAC3/external/Python-2.4.4, DIRAC3/external/Python-2.5.2, DIRAC3/external/runit
2008-10-13 09:38:43 UTC dirac-distribution INFO     Creating tar file DIRAC-external-client-v3r0.tar.gz
2008-10-13 09:38:44 UTC dirac-distribution INFO   Upload tar files to repository:
2008-10-13 09:38:44 UTC dirac-distribution INFO    ( cd /tmp/dirac/DIRAC3ruhzzltmp ; tar -cf - *.tar.gz ) | ssh lhcbprod@lxplus.cern.ch 'cd /afs/cern.ch/lhcb/distribution/DIRAC3 &&  tar -xvf - && ls *.tar.gz > DIRAC.list'
2008-10-13 09:38:44 UTC dirac-distribution INFO    ( cd /tmp/dirac/DIRAC3ruhzzltmp ; tar -cf - *.tar.gz ) | gsissh -p 1975 lhcbweb.pic.es 'cd /opt/dirac/webRoot/distribution/DIRAC3 &&  tar -xvf - && ls *.tar.gz > DIRAC.list'
2008-10-13 09:38:44 UTC dirac-distribution INFO   Remember to remove temporary Directory "/tmp/dirac/DIRAC3ruhzzltmp"

Full help:

[volhcb09] /home/dirac> # dirac-distribution --help

Usage: dirac-distribution [options]

   -b --build                  Prepare compile tars for local platform
   -d --debug                  Set debug flag
   -e --external=<version>     DIRAC-external <version> to install (overwrites -v)
   -h --help                   Print this
   -i --python=<24|25>         Use python<24|25>
   -r --repository=<rep>       Use <rep> as cvs repository
   -t --tar                    Retrieve from tar
   -u --url=<url>              Use <url> to download tarballs
   -v --version=<version>      DIRAC <version> to install
   -S --server                 Prepare full external tar
   -W --WorkflowLib=<version>  Build just WorkflowLib tar for <version>

  from DIRAC framework:

    -o --option=<Option=value> <Option=value> to add
    -s --section=<section>     Set base <section> for relative parsed options
    -c --cert=<cert>           Use server certificate <cert> to connect to Core Services

-- RicardoGraciani - 13 Oct 2008

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback