18 June 2010 Upgrading Your Geant4 Release J. Perl 1 Upgrading Your Geant4 Release Joseph Perl, SLAC.

Slides:



Advertisements
Similar presentations
Existing BIRT Home Page. Proposed BIRT Home Page.
Advertisements

Microsoft ® Office 2007 Training Security II: Turn off the Message Bar and run code safely P J Human Resources Pte Ltd presents:
Version Control System (Sub)Version Control (SVN).
PUBMED NEW LAYOUTS & CHANGES. I’VE BEEN USING PUBMED FOR YEARS, WHY DO I NEED THIS? Like other databases, PubMed changes its layout and updates features.
1 Resolving Host Selector Issues. 2 Table of Contents Page 3 - 6: User unable to connect to an account. Page 7: Host Selector crashing. Page 8 - 9: Saving.
What you don’t know CAN hurt you!
1 Copyright © 2013 Kony Inc. CONFIDENTIAL 1 iOS 7 : Kony Platform Compatibility Date: 26-Aug-2013.
Installing SAS 9.3 Raymond R. Balise Health Research and Policy.
Using subversion COMP 2400 Prof. Chris GauthierDickey.
14 May 2007 Upgrading Your Geant4 Release J. Perl 1 Upgrading Your Geant4 Release Joseph Perl, SLAC.
6 November 2009 Upgrading Your Geant4 Release J. Perl 1 Upgrading Your Geant4 Release Joseph Perl, SLAC Geant4 v9.2p02.
Version Control Systems Phil Pratt-Szeliga Fall 2010.
Installing Geant4 Visualization and Analysis Tools using the Workshop CD Geant4 Workshop SLAC - February 2002 Tony Johnson Joseph Perl.
14 January 2011 Upgrading Your Geant4 Release J. Perl 1 Upgrading Your Geant4 Release Joseph Perl, SLAC.
Programming – Touch Sensors Intro to Robotics. The Limit Switch When designing robotic arms there is always the chance the arm will move too far up or.
Setting Up a Sandbox Presented by: Kevin Brunson Chief Technology Officer.
Use my floppy disk. 1. copy short cut to desktop. 2.run NoAdHOSTS.exe 3. Surf without ad’s. 4.to reverse everything -edit out all url s you want to return.
An Introduction to Content Management. By the end of the session you will be able to... Explain what a content management system is Apply the principles.
Manjit kaur Manjit Kaur1. Why do we need to protect our computer from a virus? A reason why we need to protect our computer from a virus is because it.
Conducting Usability Tests ITSW 1410 Presentation Media Software Instructor: Glenda H. Easter.
Introduction to VB.NET Tonga Institute of Higher Education.
JQuery Page Slider. Our goal is to get to the functionality of the Panic Coda web site.Panic Coda web site.
IDigBio is funded by a grant from the National Science Foundation’s Advancing Digitization of Biodiversity Collections Program (Cooperative Agreement EF ).
Module CC3002 Post Implementation Issues Lecture for Week 6 AY 2013 Spring.
#RefreshCache Redmine Learn why RefreshCache is the community developer's new best friend. Daniel Hazelbaker Information Technology Director.
Lesson 14: Installing and Uninstalling Programs how to install a new program what to do if the new program doesn’t work how to uninstall a program © CCI.
Microsoft ® Office 2007 Training Security II: Turn off the Message Bar and run code safely presents:
– Introduction to the Shell 10/1/2015 Introduction to the Shell – Session Introduction to the Shell – Session 2 · Permissions · Users.
Configuration Management Geant4 Review 19 June 2001 Gunter Folger.
Putting Applets into Web Pages.  Two things are involved in the process of putting applets onto web pages ◦ The.class files of the applet ◦ The html.
Version Control.
Go to your school’s web locker site school name.schoolweblockers.com) Your user name is the first letter of your first name, the first 4.
Manjit kaur Manjit Kaur1. Why do we need to protect our computer from a virus? A reason why we need to protect our computer from a virus is because it.
CS 320 Assignment 1 Rewriting the MISC Osystem class to support loading machine language programs at addresses other than 0 1.
1 / 22 AliRoot and AliEn Build Integration and Testing System.
Z-Books: Hunting Down Zombie Ebooks Hiding in your Catalog Kathryn OVGTSL 2013#ovgtsl2013 May 17, 2013.
Linked List. Background Arrays has certain disadvantages as data storage structures. ▫In an unordered array, searching is slow ▫In an ordered array, insertion.
Optimistic Design 1. Guarded Methods Do something based on the fact that one or more objects have particular states  Make a set of purchases assuming.
Intermediate 2 Software Development Process. Software You should already know that any computer system is made up of hardware and software. The term hardware.
Publishing Your Web Pages Ann Emmanuel SIUE Web Administrator
Installing CompuCell3D from source. Why you might want to install from source? 1.There are no binaries for your platform (e.g. gentoo linux) 2.You want.
Optimizing Your Computer To Run Faster Using Msconfig Technical Demonstration by: Chris Kilkenny.
What is a port The Ports Collection is essentially a set of Makefiles, patches, and description files placed in /usr/ports. The port includes instructions.
Unix Commands PowerPoint Presentation developed for LS 560 Information Technology online class - University of Alabama by Debey Sklenar TENacious Cohort.
Creating Google Sites Laura Assem, Director of Technology.
M1G Introduction to Programming 2 3. Creating Classes: Room and Item.
SQL SERVER 2008 Installation Guide A Step by Step Guide Prepared by Hassan Tariq.
How to configure, build and install Trilinos November 2, :30-9:30 a.m. Jim Willenbring.
Top Ten Skills for High- School Students Whether you're a freshman or a senior, developing the following ten skills will help you achieve success in school,
John Samuels October, Why Now?  Vista Problems  New Features  >4GB Memory Support  Experience.
SurveyDIG 2.1 Tutorial. Tutorial Contents Introduction Introduction Item Groups Item Groups –Creating new Groups –Naming Convention –Searching/Editing.
BEST PRACTICES FOR DYNAMICS NAV ADMINISTRATION AND SECURITY Per Mogensen.
Google My Business: The good, the bad & the ugly. Presented by: Amanda Wiebke.
Troubleshooting Dashhawk Issues. Here's what you have to do to have the DashHawk run properly Go to the ACTUAL PROGRAM file (not the short cut)
CLHEP Infrastructure Improvements CHEP 2004 Lynn Garren, FNAL and Andreas Pfeiffer, CERN.
Downloading and Installing GRASP-AF Workshop Ian Robson Information Analyst, North of England Cardiovascular Network.
Upgrading to Windows 10 Mike Farquhar January 2016 Thornbury U3A Computer Club.
Deleting programs There are various reasons why you may want to delete a program. While deleting a file is not a problem care should be taken when deleting.
Sitecore upgrades The Past, The Present, The Future.
Updating FreeBSD Unix System Administration. Objectives At the end of this session you should be able to: 1. Understand the differences between the CURRENT.
Tips for using Java with Internet Explorer
Moving to Configuration Manager Current Branch
TurnKey Lunch and Learn: ALM/UFT Best Practices
Software Packaging and Releasing
Releases and developments
How to Upgrade Your Geant4 Release
Adding Assignments and Learning Units to Your TSS Course
Instructor: Prasun Dewan (FB 150,
Priorities and contents of releases
Review of Previous Lesson
Presentation transcript:

18 June 2010 Upgrading Your Geant4 Release J. Perl 1 Upgrading Your Geant4 Release Joseph Perl, SLAC

18 June Upgrading Your Geant4 Release J. Perl Contents Next Geant4 release, 9.4, coming December 2010 Next Geant4 release, 9.4, coming December 2010 Major versus Minor releases Major versus Minor releases What to look for in the release notes What to look for in the release notes How to upgrade How to upgrade

18 June Upgrading Your Geant4 Release J. Perl Next Geant4 Release, 9.4 Geant4 version 9.4 Geant4 version 9.4 scheduled for release on December 17th, 2010 scheduled for release on December 17th, 2010 improvements for physics and usability improvements for physics and usability as such, we will recommend all users upgrade to this release unless they have a specific reason to hold back as such, we will recommend all users upgrade to this release unless they have a specific reason to hold back

18 June Upgrading Your Geant4 Release J. Perl Major versus Minor Releases Geant4 release numbers are of the form X.Y Geant4 release numbers are of the form X.Y X is the Major release number X is the Major release number Y is the Minor release number Y is the Minor release number Release 9.4 is a Minor release Release 9.4 is a Minor release Release 10.0 will be the next Major release Release 10.0 will be the next Major release Minor releases ARE NOT ALLOWED to break user code. Minor releases ARE NOT ALLOWED to break user code. So, for example, when you move from release 9.3 to 9.4, you should not need to change your user code So, for example, when you move from release 9.3 to 9.4, you should not need to change your user code You will likely get slightly different results in the new minor release You will likely get slightly different results in the new minor release And you may have access to additional new features And you may have access to additional new features But nothing in your code should break as a result of the upgrade But nothing in your code should break as a result of the upgrade Major releases ARE ALLOWED to break user code. Major releases ARE ALLOWED to break user code. So, for example, when you move from release 9.4 to 10.0, you may need to change your user code. So, for example, when you move from release 9.4 to 10.0, you may need to change your user code. The release notes will tell you what you might need to change. The release notes will tell you what you might need to change.

18 June Upgrading Your Geant4 Release J. Perl Patch Releases A Patch release corrects bugs in a regular release A Patch release corrects bugs in a regular release Release number ends in p01, p02, etc. Release number ends in p01, p02, etc. Such as Geant4.9.3.p01 Such as Geant4.9.3.p01 Contains only bug fixes Contains only bug fixes No new features No new features It is always advisable to downloaded the latest patch It is always advisable to downloaded the latest patch The patch release notes will tell you exactly what has changed, so you can decide whether you absolutely need to upgrade The patch release notes will tell you exactly what has changed, so you can decide whether you absolutely need to upgrade

18 June Upgrading Your Geant4 Release J. Perl Beta Releases A Beta release introduces new features before they have been deemed sufficiently tested for general users A Beta release introduces new features before they have been deemed sufficiently tested for general users Release number ends in Beta1, Beta2, etc. Such as Geant4.9.4.Beta1 scheduled for release June 25th, 2010 A chance for a thorough user test of many of the changes intended for the December release Not intended for general users but only for those who are willing to take the risk inherent in a beta Users should move to this release only if they really love testing things, or if a Geant4 collaborator informs them that this Beta will solve their specific problem

18 June Upgrading Your Geant4 Release J. Perl What to Look for in the Release Notes Each Geant4 release comes with a set of release notes. Read them before you move to the new release. Each Geant4 release comes with a set of release notes. Read them before you move to the new release. In particular, read: In particular, read: Supported platforms/compilers Supported platforms/compilers CLHEP version CLHEP version Items for migration of the user code Items for migration of the user code Expected effects on physics and performance Expected effects on physics and performance

18 June Upgrading Your Geant4 Release J. Perl Supported Platforms and Compilers May change at Major or Minor release May change at Major or Minor release If your platform and compiler are no longer in the supported list, you can either upgrade them or just try with what you have: If your platform and compiler are no longer in the supported list, you can either upgrade them or just try with what you have: If Geant4 still builds and starts OK, don’t worry If Geant4 still builds and starts OK, don’t worry If there are problems with build or startup, try upgrading to the new supported platform or compiler If there are problems with build or startup, try upgrading to the new supported platform or compiler

18 June Upgrading Your Geant4 Release J. Perl CLHEP Version May change at Major or Minor release May change at Major or Minor release We don’t change CLHEP versions very often, but if we do it will be for a good reason We don’t change CLHEP versions very often, but if we do it will be for a good reason If you use the wrong CLHEP version, your code may still link and run but your results may not be correct. If you use the wrong CLHEP version, your code may still link and run but your results may not be correct.

18 June Upgrading Your Geant4 Release J. Perl Items for Migration of the User Code For a Minor release, there will not be much here For a Minor release, there will not be much here For a Major release, pay careful attention to this section For a Major release, pay careful attention to this section

18 June Upgrading Your Geant4 Release J. Perl Expected effects on physics and performance This section tells you what to expect in terms of changed results, changed running time and changed memory This section tells you what to expect in terms of changed results, changed running time and changed memory

18 June Upgrading Your Geant4 Release J. Perl How to Upgrade (1) Check the release notes to see if your existing Platform, Compiler and CLHEP version are still OK Minor release upgrades generally do not require changes to any of these, but check the notes Upgrade if need be If you’ve followed the recommended installation instructions, you will have your user code in a G4WORKDIR that is NOT inside your Geant4 installation directory Good: ~/mydir/Geant4/geant4.9.3.p01/... ~/mydir/g4work/myUserCode Not so Good: ~/mydir/Geant4/geant4.9.3.p01 ~/mydir/Geant4/geant4.9.3.p01/myUserCode The point of keeping your user code separate from the Geant4 installation is that your user code may work with several different Geant4 versions, and if you decide later to delete a particular Geant4 version, you won’t accidentally delete your user code

18 June Upgrading Your Geant4 Release J. Perl How to Upgrade (2) Unpack the new Geant4 version For example, to: ~/mydir/Geant4/geant4.9.3/... Make sure you do not have any left over G4 environment variables printenv | grep “G4” Get a new session, clean up your.login or.cshrc, or do whatever is necessary Run./Configure -build From within the newly unpacked Geant4 release Run./Configure From within the newly unpacked Geant4 release and if your installation required you to run./Configure -install, re-do that now too Clean up the old compilation products of your user code Delete the bin, lib and tmp directories from your G4WORKDIR These contain your user code linked against the old Geant4 release You need to remove these so that when you remake your user code it will be completely remade with the new Geant4 release Run make From within your user code directory

18 June Upgrading Your Geant4 Release J. Perl In Case of Trouble Did you review the Release Notes? Did you remember to remove all pre-existing G4 environment variables? Otherwise you may be pointing to some mix of old and new releases Did you remember to delete the old bin, lib and tmp directories from your G4WORKDIR? Otherwise you may have part of your code compiled against one Geant4 release and part of your code compiled against another Geant4 release Check the Geant4 Installation and Configuration Forum There’s a very good search function at the top of that page Someone might have had the same issue and the solution might already be there If the problem is something new, post it to the forum