Milan, 15 June 2001WP1 Meeting - F. Donno1 GRID Packaging and Code Management for WP1 F. Donno INFN - Pisa.

Slides:



Advertisements
Similar presentations
Die Linux Systemspezialisten11/13/06 Embedded Linux QA: Unit Testing with Open Source Embedded Linux QA: Unit Testing with Open Source.
Advertisements

C++ Development on Linux Agenda Introduction Editors Debuggers GUI IDEs Make Automake Exploring further.
Das GNU Build System Autotools Roman Leshchinsky David Schulz, Shaoke Wu.
Introduction to Maven 2.0 An open source build tool for Enterprise Java projects Mahen Goonewardene.
1 Departamento de Informatica, UTFSM. Agosto 2006 ACS Working Style Mauricio Araya: Team Leader ACS – UTFSM Team.
13-Jul-15Advanced Programming Spring 2002 autoconf Jonathan Lennox Department of Computer Science Columbia University.
EC Review – 01/03/2002 – G. Zaquine – Quality Assurance – WP12 – CS-SI – n° 1 DataGrid Quality Assurance Gabriel Zaquine Quality Engineer - WP12 – CS-SI.
Introduction to The Linaro Toolchain Embedded Processors Training Multicore Software Applications Literature Number: SPRPXXX 1.
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.
Debugging, Build and Version Control Rudra Dutta CSC Spring 2007, Section 001.
SDD/DFS R. Palsa VLT 2 nd Generation Instrumentation Pipelines, 19 Apr Ralf Palsa CVS, GNU Build Tools & Coding Standards.
SCRAM Software Configuration, Release And Management Background SCRAM has been developed to enable large, geographically dispersed and autonomous groups.
SPI Software Process & Infrastructure EGEE France - 11 June 2004 Yannick Patois
CCA Port, Component & Application Build Skeleton Templates “A new script toolkit for generating CCA build skeletons” Torsten Wilde and James Kohl Oak Ridge.
Hall C Software Development From the perspective of a user.
Project Source Code Structure and Build Process ● Remember consistency matters as source code structure, build process, and release processes are all intertwined.
Software Tools and Processes Training and Discussion October 16, :00-4:30 p.m. Jim Willenbring.
Development tools cvs, tkdiff, JBuilder, building GATE from the sources.
Trilinos 101: Getting Started with Trilinos November 7, :30-9:30 a.m. Mike Heroux Jim Willenbring.
Enabling the ARM Learning in INDIA ARM DEVELOPMENT TOOL SETUP.
Yannick Patois – CVS and Autobuild tools at CCIN2P3 – hepix - October, n° 1 CVS setup at CC-IN2P3 and Datagrid edg- build tools CVS management,
Software Engineering in Robotics Packaging and Deployment of Systems Henrik I. Christensen –
NICOS System of Nightly Builds for Distributed Development Alexander Undrus CHEP’03.
Makefiles CISC/QCSE 810. BeamApp and Tests in C++ 5 source code files After any modification, changed source needs to be recompiled all object files need.
INFSO-RI Enabling Grids for E-sciencE The gLite Software Development Process Alberto Di Meglio CERN.
Makefiles. makefiles Problem: You are working on one part of a large programming project (e. g., MS Word).  It consists of hundreds of individual.cpp.
LHCb and DataGRID - the workplan for 2001 Eric van Herwijnen Wednesday, 28 march 2001.
How to configure, build and install Trilinos November 2, :30-9:30 a.m. Jim Willenbring Mike Phenow.
Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of Energy’s National Nuclear.
RADE Project Generator. Outline Introduction Project Types Options Generator Files and Layout Source Control (Video 3 Min) Templates and Nifty Tools.
MavHome Software Development Guidelines G. Michael Youngblood Chief Scientist, MavHome The University of Texas at Arlington June 8, 2003.
National Center for Supercomputing ApplicationsNational Computational Science Grid Packaging Technology Technical Talk University of Wisconsin Condor/GPT.
10 May 2001DataGrid WP6 Meeting, CERN1 GRID The GRID Installation Toolkit A brief report F. Donno INFN - Pisa.
Distributed Java Programming Build Management  A repeatable build management process allows you to integrate the development efforts of your team.
Good Morning! f Tuesday, 28 January FPCLTF and CLHEP Walter E. Brown f Fermi National Accelerator Laboratory Z O O M.
14th Oct 2005CERN AB Controls Development Process of Accelerator Controls Software G.Kruk L.Mestre, V.Paris, S.Oglaza, V. Baggiolini, E.Roux and Application.
LHCb-ATLAS GANGA Workshop, 21 April 2004, CERN 1 DIRAC Software distribution A.Tsaregorodtsev, CPPM, Marseille LHCb-ATLAS GANGA Workshop, 21 April 2004.
GLite build and integration system Building and Packaging Robert HARAKALY
Getting Started with Trilinos October 14, :30-10:30 a.m. Jim Willenbring.
G.Govi CERN/IT-DB 1 September 26, 2003 POOL Integration, Testing and Release Procedure Integration  Packages structure  External dependencies  Configuration.
Maite Barroso - 10/05/01 - n° 1 WP4 PM9 Deliverable Presentation: Interim Installation System Configuration Management Prototype
Yannick Patois - Datagrid Software Repository Presentation - March, n° 1 Datagrid Software Repository Presentation CVS, packages and automatic.
Linux development Lection What we gonna do today Root privileges Software packages Managing software packages Build procedures Build components.
Software structure and distribution How to share your code with the rest of the world Why it has to be… AA: Kurtis AB: YongChul
C code organization CSE 2451 Rong Shi. Topics C code organization Linking Header files Makefiles.
INTRODUCTION TO AUTOCONF AND AUTOMAKE. GNU BUILD SYSTEM 1)GNU AUTOCONF 2)GNU AUTOMAKE 3)GNU LIBTOOL 4)GNU GETTEXT.
Installing Applications in FreeBSD lctseng. Computer Center, CS, NCTU 2 Before we start  Permission issue root: the super user Like administrator in.
Build Tools 1. Building a program for a large project is usually managed by a build tool that controls the various steps involved. These steps may include:
How to configure, build and install Trilinos November 2, :30-9:30 a.m. Jim Willenbring.
Installing Applications in FreeBSD. Computer Center, CS, NCTU 2 Install software  Package Pre-built rpm, yum, dpkg, … FreeBSD: pkg_add, pkg_delete, pkg_info.
SVN code server for AliRoot P.Hristov 18/10/2007.
GLite build and integration system Building and Packaging Robert HARAKALY
JRA1 Meeting – 09/02/ Software Configuration Management and Integration EGEE is proposed as a project funded by the European Union under contract.
Maven. Introduction Using Maven (I) – Installing the Maven plugin for Eclipse – Creating a Maven Project – Building the Project Understanding the POM.
Wed Mar Michael Imamura / The GNU Autotools Your very own./configure.
MAY 18, 2016 BARRY SMITH MATHEMATICS AND COMPUTER SCIENCE DIVISION ARGONNE NATIONAL LABORATORY WEBINAR SERIES: COLLABORATION AMONG THE IDEAS SCIENTIFIC.
Maite Barroso – WP4 Workshop – 10/12/ n° 1 -WP4 Workshop- Developers’ Guide Maite Barroso 10/12/2002
“Port Monitor”: progress & open questions Torsten Wilde and James Kohl Oak Ridge National Laboratory CCA Forum Quarterly Meeting Santa Fe, NM ~ October.
CLHEP Infrastructure Improvements CHEP 2004 Lynn Garren, FNAL and Andreas Pfeiffer, CERN.
Lecture 6 UNIX Development Tools. Software Development Tools.
Fixing autotools-related build issues
Developing Portable Applications ● Introduction GNU autotools – GNU toolchain ● Goals - cross-platform ● Supported platforms (POSIX compliant) ● GNU autotools.
A gentle introduction to Autotools The good, the bad and the ugly Kees-Jan Dijkzeul October 28 th, 2010.
Autoconf, Automake, and Libtool Tom Tromey. Copyright ● Copyright 2006 Tom Tromey ● Parts Copyright 2006 Alexandre Duret-Lutz ●
Software Package development and management
DataGrid Quality Assurance
Build and Package CSE 403 section, 2011 Feb 3, Hao Lu.
June 2011 David Front Weizmann Institute
The GNU Autotools: autoconf, automake, (libtool)
SEAL Project Core Libraries and Services
Presentation transcript:

