LHCb Windows nightlies configuration

N.B. LHCb software is no longer built on Windows. This page describes the situation at the end of 2011 and is kept for reference

Windows setup (should be done as lhcbsoft user)

Prerequirements

  • VC7: Visual Studio 2003 VC7, DF98 (Fortran compiler)
or:
  • VC9: Visual Studio 2008 VC9

Installation and configuration steps

  • install Python 2.6
  • add C:\Python26 to the System variables->Path

  • Set (permanently) variables:
    • AFS = Z:
    • AFSROOT = Z:
    • CMTCONFIG = i686-winxp-vc9-dbg (or: win32_vc71_dbg)
    • LOCALINSTALLDRIVE = E:
    • MYSITEROOT = E:\local\lib
    • VO_LHCB_SW_DIR=E:\local
    • BUILDROOT = F:\build
    • HOMEDRIVE = D:
    • HOMEPATH = \Profiles\lhcbsoft
    • CVS_RSH = C:\Program Files\CVSNT\cvs_plink.bat and create this file with contents:
      • @echo off
      • "c:\Program Files\PuTTY\plink.exe" %1 %4 %5

To switch off the Popup Error windows which appear from time to time making the Nightlies process to stop and wait for user reaction, do the following:

(more info: https://savannah.cern.ch/bugs/?45839#comment4)

  • prepare DOS console with LHCb environment (Desktop shortcut)
    • a shortcut with the following target (command):
      • %SystemRoot%\system32\cmd.exe /k Z:\cern.ch\lhcb\software\releases\LBSCRIPTS\prod\InstallArea\scripts\LbLogin.bat

  • create keys for Pageant (if it's not already there, created for the same user on another machine)
    • create a key (using Start -> All programs -> PuTTY -> PuTTygen) without a password.
    • Save the private key as G:\Users\l\lhcbsoft\Private\lhcbsoft.ppk and a public key in /afs/cern.ch/lhcb/user/l/lhcbsoft/.ssh/authorized_keys

  • Pageant configuration
    • add a shortcut to the Start -> All programs -> Startup
      • "C:\Program Files\PuTTY\pageant.exe" "G:\Users\l\lhcbsoft\Private\lhcbsoft.ppk"
      • It will start Pageant application everytime the you log in with a private key already accessible for PuTTY.

  • PUTTY configuration
    • Create stored sessions for the following servers:
      • isscvs.cern.ch
      • svn.cern.ch
      • setting in configuration for each: Connection -> SSH -> Auth ->
      • [V] "Attempt authentication using Pageant"
      • [ ] "Attempt keyboard-interactive auth (SSH-2)"

  • additional change for svn+ssh protocol (not anonymous)
    • Edit file: D:\Profiles\All Users\Application Data\Subversion
    • uncommenting the line:
      • # ssh = $SVN_SSH ssh
    • and changing it to:
      • ssh = $SVN_SSH "C:/Program Files/PuTTY/plink.exe"
      • ssh = $SVN_RSH "C:/Program Files/TortoiseSVN/bin/TortoisePlink.exe"

-- MarcoCattaneo - 26-Jun-2012

Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2012-06-26 - MarcoCattaneo
 
    • 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