CMSBrownBag,05/29/2007 B.Mangano How to “use” CMSSW on own Linux Box and be happy In this context “use” means: - check-out pre-compiled CMSSW code - run.

Slides:



Advertisements
Similar presentations
Version Control System (Sub)Version Control (SVN).
Advertisements

Chapter 2 Accessing Your System and the Common Desktop Environment.
CVS Selim Çıracı Ahmet Kara Metin Tekkalmaz. CVS – Open Source Version Control System Outline What are Version Control Systems? And why do we need them?
Lesson 5-Accessing Networks. Overview Introduction to Windows XP Professional. Introduction to Novell Client. Introduction to Red Hat Linux workstation.
Lesson 4-Installing Network Operating Systems. Overview Installing and configuring Novell NetWare 6.0. Installing and configuring Windows 2000 Server.
Low level CASE: Source Code Management. Source Code Management  Also known as Configuration Management  Source Code Managers are tools that: –Archive.
Guide To UNIX Using Linux Third Edition
Introduction to CVS 7/3/20151UMBC CMSC 341. Outline Introduction to Source Code Management What is CVS? CVS for Project Submission Basic commands Checkout,
Embedded Programming and Robotics Lesson 12 Introducing the Raspberry Pi Intro to Raspberry Pi1.
SubVersioN – the new Central Service at DESY by Marian Gawron.
Setting up a Subversion repository By: Matt Krass Last Updated: 4/11/07.
By Steven Campbell and Erik Boone.  Sharing projects by putting them into a central repository.  Checking out copies of projects from the repository.
Installing Windows Vista Lesson 2. Skills Matrix Technology SkillObjective DomainObjective # Performing a Clean Installation Set up Windows Vista as the.
1 Introduction to Tool chains. 2 Tool chain for the Sitara Family (but it is true for other ARM based devices as well) A tool chain is a collection of.
Introduction to UNIX/Linux Exercises Dan Stanzione.
STAR Software Basics Introduction to the working environment Lee Barnby - Kent State University.
Chapter-4 Windows 2000 Professional Win2K Professional provides a very usable interface and was designed for use in the desktop PC. Microsoft server system.
SCRAM Software Configuration, Release And Management Background SCRAM has been developed to enable large, geographically dispersed and autonomous groups.
May 10, 2012 Lloyd Moore, President/Owner. Quick Start Video Building Mobility 1.2 SDK Emulator Quirks Installing On A Device Summary Overview.
Review Security Hardening IPTables SELinux. Today Installations and updates – Rpm command and packages Apache “Issue Ownership”
Guideline: How to build AMSS source code? History: 01/02/ Make Draft 05/02/2010 – Release /02/2010 – Updated.
Git A distributed version control system Powerpoint credited to University of PA And modified by Pepper 8-Oct-15.
Object-Oriented Software Engineering Using UNIX groups and CVS Estimated Time: minutes.
Step By Step Windows Server 2003 Installation Guide Step By Step Windows Server 2003 Installation Guide.
Operating Systems & Information Services CERN IT Department CH-1211 Geneva 23 Switzerland t OIS Working with Windows 7 at CERN Michał Budzowski.
Indiana University’s Research File System. What is the IU Research File System? /user1/user2 /collaboration User 1, on campus User 2, somewhere else BACKUP.
Object-Oriented Analysis & Design Subversion. Contents  Configuration management  The repository  Versioning  Tags  Branches  Subversion 2.
An Intro to Concurrent Versions System (CVS) ECE 417/617: Elements of Software Engineering Stan Birchfield Clemson University.
DB Installation and Care Carmine Cioffi Database Administrator and Developer ICAT Developer Workshop, The Cosener's House August
CVS – concurrent versions system Network Management Workshop intERlab at AIT Thailand March 11-15, 2008.
9/2/ CS171 -Math & Computer Science Department at Emory University.
File sharing requirements of remote users G. Bagliesi INFN - Pisa EP Forum on File Sharing 18/6/2001.
CVS – concurrent versions system AROC Guatemala July 19-23, 2010 Guatemala City, Guatemala.
1 FreeBSD Installation AFNOG X Cairo, Egypt May 2009 Hervey Allen.
Code and Document Management Paul E. Reimer 21 June 2008.
NA61/NA49 virtualisation: status and plans Dag Toppe Larsen CERN
J.P. Wellisch, CERN/EP/SFT SCRAM Information on SCRAM J.P. Wellisch, C. Williams, S. Ashby.
12 CVS Mauro Jaskelioff (originally by Gail Hopkins)
Version Control System
Trilinos Framework: Next Steps Thursday November 9, :45-9:30 a.m. Jim Willenbring Mike Phenow.
Version Control and SVN ECE 297. Why Do We Need Version Control?
Oct HPS Collaboration Meeting Jeremy McCormick (SLAC) HPS Web 2.0 OR Web Apps and Databases (Oh My!) Jeremy McCormick (SLAC)
Geant4 is a toolkit to simulate the passage of particles through matter, and is widely used in HEP, in medical physics and for space applications. Ongoing.
20 October 2005 LCG Generator Services monthly meeting, CERN Validation of GENSER & News on GENSER Alexander Toropin LCG Generator Services monthly meeting.
ALSMS Upgrade Configuration Example Alcatel-Lucent Security Products Configuration Example Series.
Wouter Verkerke, NIKHEF 1 Using ‘stoomboot’ for NIKHEF-ATLAS batch computing What is ‘stoomboot’ – Hardware –16 machines, each 2x quad-core Pentium = 128.
Patrick Gartung 1 CMS 101 Mar 2007 Introduction to the User Analysis Facility (UAF) Patrick Gartung - Fermilab.
GIT ("personne pourrie" en argot britannique) End of CVS at Cern CMSSW code will be hosted on github.com Users free to choose GIT/svn and the hosting site.
Analysis Model Zhengyun You University of California Irvine Mu2e Computing Review March 5-6, 2015 Mu2e-doc-5227.
Installing git In Linux: sudo apt-get install git In Windows: download it from run the setuphttp://git-scm.com/download/win.
AAF tips and tricks Arsen Hayrapetyan Yerevan Physics Institute, Armenia.
Git A distributed version control system Powerpoint credited to University of PA And modified by Pepper 28-Jun-16.
Starting Analysis with Athena (Esteban Fullana Torregrosa) Rik Yoshida High Energy Physics Division Argonne National Laboratory.
Installing RMS 3.0 Contractor Mode
Working with Windows 7 at CERN
Operating System Kernel Compilation
Guide to Linux Installation and Administration, 2e
Installation and Configuration
Getting Started with R.
Feedback on a first use of the ALFA and O2 software
ALICE-Juniors Meeting
Creating a Windows 10 Virtual machine
Engineering Innovation Center
Operating System Kernel Compilation
Compilers, Make and SubVersion
CVS Concurrent Versioning System
Introduction to Athena
VirgoStaging Status F.Carbognani, S. Cortese, E. Pacaud.
Operating System Kernel Compilation
Presentation transcript:

