1 / 9

CONTENTS

CONTENTS. Introduction to ESME - What is ESME? - Purpose and Application of ESME My Contribution to ESME Improving ESME Code / Compatibility with F90/95 - ESME compilation in F90/95 - Redefining Pointers and Arrays

alesia
Download Presentation

CONTENTS

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CONTENTS • Introduction to ESME • - What is ESME? • - Purpose and Application of ESME • My Contribution to ESME • Improving ESME Code / Compatibility with F90/95 • - ESME compilation in F90/95 • - Redefining Pointers and Arrays • - Using F90 Modules to replace F77 Common blocks • - USE Statements & ONLY attribute • - Subroutine Interface Blocks • - INTENT attribute • Acknowledgements & Conclusion • Upcoming Updates • - GNU 95 & GFORTRAN Compilation of ESME (OSF) • - Eliminating unused USE statements and variables S.I.S.T 2005

  2. ESME Code Development Ayodele Onibokun August 10, 2005 Computer Science Bethune-Cookman College, Daytona Beach, FL Fermi National Accelerator Laboratory S.I.S.T 2005

  3. Introduction : ESME • Written by James MacLachlan and Francois Ostiguy • E.S.M.E ? • FORTRAN? • Why use FORTRAN? • Simulation Program for calculating: • Evolution of distribution of particles in energy, and • azimuth coordinates by iterating a map corresponding to the single particle equations of motions. • Optional calculations provided by ESME: • Fourier spectrum of beam current; emittance, 1st and 2nd moments • Feedback contributions of RF system parameters • Evaluation of beam induced voltages from space charge and longitudinal coupling impedance. • Why converting from F77 to F90/95? S.I.S.T 2005

  4. ESME AT A GLANCE S.I.S.T 2005

  5. ESME compilation in F90/95 : Subroutines Makescript S.I.S.T 2005

  6. Improving ESME Code: Pointers Improving ESME : Memory Allocation & Deallocation Cray Pointer Extension F90/95 VS F77 VS ALLOCATABLE • Pointer is a data type • Holds machine address of pointee • Pointer is an attribute • Holds machine address and data type S.I.S.T 2005

  7. Replacing Common Blocks with Module Programs Common Blocks Modules USE STATEMENT INCLUDE line S.I.S.T 2005

  8. Conclusion • Successful compilation of ESME code on F90/95 compiler • Upgrade from F77 to F90/95 Standards was also successful • Partial compilation of ESME code - G95 compiler & GFortran Upcoming / Ongoing Upgrades • GNU 95 & GFortran Compilation of ESME (OSF) • Eliminating unused USE statements and variables S.I.S.T 2005

  9. Acknowledgments Thanks go to : • My supervisor, Jim MacLachlan, and Francois Ostiguy • My mentors, David Peterson and Catherine James, • and to Dr. Davenport and the SIST committee. References : http://www-ap.fnal.gov/ESME S.I.S.T 2005

More Related