Software Installation, release 4.0 Geant4 Users’ Workshop Tutorial SLAC February 18-22, 2002 Takashi Sasaki, Gabriele Cosmo,

Slides:



Advertisements
Similar presentations
C++ Development on Linux Agenda Introduction Editors Debuggers GUI IDEs Make Automake Exploring further.
Advertisements

05/11/2001 CPT week Natalia Ratnikova, FNAL 1 Software Distribution in CMS Distribution unitFormContent Version of SCRAM managed project.
User Interface The full set of lecture notes of this Geant4 Course is available at
LINUX-WINDOWS INTERACTION. One software allowing interaction between Linux and Windows is WINE. Wine allows Linux users to load Windows programs while.
ANT: Another Nice Tool Ali Beyad October 1, 2003.
Makoto Asai (SLAC) Geant4 Users SLAC Feb. 18 th, 2002 Getting Started.
Makoto Asai (SLAC) Geant4 Users CERN Nov. 11 th, 2002 Getting Started.
Makoto Asai (SLAC) Geant4 Users SLAC Feb. 18 th, 2002 Getting Started.
Installing Geant4 Visualization and Analysis Tools using the Workshop CD Geant4 Workshop SLAC - February 2002 Tony Johnson Joseph Perl.
Victor Serbo, SLAC30 September 2004, Interlaken, Switzerland JASSimApp plugin for JAS3: Interactive Geant4 GUI Serbo, Victor (SLAC) - presenter Donszelmann,
Automated Tests in NICOS Nightly Control System Alexander Undrus Brookhaven National Laboratory, Upton, NY Software testing is a difficult, time-consuming.
Slide 1 of 9 Presenting 24x7 Scheduler The art of computer automation Press PageDown key or click to advance.
Software Installation The full set of lecture notes of this Geant4 Course is available at
Julie McEnery1 Installing the ScienceTools The release manager automatically compiles each release of the Science Tools, it creates a set of wrapper scripts.
Doxygen: Source Code Documentation Generator John Tully.
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.
Improvements in Interface, Intercoms and environments Koichi Murakami (KEK/CRC) Koichi Murakami Geant4 Collaboration Workshop (18/Sep/2007) 1.
Input/Output Controller (IOC) Overview Andrew Johnson Computer Scientist, AES Controls Group.
SCRAM Software Configuration, Release And Management Background SCRAM has been developed to enable large, geographically dispersed and autonomous groups.
BSC tools hands-on session. 2 Objectives Copy ~nct00001/tools-material into your ${HOME} –cp –r ~nct00001/tools-material ${HOME} Contents of.
1 CSE 2102 CSE 2102 CSE 2102: Introduction to Software Engineering Ch9: Software Engineering Tools and Environments.
SUSE Linux Enterprise Server Administration (Course 3037) Chapter 4 Manage Software for SUSE Linux Enterprise Server.
Mokka and integration of the geometry AIDA kick-off meeting WP2 session: Common software tools 17 February 2011 – CERN Paulo Mora de Freitas and Gabriel.
WORK ON CLUSTER HYBRILIT E. Aleksandrov 1, D. Belyakov 1, M. Matveev 1, M. Vala 1,2 1 Joint Institute for nuclear research, LIT, Russia 2 Institute for.
G EANT highlights kernel modules Gabriele Cosmo, CERN PH-SFT for the Geant4 Collaboration Gabriele Cosmo, CERN PH-SFT for the Geant4 Collaboration.
Managing User Accounts. Module 2 – Creating and Managing Users ♦ Overview ► One should log into a Linux system with a valid user name and password granted.
The introduction of CMT Version v1r14. General index 1.presentation 2.how to install CMT 3.how to write a requirements file 4.how to use CMT.
Isecur1ty training center Presented by : Eng. Mohammad Khreesha.
Geant4 Installation Supported platforms:  Scientific Linux with gcc 4.1.2/4.6  Mac Os X 10.7 and 10.8 with gcc 4.21  Windows7 with Visual Studio.
Ch 1. A Python Q&A Session Spring Why do people use Python? Software quality Developer productivity Program portability Support libraries Component.
March 2, 2005Wah-kai Ngai1 Installation of Geant4 1st HK Simulation Meeting.
Interfaces to External EDA Tools Debussy Denali SWIFT™ Course 12.
FLUKA GUI Status FLUKA Meeting CERN, 10/7/2006.
CMT Christian Arnault - LAL - Chep /18 Introduction What is CMT, its goals Operating CMT The concepts in CMT, the internal model Status, implementation.
CERN - IT Department CH-1211 Genève 23 Switzerland t DB Development Tools Benthic SQL Developer Application Express WLCG Service Reliability.
V. Serbo, SLAC ACAT03, 1-5 December 2003 Interactive GUI for Geant4 by Victor Serbo, SLAC.
Linux Introduction What is Linux? How do you use it?
Operating System What is an Operating System? A program that acts as an intermediary between a user of a computer and the computer hardware. An operating.
Installation Tutorial Paola Sivera ESO ACS 2.1 for Linux RH7.2.
National Center for Supercomputing ApplicationsNational Computational Science Grid Packaging Technology Technical Talk University of Wisconsin Condor/GPT.
Test Specifications A Specification System for Multi-Platform Test Suite Configuration, Build, and Execution Greg Cooksey.
Koichi Murakami Geant4 Users Conference – LIP / Lisboa (9/Oct./2006) Practical Usage of Geant4Py Koichi Murakami KEK / CRC Let's start with " >>> import.
GLite build and integration system Building and Packaging Robert HARAKALY
J.P. Wellisch, CERN/EP/SFT SCRAM Information on SCRAM J.P. Wellisch, C. Williams, S. Ashby.
Linux History C151 Multi-User Operating Systems. Open Source Programming Open source programming: 1983, Richard Stallman started the GNU Project (GNU.
Geant4 examples Sébastien Incerti On behalf of the Geant4 collaboration with special thanks to Luciano Pandola, INFN.
Makoto Asai (SLAC) Getting Started MGP: added class diagram of basic user application.
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:
BESIII Offline Software Development Environment Ma qiumei * Development environment * Configuration & management tool * Software development.
Geant4 User Workshop 15, 2002 Lassi A. Tuura, Northeastern University IGUANA Overview Lassi A. Tuura Northeastern University,
 CSC 215 : Procedural Programming with C C Compilers.
CLHEP Infrastructure Improvements CHEP 2004 Lynn Garren, FNAL and Andreas Pfeiffer, CERN.
Use of CMT in LHCb CMT Workshop, LAL (Orsay) 28 th February - 1 st March 2002 P. Mato / CERN.
An Introduction to Ant. What is Ant? How do you use it? Why would you want to?
Starting with an example PART I Set your environment up and get a Geant4 example.
Multiple file project management & Makefile
Cygwin: getting the setup tool
CSC 215 : Procedural Programming with C
Getting Started with R.
The full set of lecture notes of this Geant4 Course is available at
GUI Parallel Session Hajime Yoshida
User Interface
Cmake Primer.
Makoto Asai (SLAC) Geant4 Users CERN Nov. 11th, 2002
Gunter Folger Geant4 Genova Workshop 4-July-2001
Software Installation
Software Installation, release 4.0
Presentation transcript:

Software Installation, release 4.0 Geant4 Users’ Workshop Tutorial SLAC February 18-22, 2002 Takashi Sasaki, Gabriele Cosmo,

Outline Supported platforms & compilers External software packages and tools Working area and installation area Toolkit installation Configuring the environment manually Using the Configure installation script Building an executable Integrating Geant4 in a software framework

Supported platforms & compilers UNIX systems DEC-OSF/1 v.4.0, cxx 6.1 G4SYSTEM: DEC-cxx SUN-SunOS v.5.7, CC v.5.2 (WS6) G4SYSTEM: SUN-CC Linux systems RedHat 6.1 or greater, g++ egcs G4SYSTEM: Linux-egcs RedHat 6.1 or greater, g++ gcc G4SYSTEM: Linux-g++ Windows systems Win/NT/98/2000 and Cygwin32, MSVC SP5 G4SYSTEM: WIN32-VC

Required software A UNIX shell and related basic UNIX commands C++ compiler Optional: FORTRAN compiler (f77/g77) is required for building utility tools in the g3tog4 module GNU Make GNU g++ is required for dependencies pre-processing CLHEP library Native STL (Standard Template Library) Geant4 toolkit

External software packages - 1 Visualization/GUI tools (optional): X Windows OpenGL or MesaGL DAWN (PostScript renderer) DAVID (Geometry debugging tool based on DAWN) Open Inventor or HEP Inventor requires OpenGL/MesaGL and the Hepvis module OPACS and Open Scientist interactive environment, including GUI Momo Tcl/Tk or Java-based GUI environment GGE, GPE graphics editors VRML browser

External software packages - 2 Module and Tools for analysis (optional) AIDA (Abstract Interfaces for Data Analysis) JAS (Java Analysis Studio) Lizard (AIDA Interactive Analysis Environment) Open Scientist (Interactive Analysis Environment) Persistency (optional) HepODBMS module An ODMG compliant database system Objectivity/DB

Working area & Installation area Why two different areas ? To allow centralized installation of the Geant4 kernel libraries and related sources in a multi-user environment To decouple user-developed code and applications from the kernel To allow an easy integration of the Geant4 software in an existing software framework To allow multiple installations of the kernel and user code Working and Installation area can be the same Are controlled by two environment variables G4WORKDIR and G4INSTALL

Configuring the environment: the manual approach for installation Identify the system used for the installation G4SYSTEM Identify the area of installation (i.e. path where the source code and the kernel libraries should be based) G4INSTALL Optionally, specify a different path for the kernel libraries and/or the temporary object files G4LIB, G4TMP Optionally, specify a different path for exporting of source header files G4INCLUDE

Configuring the environment: the manual approach for installation Specify the path of installation for CLHEP CLHEP_BASE_DIR should point to the area where include/ and lib/ are placed from the standard CLHEP installation procedure Paths can be customised: CLHEP_INCLUDE_DIR, CLHEP_LIB_DIR the CLHEP library name is assumed to be: [lib]CLHEP[.a/.lib] A different name can be explicitly specified: CLHEP_LIB Specify the graphics/UI drivers to install G4VIS_BUILD_ _DRIVER G4UI_BUILD_ _DRIVER the path to the related graphics/(G)UI packages, if required See next session on visualization/(G)UI installation

Configuring the environment: the manual approach for installation Specify installation specific attributes G4DEBUG To build libraries including debug symbolic information By default, optimised mode is selected G4LIB_BUILD_SHARED To specify if to build kernel libraries as shared libraries Static archive libraries are built by default Adding also G4LIB_BUILD_STATIC will build both G4_NO_VERBOSE For better performance, verbosity code can be left out by defining this flag. The default is with verbosity on

Starting the installation Choose the installation layout Maximum granularity of libraries (granular libraries) Ideal for developers and local installations Link list of libraries automatically generated Triggered with “ gmake ” from $G4INSTALL/source Category compound libraries (global libraries) Convenient for a centralized multi-users installation Default for shared libraries builds Triggered with “ gmake global ” from $G4INSTALL/source Installing source header files G4INCLUDE defines the installation path Triggered by “ gmake includes ” from $G4INSTALL/source

Configuring the environment to use Geant4 Specify the working area: G4WORKDIR If not, Geant4 assumes G4INSTALL as the working area Products of application builds are placed in $G4WORKDIR Binaries in $G4WORKDIR/bin Object files and other temporary files in $G4WORKDIR/tmp Specify which graphics drivers, (G)UI drivers you want to use from the current installation G4VIS_USE_ G4UI_USE_ See next session on visualization/(G)UI installation

Using the Configure script for installation & configuration The Configure script guides through the whole installation process described so far by defining the proper environment and triggering the actual installation./Configure –install Once the environment has been configured, Configure stores the current installation setup The installation setup will become the default for the current installation, in case future changes to the installation are necessary Once the installation is complete, Configure can be used to generate shell scripts for configuring the user environment to build a Geant4 application according to the current installation./Configure Generates env[.sh/.csh] scripts in the user’s current directory It assumes the user specifies a working directory ( G4WORKDIR ) In case not, the user’s home directory is set as default G4WORKDIR path

Building an executable Configure the environment according to the current installation Source or integrate the shell script generated by Configure Define the working area ( G4WORKDIR ) Build any of the available examples: cp –r $G4INSTALL/examples $G4WORKDIR cd $G4WORKDIR/examples/novice/N01 gmake

Integrating Geant4 in a framework Consider Geant4 as an external software package Well define its area of installation For global libraries and source header files Choose an installation setup which best matches the project needs Adopt or integrate a configuration script reflecting the current installation