CMSBrownBag,05/29/2007 B.Mangano How to “use” CMSSW on own Linux Box and be happy In this context “use” means: - check-out pre-compiled CMSSW code - run pre-compiled code - compile and then run my modified code - commit to the central CVS repository my code - do all the previous things on top of a CMSSW (pre)-release of my choice Own linux box means: - the desktop in my office or even my laptop. Something I can access directly. No ssh to lxplus, uaf.t2.ucsd, uaf.fnal,etc..

CMSBrownBag,05/29/2007 B.Mangano Motivations - Most of us has a 64-bit dual (quad) core machine which is used just to log into another machine where the job is actually run - uaf-1.ucsd.edu ( the currently most used machine to actually run CMSSW job) will not be enough in a short while. The number of real CMSSW users at UCSD is increasing - To develop code, often special release or nightly build are necessary. FNAL and Cern provides machine where all such releaseS are installed, but the connection is slow and painful. I want to log into FNAL only for mass production jobs! - I want to run Iguana (at least try...they told me that it is much faster now). And it can be “decently” used only from a local machine: Even if Iguana was speed-light fast, forwarding its graphic output through a ssh connection makes the user job much slow. No hope.

CMSBrownBag,05/29/2007 B.Mangano First installation of CMSSW -the installation of the first CMSSW release is lengthy because all the external packages CMSSW depends on (root, clhep, geant, special version of gcc,etc..) have to be installed too. It is about 2 GB of stuff. - The most complete guide I found is here: -If you plan to compile your own CMSSW code, special care has to be taken on 64-bit machine because CMSSW has to be compiled in 32-bit compatibility mode. An additional 32 bit library has to be installed: yum install glibc-devel x86-32.rpm By default only glibc-devel x86-64.rpm is installed

CMSBrownBag,05/29/2007 B.Mangano 2nd and further installations of CMSSW -It is pretty quick and easy. It takes no more than 15 minutes: without external package (already installed), a fresh CMSSW release is no more than 150 MB. export VO_CMS_SW_DIR=/code/osgcode/cmslocal/cms eval `$VO_CMS_SW_DIR/aptinstaller.sh config -path $VO_CMS_SW_DIR -arch slc4_ia32_gcc345 -csh` apt-get update apt-get install cms+cmssw+CMSSW_1_5_0_pre4 directory of your choice used during the first installation here you choose the (pre- )release you want

CMSBrownBag,05/29/2007 B.Mangano check-out and commit code from/to the central repository To just check-out code from the central CMSSW repository, the standard known recipe is enough: 1) export SSW 2) cvs login (use ‘98passwd’ as password) 3),4),... cvs co -rCMSSW_X_Y_Z SubSystem/Package To commit code, you need to authenticate yourself. There are 2 options. A) authenticate yourself every time you use a cvs command: 1) export CVSROOT=:kserver:cmscvs.cern.ch:/cvs_server/repositories/CMSSW 2),3),4),... cvs -d commit (insert your password for your ‘yourName’ account at cern)

CMSBrownBag,05/29/2007 B.Mangano check-out and commit code from/to the central repository B) authenticate yourself once (using a kerberos ticket): 1) export CVSROOT=:kserver:cmscvs.cern.ch:/cvs_server/repositories/CMSSW 2) kinit -4 -l 2d (insert your password only once) 3),4),... cvs commit (no password is requested this time) to be done only once. These line can go in the.bashrc file Nevertheless, to make kerberos4 works, these lines as to be added to 2 configuration files: CERN.CH CERN.CH afsdb1.cern.ch CERN.CH afsdb3.cern.ch CERN.CH afsdb2.cern.ch /etc/krb.conf.cern.ch CERN.CH /etc/krb.realms

CMSBrownBag,05/29/2007 B.Mangano summary Milestone: Yesterday I succeeded to install the last pre-release available (150pre4), fix some code, test it and commit it back to CVS. All from my desktop, all in few minutes Next: -try to use Iguana locally and see what happens. Thanks to J.Letts and O.Gutsche for the help