Introducing LCG Views. Pere Mato LIM Meeting, 16th January 2016

Similar documents
Facilitating Collaborative Analysis in SWAN

How to install and build an application

XIV Seminar on Software for Nuclear, Subnuclear and Applied Physics Alghero (ITALY) June Geant4 Installation.

How to install and build an application

How to install and build an application

Deep Learning With. Zhe Li Zhuoning Yuan Prof. Tianbao Yang

How to install and build an application. Giuliana Milluzzo INFN-LNS

Build a Geant4 application

Supported platforms & compilers Required software Where to download the packages Geant4 toolkit installation (release 10.1.p02)

Singularity tests at CC-IN2P3 for Atlas

8 Novembre How to install

Linux Software Installation Exercises 2 Part 1. Install PYTHON software with PIP

The Edit-Compile-Run Cycle. EECS 211 Winter 2017

Servicing HEP experiments with a complete set of ready integreated and configured common software components

GUT. GUT Installation Guide

HEP Software Installation

Data Analysis Frameworks

Global Software Distribution with CernVM-FS

Practical Statistics for Particle Physics Analyses: Introduction to Computing Examples

SLS Detectors software installation

Linux Software Installation Session 2. Qi Sun Bioinformatics Facility

Getting Arduino / XLR8 Setup On Linux

Doing a li6le astronomy with. Python. Ryan Cooke (K16) These slides & examples:

Can we further boost HPC Performance? Integrate IBM Power System to OpenStack Environment (Part 1) Ankit Purohit, Research Engineer NTT

ALIBUILD / PANDADIST. The New Build System for Panda

Data and Analysis preservation in LHCb

Big Data Analytics Tools. Applied to ATLAS Event Data

GNU-AVR Building the GNU AVR Toolchain for Mac OS X and Linux

CPPsim User Guide. Table of Contents Page 2 Installation Guide Page 10 Computer Setup Page 13 Running CPPsim Page 15 Possible Future Issues

Upgrading your GEANT4 Installation

GNU/Linux lab. Chisel. chisel/map/doors.txt

docker & HEP: containerization of applications for development, distribution and preservation

Linux Software Installation Part 2

Implementation of Continuous Integration for Linux Images

EtherLab R Version 2.1.0

Many packages require the additional devel packages. See below package. Install EPEL repo by down load the latest RPM for CentOS 6.

Game Engine Design. GNU/Linux lab. GNU/Linux lab. in this module we will examine: tools necessary to develop game engines:gdb,

NI-VISA for Solaris 1.x and 2.x SUN and GSUN Frameworks

Trivial Data Analysis for Geant4 Geant4 v9.3p01

Welcome to getting started with Ubuntu Server. This System Administrator Manual. guide to be simple to follow, with step by step instructions

Starting with an example.

User manual. Helsinki University of Technology T Software Development Project I

Nexus Application Development - SDK

Singularity tests. ADC TIM at CERN 21 Sep E. Vamvakopoulos

Lab #3 Automating Installation & Introduction to Make Due in Lab, September 15, 2004

Programming Proverbs

Installing the new LOFAR Software on a fresh Ubuntu 14.04

GUT. GUT Installation Guide

Linux Clusters Institute:

Getting Started with GEM

Molecular Forecaster Inc. Forecaster 1.2 Server Installation Guide

Computer Stuff. This FEA output is for a fairly simple geometry and the hot-spot is obvious.

Containers. Pablo F. Ordóñez. October 18, 2018

Employing HPC DEEP-EST for HEP Data Analysis. Viktor Khristenko (CERN, DEEP-EST), Maria Girone (CERN)

Unix/Linux Basics. Cpt S 223, Fall 2007 Copyright: Washington State University

Manual for installing NS2.29 under Window XP

Docker & why we should use it

Shifter and Singularity on Blue Waters

Qtopia Core Application Note

Building and Installing Software

CSC BioWeek 2018: Using Taito cluster for high throughput data analysis

CSC BioWeek 2016: Using Taito cluster for high throughput data analysis

Installation of CMSSW in the Grid DESY Computing Seminar May 17th, 2010 Wolf Behrenhoff, Christoph Wissing

EE516: Embedded Software Project 1. Setting Up Environment for Projects

Using Jails in FreeNAS to set up Backblaze B2

Introduction to the Command line. Introduction to the command line. Introduction to the Command line. GNU/Linux at South Wales

ALICE Grid/Analysis Tutorial Exercise-Solutions

McGill University School of Computer Science Sable Research Group. *J Installation. Bruno Dufour. July 5, w w w. s a b l e. m c g i l l.

Andrej Filipčič

CMake refactoring. P. Hristov 19/03/2014

Automation and Testing for Simplified Software Deployment

Movidius Neural Compute Stick

cgatools Installation Guide

Introduction to the shell Part II

Compiler Optimisation 2014 Course Project

Source pack installa0on of OpenFOAM. 4.0 into RHL. Open CAE Local Study Mee0ng Y. Takagi July 2, 2016

5.3 Install grib_api for OpenIFS

Setting up an SDK for Secondo

Overview of LHCb applications and software environment. Bologna Tutorial, June 2006

Updates from Edinburgh Computing & LHCb Nightly testing

VoiceGenie Hot Fix 17 Speech Resource Manager Release Notes

Image Sharpening. Practical Introduction to HPC Exercise. Instructions for Cirrus Tier-2 System

RTC 502 and its Git adapter, Git and its prerequisite