Milan, 15 June 2001WP1 Meeting - F. Donno1 GRID Packaging and Code Management for WP1 F. Donno INFN - Pisa

Milan, 15 June 2001WP1 Meeting - F. Donno2 GRID CVS Repository CVS repository browsable via WEB and with ssh-agent authentication Directory structure: gdmp/Commongdmp/config gdmp/ControlMsgsgdmp/doc gdmp/DataMovergdmp/etc gdmp/FlatFilegdmp/lib …gdmp/test gdmp/Maingdmp/utils

Milan, 15 June 2001WP1 Meeting - F. Donno3 GRID Build/Distribution Tools Use GNU Autotools (it helps configure automatically the software source code packages to adapt to many kind of UNIX-like systems). autoconf, automake and libtool configure.in and Makefile.am A bootstrap file to execute preliminary steps.

Milan, 15 June 2001WP1 Meeting - F. Donno4 GRID Build/Distribution Tools bootstrap configure –prefix= --with-package= make make test make install make dist make clean make distclean

Milan, 15 June 2001WP1 Meeting - F. Donno5 GRID An example of configure.in dnl Process this file with autoconf to dnl produce a configure script. AC_INIT(Common/gdmp_common.C) dnl set config options AM_CONFIG_AUX_DIR(config) AM_CONFIG_HEADER(config.h) AM_INIT_AUTOMAKE(gdmp,1.2.2) dnl Checks for programs. AC_PROG_CXX dnl Checks for use of libtool AM_PROG_LIBTOOL dnl Define required variables. AC_SUBST(GLOBUS_INSTALL_PATH) AC_SUBST(GDMP_INSTALL_DIR) AC_SUBST(NCFTP_SRC_DIR) AC_SUBST(GLOBUS_REP_CAT_DIR) dnl Checks for libraries. dnl Replace `main' with a function dnl in -lpthread: AC_CHECK_LIB(pthread, main) dnl Checks for header files. AC_HEADER_DIRENT AC_HEADER_STDC AC_CHECK_HEADERS(fcntl.h malloc.h sys/file.h unistd.h) dnl Checks for typedefs, structures, and compiler characteristics. AC_C_CONST AC_TYPE_SIZE_T dnl Checks for library functions. AC_FUNC_UTIME_NULL AC_CHECK_FUNCS(putenv strdup strtoul) AC_OUTPUT(Common/Makefile Threads/Makefile DataMover/Makefile ControlMsgs/Makefile RequestManager/Makefile Security/Makefile DBManager/Makefile ReplicaCatalogue/Makefile StagingPlugins/Makefile Misc/Makefile lib/Makefile Main/Makefile Makefile etc/gdmp_environment etc/Makefile utils/gdmp_server_start utils/Makefile)

Milan, 15 June 2001WP1 Meeting - F. Donno6 GRID An example of Makefile.am include $(top_srcdir)/makefile_header Commonincdir = $(prefix)/include/gdmp Commoninc_HEADERS = gdmp_common.h noinst_LTLIBRARIES = libCommon.la libCommon_la_SOURCES = gdmp_common.C gdmp_common.h

Milan, 15 June 2001WP1 Meeting - F. Donno7 GRID Other configuration files RPM.specs gdmp_start_server.in gdmp.conf.in etc

Milan, 15 June 2001WP1 Meeting - F. Donno8 GRID Coding Rules Quite important issue ? WP2 thinks it is! Still a decision to be taken. It will be broght to the attention of ATF, WP12, other WPs Here it is: 1.Use Java Naming Conventions * 2.Use Java comment conventions 3.Use D0 preprocessor conventions** 4.Use D0 class layout conventions 5.Adopt D0 recommendations for coding style (function lenght, initialization, pointers & reference, scopes, …) * **

Milan, 15 June 2001WP1 Meeting - F. Donno9 GRID Proposal to the group WP1 Code Management Team: F. Donno, F. Giacomini, E. Ronchieri Tasks: a) Code Guidelines Proposal b) Code Review c) CVS Repository structure operative proposal d) GNU Autotools in place e) Automatic Distribution Timescale: a) 2Wks, b) 2Wks, c) 1Wk, d) 2Wks, e) 1-2Wks