Presentation is loading. Please wait.

Presentation is loading. Please wait.

Installing Geant4 Visualization and Analysis Tools using the Workshop CD Geant4 Workshop SLAC - February 2002 Tony Johnson Joseph Perl.

Similar presentations


Presentation on theme: "Installing Geant4 Visualization and Analysis Tools using the Workshop CD Geant4 Workshop SLAC - February 2002 Tony Johnson Joseph Perl."— Presentation transcript:

1 Installing Geant4 Visualization and Analysis Tools using the Workshop CD Geant4 Workshop SLAC - February 2002 Tony Johnson Joseph Perl

2 What’s on the CD? Welcome.html <- Start here Welcome.html <- Start here /Geant4.4.0/Geant4.4.0 Files for installing Geant4 Files for installing Geant4 /Documentation/Documentation Geant4 Users Guide, Installation Instructions Geant4 Users Guide, Installation Instructions Tutorial Overview - Quick guide to running visualization and analysis software Tutorial Overview - Quick guide to running visualization and analysis software /AdditionalSoftware/AdditionalSoftware Some additional software for analysis, visualization Some additional software for analysis, visualization Each directory on CD has a README.html.Each directory on CD has a README.html. CD is meant to be self-explanatory CD is meant to be self-explanatory

3 Installing Geant4 from the CD Two methods: Two methods: Normal G4 install from sourceNormal G4 install from source Beware: Beware: Need to apply all patches yourselfNeed to apply all patches yourself takes 1-n hours to compile Geant4 from scratchtakes 1-n hours to compile Geant4 from scratch Pre-Compiled G4Pre-Compiled G4 Patches all applied for you Patches all applied for you Code is precompiled to avoid need to wait Code is precompiled to avoid need to wait All source code is included, so still possible to modify flags and recompile/link as necessaryAll source code is included, so still possible to modify flags and recompile/link as necessary

4 Install G4 from source You need: You need: clhep 1.7.0clhep 1.7.0 geant4.4.0.tar.gzgeant4.4.0.tar.gz geant4.4.0.p01.tar.gzgeant4.4.0.p01.tar.gz geant4_4_0_p01_VC.zipgeant4_4_0_p01_VC.zip additional patch for windows, beware strange internal directory structure additional patch for windows, beware strange internal directory structure G4HepRep.tar.gzG4HepRep.tar.gz Patch for visualization with HepRep Patch for visualization with HepRep T01.tar.gzT01.tar.gz Workshop tutorial Workshop tutorial JAIDA-G4.tar.gzJAIDA-G4.tar.gz Analysis software Analysis software All of these files are on the CD. Most in Geant4.4.0/install/ directory. See README.html in that directory for location of CLHEP and AIDA. All of these files are on the CD. Most in Geant4.4.0/install/ directory. See README.html in that directory for location of CLHEP and AIDA. I advise applying all patches before initial “make” I advise applying all patches before initial “make”

5 Install Pre-Built Geant4 Three versions available Three versions available Windows (95/98/Me/Nt/2000/XP)Windows (95/98/Me/Nt/2000/XP) self-extracting.exe self-extracting.exe Linux (.tar.gz)Linux (.tar.gz) egcs-2.91.66 egcs-2.91.66 gcc 2.95.3 gcc 2.95.3 These will probably not work if you have a (significantly) different compiler, but you may still want to start from the pre-built version and do a “make clean” followed by “make” to avoid having to apply all the patches.These will probably not work if you have a (significantly) different compiler, but you may still want to start from the pre-built version and do a “make clean” followed by “make” to avoid having to apply all the patches. Analysis software does not work with gcc 2.96-98 (default gcc on Redhat 7.x). Use a different compiler if possible.Analysis software does not work with gcc 2.96-98 (default gcc on Redhat 7.x). Use a different compiler if possible. In directory Geant4.4.0/pre-builtIn directory Geant4.4.0/pre-built

6 Getting started with the T01 tutorial Once you have installed and compiled Geant4 you can start with the T01 tutorial. Once you have installed and compiled Geant4 you can start with the T01 tutorial. Follow instructions on CD by clicking on “Workshop Tutorial” from welcome page. Follow instructions on CD by clicking on “Workshop Tutorial” from welcome page. T01 instructions include examples of using visualization and analysis T01 instructions include examples of using visualization and analysis Intended as a quick way to get startedIntended as a quick way to get started More background information on visualization and analysis during tomorrow’s tutorial.More background information on visualization and analysis during tomorrow’s tutorial.

7 Visualization - Java and WIRED Running the visualization part of T01 tutorial will generate.HepRep files. Running the visualization part of T01 tutorial will generate.HepRep files. To view files you need to install: To view files you need to install: Java and WIREDJava and WIRED Both are included on the CD, with installation instructions Both are included on the CD, with installation instructions See John Allison’s talk for OpenGL instructions See John Allison’s talk for OpenGL instructions

8 Analysis - AIDA The analysis part of T01 tutorial explains how to use AIDA. The analysis part of T01 tutorial explains how to use AIDA. AIDA is an analysis interface that can be used with several different analysis packages (see tomorrow’s talk)AIDA is an analysis interface that can be used with several different analysis packages (see tomorrow’s talk) CD includes instructions on installing and running JAIDA – a simple AIDA implementation, plus JAS for offline analysis of.aida files.CD includes instructions on installing and running JAIDA – a simple AIDA implementation, plus JAS for offline analysis of.aida files.

9 What if I don’t have a CD reader? The CD is accessible at: The CD is accessible at: http://www-sldnt.slac.stanford.edu/G4CD/http://www-sldnt.slac.stanford.edu/G4CD/http://www-sldnt.slac.stanford.edu/G4CD/ Only use this if you really have to! Only use this if you really have to! We will post fixes for any problems discovered with the CD at: We will post fixes for any problems discovered with the CD at: http://www-sldnt.slac.stanford.edu/Geant4CD/erratahttp://www-sldnt.slac.stanford.edu/Geant4CD/erratahttp://www-sldnt.slac.stanford.edu/Geant4CD/errata


Download ppt "Installing Geant4 Visualization and Analysis Tools using the Workshop CD Geant4 Workshop SLAC - February 2002 Tony Johnson Joseph Perl."

Similar presentations


Ads by Google