Checking which software is already installed

This script looks up the DIRAC Configuration Service.

$ dirac-lhcb-list-software
=========> Active LHCb Software For All System Configurations 
Boole                         v12r10                        slc4_ia32_gcc34               
Boole                         v16r3                         slc4_ia32_gcc34               
Brunel                        v30r17                        slc4_ia32_gcc34               
Brunel                        v31r12                        slc4_ia32_gcc34               
Brunel                        v32r5                         slc4_ia32_gcc34               
Brunel                        v32r8                         slc4_ia32_gcc34               
Brunel                        v33r3                         slc4_ia32_gcc34               
Brunel                        v33r3p1                       slc4_ia32_gcc34               
DaVinci                       v19r12                        slc4_ia32_gcc34               
DaVinci                       v19r13                        slc4_ia32_gcc34               
DaVinci                       v19r14                        slc4_ia32_gcc34               
DaVinci                       v19r7                         slc4_ia32_gcc34               
DaVinci                       v20r0                         slc4_ia32_gcc34               
DaVinci                       v20r1                         slc4_ia32_gcc34               
DaVinci                       v20r3                         slc4_ia32_gcc34               
DaVinci                       v21r0                         slc4_ia32_gcc34               
WARNING: DecFiles v13r16 is not defined for any system configurations
WARNING: DecFiles v13r17 is not defined for any system configurations
DecFiles                      v14r4                         slc4_amd64_gcc34,slc4_ia32_gcc34
DecFiles                      v14r5                         slc4_ia32_gcc34               
Dirac                         v4r2                          slc4_amd64_gcc34,slc4_ia32_gcc34
WARNING: Gauss v25r12 is not defined for any system configurations
Gauss                         v25r13                        slc4_ia32_gcc34               
Gauss                         v26r0                         slc4_ia32_gcc34               
Gauss                         v35r1                         slc4_ia32_gcc34               
ParamFiles                    v5r0                          slc4_amd64_gcc34,slc4_ia32_gcc34
XmlDDDB                       v22r2                         slc4_amd64_gcc34,slc4_ia32_gcc34
XmlDDDB                       v30r14                        slc4_amd64_gcc34,slc4_ia32_gcc34
=========> Deprecated LHCb Software 
Analysis.v1r10, Analysis.v1r6, Analysis.v1r7, Analysis.v1r8, Analysis.v1r9, Boole.v14r0, Boole.v14r7, Boole.v14r8, Boole.v15r1, Boole.v6r5, Brunel.v24r6, Brunel.v30r14, Brunel.v31r4, Brunel.v31r5, Brunel.v31r6, Brunel.v31r9, Brunel.v32r3, Brunel.v32r3p1, Brunel.v33r3, DaVinci.v19r1, DaVinci.v19r10, DaVinci.v19r2, DaVinci.v19r3, DaVinci.v19r5, Davinci.v19r9, Davinci.v20r3, Dirac.v4r1p1, HLT.v1r5, HLT.v1r6, HLT.v1r7, HLT.v1r8, HLT.v1r9, HLT.v2r0, HLT.v3r0, LHCb.v16r5, LHCb.v22r0, LHCb.v22r2, LHCb.v22r5, LbCom.v6r9, Lbcom.v6r0, Lbcom.v6r2, Lbcom.v6r4, Lbcom.v6r5, Phys.v5r0, Phys.v6r10, Phys.v6r2, Phys.v6r3, Phys.v6r4, Phys.v6r5, Phys.v6r6, Phys.v6r9, Rec.v4r4, Rec.v4r5, Rec.v4r9

Adding new software

You need to be a DIRAC admin to carry this out as it involves updating the CS.

$ lhcb-proxy-init -g diracAdmin
Enter Certificate password:
$ dirac-lhcb-add-software DaVinci v21r0
{'OK': True, 'Value': 'Modified /Operations/SoftwareDistribution/Active'}
Do you want to add DaVinci v21r0 for system configuration slc4_ia32_gcc34? [yes/no] : yes
Adding DaVinci.v21r0 for system configuration slc4_ia32_gcc34
{'OK': True, 'Value': 'Modified /Operations/SoftwareDistribution/slc4_ia32_gcc34'}
Do you want to add DaVinci v21r0 for system configuration slc4_amd64_gcc34? [yes/no] : no
Do you want to add DaVinci v21r0 for system configuration slc3_ia32_gcc323? [yes/no] : no
{'OK': True, 'Value': ''}
Successfully committed changes to CS

SAM

SAM jobs are usually submitted in safe mode such that they do not try to install new software. Therefore, the fact that new software is available should be announced at the operations meeting such that the appropriate SAM jobs can be submitted. These jobs contact the CS, pick up the changes to the list of software and then install it.

Removing software

$ dirac-lhcb-remove software DaVinci v21r0

-- GreigCowan - 09 Dec 2008

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r2 - 2008-12-09 - GreigCowan
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    LHCb All webs login

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