Git Tutorial. André Sailer. ILD Technical Meeting April 24, 2017 CERN-EP-LCD. ILD Technical Meeting, Apr 24, 2017 A. Sailer: Git Tutorial 1/36

LetItB Installation Manual. Okinawa Institute of Science and Technology Neural Computation Unit

RevKit User Manual. Version 1.3 April,

ESTABLISHED Paul Kunz SLAC. Overview. Examples. Expose the downsides. Benefits. Risks and Costs. Building with Automake 1 Paul F.

Knitro and AMPL Installation (1)

GRACES Data Reduction Cookbook

Application Management

musrsim and musrsimana tools for

Dynamic & Static Libraries in Linux (New Talk!) Wim Cardoen and Brett Milash CHPC User Services

1. Make sure you have home-brew installed. brew.sh

Android SDK under Linux

Linux Software Installation. Qi Sun Bioinformatics Facility

Ubuntu Manually Mount Cdrom Drive Command Line Vmware

Exercise to build and run a Geant4 simulation.

Migration Howto. Table Of Contents

catkin_tools Documentation

Downloading Device Packages

Transcription:

Introducing LCG Views Pere Mato LIM Meeting, 16th January 2016

Motivations Easy runtime environment setup Current methods allow to setup a running environment starting from a top level package/application (following dependencies) Setting-up the environment for a full LCG release is not obvious Fast runtime environment setup Scripts to setup the environment are slow (need to scan AFS or CVMFS) Faster runtime Reducing the PATH and LD_LIBRARY_PATH can speedup runtime Generic Docker images Docker images making use of the software in CVMFS Time to setup environment >> time to start the Docker container 2

What s a View AFS/CVMFS LCGInstall (scripts) <package>/<version>_<hash>/<platform> (A) all packages with all versions and all platforms CreateView (scripts) package selection <release>/<package>/<version>/<platform> (B) all packages with single version and all platforms <release>_<id>/<platform> (C) all packages with single version compacted and all platforms soft links /cvmfs/sft.cern.ch/lcg/views/<release>/<platform>/bin lib include... 3

Selection Defining the set of packages The default is to take all packages in a LCG release Sub-setting is possible Only one version per package Need a rule for multi-version packages (i.e. MC generators) Packages with major versions (i.e. Qt vs. Qt5) Selection of top level directories Many unneeded files with big chances of clash (README, ) Current list: [ aclocal', 'cmake', 'emacs', 'fonts', 'include', 'macros', 'test', tests', 'bin', 'config', 'etc', 'icons', 'lib', 'lib64', 'man', 'tutorials', 'share'] 4

Building an LCG View lcgcmake/cmake/scripts/create_lcg_view.py \ -r <release> \ -p <platform> \ -l /cvmfs/sft.cern.ch/lcg/releases \ -d -B \ /cvmfs/sft.cern.ch/lcg/views/<release>/<platform> Script developed by Ivan Razumov 1-2 minutes to produce the view File clashes while creating the soft-link are properly reported Possibility to fix them by fine-tuning the package backlist, top level directories, etc. 5

Environment Setup source /cvmfs/sft.cern.ch/lcg/views/<release>/<platform>/setup.[c]sh Sourcing a single and simple file sets the full environment for the complete view. It defines trivially: PATH, LD_LIBRARY_PATH PYTHONPATH CMAKE_PREFIX_PATH ROOTSYS, ROOT_INCLUDE_PATH Other variables can be added if needed 6

Use Cases: ROOTbooks source /cvmfs/sft.cern.ch/lcg/views/lcg_82rootaas6/x86_64-slc6-gcc49-opt/setup.csh root --notebook The command will open a web browser in which the use can create his/her notebooks The notebook will inherit the full environment All Python modules available All HEP libraries available E.g. ROOT, Fastjet, Geant4, 7

Use Case: ROOT as a Service ROOT as a Service ongoing development Based on CERN SSO, EOS, CERNBox, CVMFS, Dockers, OpenStack, etc. The user is able to select the LCG software release at the time of spawning it own server 8

Use Case:Building Software # Build and Run the Event ROOT example---------------------------------- wget http://root.cern.ch/download/event.tar.gz tar -zxf event.tar.gz cd event/build cmake.. make -j10./run ROOT # Build B1 basic Geant4 example---------------------------------------- mkdir build; cd build cmake <lcg-view>/share/geant4-10.1.2/examples/basic/b1 make -j10 #-Run B1 basic Geant4 example (needs data files)------------------------ setenv G4DATA /cvmfs/geant4.cern.ch/share/data setenv G4NEUTRONHPDATA $G4DATA/G4NDL4.5..../exampleB1 run1.mac Geant4 9

Conclusions LCG views has been demonstrated Thorough validation is still required Already useful for a number of use cases A number of problems needs to be tackled Delivery of package data (e.g. Geant4, LHAPDF, etc.) Installation of cmaketools package needs some tuning Project integration and testing builds on top of LCG Views? Experiment software on top of LCG Views? 10

Back-up Slides

Building CORAL Specially for Andrea wget http://service-spi.web.cern.ch/service-spi/external/tarfiles/coral-3_1_1.tar.gz tar -zxf CORAL-3_1_1.tar.gz cd CORAL-3_1_1 mkdir build;cd build cmake.. -DBoost_NO_BOOST_CMAKE=ON -DBINARY_TAG=x86_64-slc6-gcc49-opt make -j10 12