Easybuild Documentation Release 20160713.01

Total Page:16

File Type:pdf, Size:1020Kb

Easybuild Documentation Release 20160713.01 EasyBuild Documentation Release 20160713.01 Ghent University Mon, 01 Aug 2016 13:51:52 Contents 1 Introductory topics 3 1.1 What is EasyBuild?.........................................3 1.2 Concepts and terminology......................................4 1.2.1 EasyBuild framework....................................4 1.2.2 Easyblocks.........................................4 1.2.3 Toolchains..........................................5 1.2.4 Easyconfig files.......................................5 1.2.5 Extensions..........................................6 1.3 Typical workflow example: building and installing WRF......................6 1.3.1 Searching for available easyconfigs files..........................6 1.3.2 Getting an overview of planned installations........................7 1.3.3 Installing a software stack.................................7 2 Getting started 9 2.1 Installing EasyBuild.........................................9 2.1.1 Requirements........................................9 2.1.2 Bootstrapping EasyBuild.................................. 10 2.1.3 Advanced bootstrapping options.............................. 13 2.1.4 Updating an existing EasyBuild installation........................ 14 2.1.5 Dependencies........................................ 14 2.1.6 Sources........................................... 17 2.1.7 In case of installation issues.................................. 17 2.2 Configuring EasyBuild........................................ 17 2.2.1 Supported configuration types............................... 18 2.2.2 Overview of current configuration (--show-config, --show-full-config).. 22 2.2.3 Available configuration settings.............................. 22 3 Basic usage topics 29 3.1 Using the EasyBuild command line................................. 29 3.1.1 Specifying builds...................................... 29 3.1.2 Commonly used command line options.......................... 31 3.2 Writing easyconfig files: the basics................................. 39 3.2.1 What is an easyconfig (file)?................................ 39 3.2.2 Available easyconfig parameters.............................. 39 3.2.3 Mandatory easyconfig parameters............................. 40 3.2.4 Common easyconfig parameters.............................. 40 3.2.5 Tweaking existing easyconfig files............................. 44 3.2.6 Dynamic values for easyconfig parameters......................... 44 3.2.7 Contributing back...................................... 44 3.3 Understanding EasyBuild logs.................................... 45 3.3.1 Basic information...................................... 45 3.3.2 Navigating log files..................................... 45 i 4 Advanced usage topics 47 4.1 Controlling compiler optimization flags............................... 47 4.1.1 Controlling target architecture specific optimizations via --optarch .......... 47 4.2 Experimental features........................................ 49 4.3 Extended dry run........................................... 49 4.3.1 Important notes....................................... 50 4.3.2 Overview of dry run mechanism.............................. 51 4.3.3 Guidelines for easyblocks.................................. 57 4.3.4 Example output....................................... 60 4.4 Including additional Python modules (--include-*)...................... 60 4.4.1 General aspects of --include-* options........................ 61 4.4.2 Including additional easyblocks (--include-easyblocks)............. 61 4.4.3 Including additional module naming schemes (--include-module-naming-schemes) 62 4.4.4 Including additional toolchains (--include-toolchains).............. 62 4.5 Integration with GitHub....................................... 63 4.5.1 Requirements........................................ 63 4.5.2 Configuration........................................ 64 4.5.3 Checking status of GitHub integration (--check-github)............... 65 4.5.4 Using easyconfigs from pull requests (--from-pr)................... 66 4.5.5 Uploading test reports (--upload-test-report).................. 67 4.5.6 Reviewing easyconfig pull requests (--review-pr).................. 68 4.5.7 Submitting new and updating pull requests (--new-pr, --update-pr)....... 69 4.6 Manipulating dependencies..................................... 73 4.6.1 Filtering out dependencies using --filter-deps ................... 73 4.6.2 Installing dependencies as hidden modules using --hide-deps ............ 74 4.6.3 Using minimal toolchains for dependencies........................ 74 4.7 Packaging support.......................................... 75 4.7.1 Prerequisites........................................ 76 4.7.2 Configuration options.................................... 76 4.7.3 Usage............................................ 77 4.7.4 Packaging existing installations............................... 78 4.8 Partial installations.......................................... 78 4.8.1 Stopping the installation procedure after a step using -s/--stop ............ 78 4.8.2 Installing additional extensions using -k/-skip ..................... 79 4.8.3 Only (re)generating (additional) module files using --module-only ......... 80 4.9 Submitting jobs using --job .................................... 83 4.9.1 Quick introduction to --job ................................ 83 4.9.2 Configuring --job ..................................... 83 4.9.3 Usage of --job ...................................... 84 4.9.4 Examples.......................................... 85 4.10 Using external modules....................................... 88 4.10.1 Using external modules as dependencies.......................... 88 4.10.2 Metadata for external modules............................... 89 5 Other topics 93 5.1 Code style.............................................. 93 5.1.1 Notes............................................ 93 5.2 Unit tests............................................... 93 5.2.1 What the unit tests are not ................................. 94 5.2.2 Available unit test suites.................................. 94 5.2.3 Applications......................................... 95 5.2.4 Usage............................................ 95 5.3 Useful scripts............................................. 97 5.3.1 fix_broken_easyconfigs.py ........................... 98 5.3.2 install-EasyBuild-develop.sh ......................... 99 5.3.3 clean_gists.py .................................... 99 5.4 Deprecated functionality....................................... 99 5.4.1 Overview of deprecated functionality in EasyBuild version 2.8.2............. 99 ii 5.4.2 Deprecation policy..................................... 100 5.4.3 How to check for use of deprecated functionality..................... 101 5.5 Removed functionality........................................ 101 5.5.1 Overview of removed functionality since EasyBuild v2.0................. 101 6 Getting help 109 7 Lists and tables 111 8 Appendices 113 8.1 Changelog for EasyBuild documentation.............................. 113 8.2 Configuration Legacy........................................ 116 8.2.1 Porting from legacy configuration style.......................... 117 8.2.2 How EasyBuild used to be configured in the early days.................. 117 8.3 Available easyconfig parameters for EB_WRF........................... 118 8.4 List of easyblocks.......................................... 120 8.5 List of known toolchains....................................... 123 8.6 Alternative installation methods................................... 124 8.6.1 Standard installation of latest release............................ 124 8.6.2 Installation from downloaded sources........................... 126 8.6.3 Installation of latest release from GitHub......................... 126 8.6.4 Installation of latest development version......................... 126 8.6.5 Installation of latest development version using provided script.............. 127 8.7 Installing environment modules without root permissions...................... 127 8.7.1 Tcl.............................................. 127 8.7.2 Environment Modules................................... 128 8.7.3 Set up your environment.................................. 128 8.8 Installing Lmod without root permissions.............................. 128 8.8.1 Lua............................................. 129 8.8.2 Lmod............................................ 129 8.9 Useful links.............................................. 129 8.10 Sphinx and Read the Docs reference documents online....................... 130 8.11 Third party Sphinx examples, themes and possible extensions................... 130 8.12 EasyBuild release notes....................................... 130 8.12.1 v2.8.2 (July 13th 2016)................................... 130 8.12.2 v2.8.1 (May 30th 2016)................................... 133 8.12.3 v2.8.0 (May 18th 2016)................................... 134 8.12.4 v2.7.0 (March 20th 2016).................................. 137 8.12.5 v2.6.0 (January 26th 2016)................................. 142 8.12.6 v2.5.0 (December 17th 2015)................................ 144 8.12.7 v2.4.0 (November 10th 2015)................................ 146 8.12.8 v2.3.0 (September 2nd 2015)................................ 149 8.12.9 v2.2.0 (July 15th 2015)................................... 151 8.12.10 v2.1.1 (May 18th 2015)................................... 154 8.12.11 v2.1.0 (April 30th 2015).................................. 155 8.12.12 v2.0.0 (March 6th 2015).................................
Recommended publications
  • Managing a World of Things: a Report on APNOMS2017
    Managing a World of Things: A Report on APNOMS2017 Myung-Sup Kim, Haruo Oishi, Jiun- Long Huang, Hongtaek Ju, Kiyohito Yoshihara, Chih-Wei Yi & Taesang Choi Journal of Network and Systems Management ISSN 1064-7570 J Netw Syst Manage DOI 10.1007/s10922-018-9472-1 1 23 Your article is protected by copyright and all rights are held exclusively by Springer Science+Business Media, LLC, part of Springer Nature. This e-offprint is for personal use only and shall not be self-archived in electronic repositories. If you wish to self- archive your article, please use the accepted manuscript version for posting on your own website. You may further deposit the accepted manuscript version in any repository, provided it is only made publicly available 12 months after official publication or later and provided acknowledgement is given to the original source of publication and a link is inserted to the published article on Springer's website. The link must be accompanied by the following text: "The final publication is available at link.springer.com”. 1 23 Author's personal copy Journal of Network and Systems Management https://doi.org/10.1007/s10922-018-9472-1 REPORT Managing a World of Things: A Report on APNOMS2017 Myung‑Sup Kim1 · Haruo Oishi2 · Jiun‑Long Huang3 · Hongtaek Ju4 · Kiyohito Yoshihara5 · Chih‑Wei Yi3 · Taesang Choi6 Received: 19 October 2017 / Revised: 12 August 2018 / Accepted: 17 August 2018 © Springer Science+Business Media, LLC, part of Springer Nature 2018 Abstract This article presents a report on APNOMS2017, which was held on Sept. 27–29, 2017 in Seoul, Korea.
    [Show full text]
  • Secondary Structure Propensities in Peptide Folding Simulations: a Systematic Comparison of Molecular Mechanics Interaction Schemes
    Biophysical Journal Volume 97 July 2009 599–608 599 Secondary Structure Propensities in Peptide Folding Simulations: A Systematic Comparison of Molecular Mechanics Interaction Schemes Dirk Matthes and Bert L. de Groot* Department of Theoretical and Computational Biophysics, Computational Biomolecular Dynamics Group, Max-Planck-Institute for Biophysical Chemistry, Go¨ttingen, Germany ABSTRACT We present a systematic study directed toward the secondary structure propensity and sampling behavior in peptide folding simulations with eight different molecular dynamics force-field variants in explicit solvent. We report on the combi- national result of force field, water model, and electrostatic interaction schemes and compare to available experimental charac- terization of five studied model peptides in terms of reproduced structure and dynamics. The total simulation time exceeded 18 ms and included simulations that started from both folded and extended conformations. Despite remaining sampling issues, a number of distinct trends in the folding behavior of the peptides emerged. Pronounced differences in the propensity of finding prominent secondary structure motifs in the different applied force fields suggest that problems point in particular to the balance of the relative stabilities of helical and extended conformations. INTRODUCTION Molecular dynamics (MD) simulations are routinely utilized to that study, simulations of relatively short lengths were per- study the folding dynamics of peptides and small proteins as formed and the natively folded state was used as starting well as biomolecular aggregation. The critical constituents of point, possibly biasing the results (13). such molecular mechanics studies are the validity of the under- For folding simulations, such a systematic test has not lyingphysical models together with theassumptionsofclassical been carried out so far, although with growing computer dynamics and a sufficient sampling of the conformational power several approaches toward the in silico folding space.
    [Show full text]
  • Molecular Dynamics Simulations in Drug Discovery and Pharmaceutical Development
    processes Review Molecular Dynamics Simulations in Drug Discovery and Pharmaceutical Development Outi M. H. Salo-Ahen 1,2,* , Ida Alanko 1,2, Rajendra Bhadane 1,2 , Alexandre M. J. J. Bonvin 3,* , Rodrigo Vargas Honorato 3, Shakhawath Hossain 4 , André H. Juffer 5 , Aleksei Kabedev 4, Maija Lahtela-Kakkonen 6, Anders Støttrup Larsen 7, Eveline Lescrinier 8 , Parthiban Marimuthu 1,2 , Muhammad Usman Mirza 8 , Ghulam Mustafa 9, Ariane Nunes-Alves 10,11,* , Tatu Pantsar 6,12, Atefeh Saadabadi 1,2 , Kalaimathy Singaravelu 13 and Michiel Vanmeert 8 1 Pharmaceutical Sciences Laboratory (Pharmacy), Åbo Akademi University, Tykistökatu 6 A, Biocity, FI-20520 Turku, Finland; ida.alanko@abo.fi (I.A.); rajendra.bhadane@abo.fi (R.B.); parthiban.marimuthu@abo.fi (P.M.); atefeh.saadabadi@abo.fi (A.S.) 2 Structural Bioinformatics Laboratory (Biochemistry), Åbo Akademi University, Tykistökatu 6 A, Biocity, FI-20520 Turku, Finland 3 Faculty of Science-Chemistry, Bijvoet Center for Biomolecular Research, Utrecht University, 3584 CH Utrecht, The Netherlands; [email protected] 4 Swedish Drug Delivery Forum (SDDF), Department of Pharmacy, Uppsala Biomedical Center, Uppsala University, 751 23 Uppsala, Sweden; [email protected] (S.H.); [email protected] (A.K.) 5 Biocenter Oulu & Faculty of Biochemistry and Molecular Medicine, University of Oulu, Aapistie 7 A, FI-90014 Oulu, Finland; andre.juffer@oulu.fi 6 School of Pharmacy, University of Eastern Finland, FI-70210 Kuopio, Finland; maija.lahtela-kakkonen@uef.fi (M.L.-K.); tatu.pantsar@uef.fi
    [Show full text]
  • Advanced-Game-Design-With-Html5
    www.allitebooks.com For your convenience Apress has placed some of the front matter material after the index. Please use the Bookmarks and Contents at a Glance links to access them. www.allitebooks.com Contents at a Glance About the Author .....................................................................................................xv About the Technical Reviewers .............................................................................xvii Acknowledgments ..................................................................................................xix Introduction ............................................................................................................xxi ■ Chapter 1: Level Up! .............................................................................................. 1 ■ Chapter 2: The Canvas Drawing API .................................................................... 59 ■ Chapter 3: Working with Game Assets ................................................................ 93 ■ Chapter 4: Making Sprites and a Scene Graph .................................................. 111 ■ Chapter 5: Making Things Move ........................................................................ 165 ■ Chapter 6: Interactivity ...................................................................................... 189 ■ Chapter 7: Collision Detection ........................................................................... 239 ■ Chapter 8: Juice It Up .......................................................................................
    [Show full text]
  • Code Structure by Miklos Vajna Senior Software Engineer at Collabora Productivity 2017-10-11
    LibreOffice: Code Structure By Miklos Vajna Senior Software Engineer at Collabora Productivity 2017-10-11 @CollaboraOffice www.CollaboraOffice.com About Miklos ● From Hungary ● More blurb: http://vmiklos.hu/ ● Google Summer of Code 2010/2011 ● Rewrite of the Writer RTF import/export ● Writer developer since 2012 ● Contractor at Collabora since 2013 LibreOffice Conference 2017, Rome | Miklos Vajna 2 / 30 Thanks ● This is an updated version of Michael Meeks’ talk from last year LibreOffice Conference 2017, Rome | Miklos Vajna 3 / 30 Overview ● Code-base overview ● Internal core modules, internal leaf ● Ignoring externals ● Building / packaging: gnumake, scp2 ● Code organisation, git bits ● Keep in mind: this is a 20 years old code-base ● The quality is much better than you would expect after knowing its age ● Things continue to improve over time LibreOffice Conference 2017, Rome | Miklos Vajna 4 / 30 Module overview lowest level Internal non-leaf modules: UNO modules ● Module = toplevel dir ● make dumps-deps-png ● Each module has a README ● e.g. sal/README ● sal: at the bottom ● The system abstraction layer ● tools is an obsolete internal (more or less) duplication of this ● salhelper: wrapper code around sal, also part of the URE LibreOffice Conference 2017, Rome | Miklos Vajna 6 / 30 What is the Uno Runtime Environment (URE)? ● We’ll come to UNO in detail a bit later, but for now: ● Uno Runtime Environment ● See also JRE, Java Runtime Env. ● Belongs to the idea that UNO would be reused somewhere else ● Provides an API/ABI-stable abstraction layer for the suite URE ● Allows writing C++ extensions ● Modify carefully: ● Should not change the ABI ● ABI control via C .map files LibreOffice Conference 2017, Rome | Miklos Vajna 7 / 30 UNO modules ● store: legacy .rdb format ● registry: UNO type regisistry ● unoidl: a .idl file compiler ● cppu: C++ UNO ● Implements basic UNO types and infrastructure for C++, e.g.
    [Show full text]
  • Easybuild Documentation Release 20210907.0
    EasyBuild Documentation Release 20210907.0 Ghent University Tue, 07 Sep 2021 08:55:41 Contents 1 What is EasyBuild? 3 2 Concepts and terminology 5 2.1 EasyBuild framework..........................................5 2.2 Easyblocks................................................6 2.3 Toolchains................................................7 2.3.1 system toolchain.......................................7 2.3.2 dummy toolchain (DEPRECATED) ..............................7 2.3.3 Common toolchains.......................................7 2.4 Easyconfig files..............................................7 2.5 Extensions................................................8 3 Typical workflow example: building and installing WRF9 3.1 Searching for available easyconfigs files.................................9 3.2 Getting an overview of planned installations.............................. 10 3.3 Installing a software stack........................................ 11 4 Getting started 13 4.1 Installing EasyBuild........................................... 13 4.1.1 Requirements.......................................... 14 4.1.2 Using pip to Install EasyBuild................................. 14 4.1.3 Installing EasyBuild with EasyBuild.............................. 17 4.1.4 Dependencies.......................................... 19 4.1.5 Sources............................................. 21 4.1.6 In case of installation issues. .................................. 22 4.2 Configuring EasyBuild.......................................... 22 4.2.1 Supported configuration
    [Show full text]
  • Novell SUSE Linux Package Description and Support Level Information for Contracted Customers and Partners
    Novell SUSE Linux Package Description and Support Level Information for Contracted Customers and Partners Definitions and Support Level Descriptions ACC: Additional Customer Contract necessary L1: Installation and problem determination, which means technical support Configuration designed to provide compatibility information, installation assistance, usage support, on-going maintenance and basic troubleshooting. Level 1 Support is not intended to correct product defect errors. L2: Reproduction of problem isolation, which means technical support designed to Potential Issues duplicate customer problems, isolate problem area and provide resolution for problems not resolved by Level 1 Support. L3: Code Debugging and problem resolution, which means technical support designed Patch Provision to resolve complex problems by engaging engineering in resolution of product defects which have been identified by Level 2 Support. Servicelevel Package Short Name Package Description SLES10 SP3 s390x 844-ksc-pcf Korean 8x4x4 Johab Fonts L2 a2ps Converts ASCII Text into PostScript L2 aaa_base SUSE Linux Base Package L3 aaa_skel Skeleton for Default Users L3 aalib An ASCII Art Library L2 aalib-32bit An ASCII Art Library L2 aalib-devel Development Package for AAlib L2 aalib-devel-32bit Development Package for AAlib L2 acct User-Specific Process Accounting L3 acl Commands for Manipulating POSIX Access Control Lists L3 adaptec-firmware Firmware files for Adaptec SAS Cards (AIC94xx Series) L3 agfa-fonts Professional TrueType Fonts L2 aide Advanced Intrusion Detection Environment L2 alsa Advanced Linux Sound Architecture L3 alsa-32bit Advanced Linux Sound Architecture L3 alsa-devel Include Files and Libraries mandatory for Development. L2 alsa-docs Additional Package Documentation. L2 amanda Network Disk Archiver L2 amavisd-new High-Performance E-Mail Virus Scanner L3 amtu Abstract Machine Test Utility L2 ant A Java-Based Build Tool L3 anthy Kana-Kanji Conversion Engine L2 anthy-devel Include Files and Libraries mandatory for Development.
    [Show full text]
  • Journal Volume 32 – 2008
    Issues in Religion and Psychotherapy Journal of the Association of Mormon Counselors & Psychotherapists 2008 volume 32 Issues in Religion and Psychotherapy Editor Rachel E. Crook Lyon, PhD Brigham Young University Associate Editor John M. Rector, PhD Brigham Young University–Idaho Lane Fischer, PhD Brigham Young University Consulting Editor Sharon J. Black, MA Brigham Young University Editorial Board Victor B. Cline, PhD S. Brent Scharman, PhD Salt Lake City, Utah LDS Family Services Susan L. Ericksen, RN, MS, LMFT Russ Seigenberg, PhD Utah State University Logan, Utah Melissa K. Goates Jones, PhD Thomas D. Sevy, MSW Brigham Young University Taylorsville, Utah Michael D. Howard, EdD Marilyn J. Simpson, PsyD Jacksonville, North Carolina Pepperdine University Timothy B. Smith, PhD Ronald W. Jacques, EdD Brigham Young University Brigham Young University–Idaho Ian S. Kellems, PhD Esben S. Strodl, PhD West Virginia University Queensland University of Technology P. Scott Richards, PhD Wendy Ulrich, PhD Brigham Young University Alpine, Utah Assistant to the Editor Candilyn Newell, BA Brigham Young University Issues in Religion and Psychotherapy is published biannually by the Association of Mormon Counselors and Psychotherapists and is archived at http://www.amcap.net. Subscription prices are $35.00 per year for members (paid as part of Association dues). Single issues are available for $20.00. Subscriptions and changes of address should be sent to: AMCAP, AMCAP P.O. Box 225 Kaysville, UT 84037 or email [email protected]. Periodical postage paid at Salt Lake City, Utah, and additional entries. Contributors need not be members of the Association of Mormon Counselors and Psychotherapists. All manuscripts, books for review, and other editorial matter should be sent to: Rachel E.
    [Show full text]
  • Introduction to GROMOS
    CSCPB - Introduction to GROMOS Information: Prof. Dr. W.F. van Gunsteren Laboratory of Physical Chemistry, ETH-Z¨urich, 8092 Z¨urich, Switzerland Tel: +41-44-6325501 Fax: +41-44-6321039 e-mail: [email protected] Note: This MD tutorial is still under development. Please report any errors, incon- sistencies, obscurities or suggestions for improvements to [email protected]. Purpose: This molecular dynamics (MD) tutorial serves a number of objectives. These are to obtain experience with: • computer simulation in general • executing and understanding GROMOS • interpreting the results of computer simulations Version: SVN revision December 5, 2007 W.F.v.G., Z.G., J.D., A-P.K., C.C., N.S. 1 Required knowledge: Some knowledge about the following is required: • Computer programming languages: ability to read simple code (C++). • Computer operating system language of the machine on which the tutorial will be carried out: UNIX. Good books on MD are (Frenkel & Smit, 2002) and (Allen & Tildesley, 1987). 2 Contents 1 INTRODUCTION 4 1.1 The Lennard-Jones interaction . 4 1.2 Electrostatic interaction . 5 1.3 Periodic boundary conditions . 5 1.4 Newton’s equations of motion . 6 1.5 The leap-frog integration scheme . 7 1.6 Coupling to a temperature bath . 8 1.7 Pressure and the virial . 9 1.8 Center of mass motion . 9 1.9 Gaussian or Maxwellian distributions . 10 1.10 The radial distribution function g(r).................. 10 1.11 Units . 11 2 INSTALLATION OF GROMOS 12 2.1 System Requirements . 12 2.2 Getting and Installing GROMOSXX . 13 2.3 Getting and Installing GROMOS++ .
    [Show full text]
  • Serious Games Advergaming, Edugaming, Training and More
    Serious games Advergaming, edugaming, training and more Project manager Laurent Michaud [email protected] M83708 – June 2008 Author Julian Alvarez, PhD Science of Communication and Information Contributor Laurent Michaud, Head of the digital leisure division Copyright IDATE 2008, BP 4167, 34092 Montpellier Cedex 5, France Tous droits réservés – Toute reproduction, stockage All rights reserved. None of the contents of this ou diffusion, même partiel et par tous moyens, y publication may be reproduced, stored in a retrieval compris électroniques, ne peut être effectué sans system or transmitted in any form, including accord écrit préalable de l'IDATE. electronically, without the prior written permission of IDATE. ISBN 978-2-84822-169-4 Executive Summary Serious Games Advergaming, edugaming, training and more This study outlines the characteristics, uses and different genres of serious game. It examines the challenges involved in the design, development and distribution of various types of titles, while analysing the outlook for the industry and its growth drivers. 600 million to one billion potential Defining serious gaming Areas addressed users worldwide. There is a huge variety of ways to classify Today, serious games are employed in a At the end of 2007, the global video serious gaming. However, accepting the wide variety of sectors. game industry was worth 30 billion ambiguities and possible challenges in- Defence: one of the most important USD. At the same time, the serious herent in this, this study defines serious areas in terms of client investment and gaming market was estimated to be gaming as follows: orders. Serious games are also used by worth between 1.5 and 10+ billion The purpose of a serious game is to armies in Europe, though less widely than USD.
    [Show full text]
  • Release 2.0.0 Florian Mounier
    pygal Documentation Release 2.0.0 Florian Mounier December 01, 2016 Contents 1 Sexy python charting 1 2 Simple python charting 3 3 Index 5 Python Module Index 105 i ii CHAPTER 1 Sexy python charting 1 pygal Documentation, Release 2.0.0 2 Chapter 1. Sexy python charting CHAPTER 2 Simple python charting pygal.Bar()(1,3,3,7)(1,6,6,4).render() 3 pygal Documentation, Release 2.0.0 4 Chapter 2. Simple python charting CHAPTER 3 Index 3.1 Documentation 3.1.1 First steps Caution: First you need to install pygal, see installing. When it’s done, you are ready to make your first chart: import pygal # First import pygal bar_chart= pygal.Bar() # Then create a bar graph object bar_chart.add('Fibonacci',[0,1,1,2,3,5,8, 13, 21, 34, 55]) # Add some values bar_chart.render_to_file('bar_chart.svg') # Save the svg to a file Now you should have a svg file called bar_chart.svg in your current directory. You can open it with various programs such as your web browser, inkscape or any svg compatible viewer. The resulting chart will be tho following: bar_chart= pygal.Bar() bar_chart.add('Fibonacci',[0,1,1,2,3,5,8, 13, 21, 34, 55]) bar_chart.render() Caution: pygal relies on svg css styling. This is sadly not fully supported by gnome librsvg and therefore can lead to black svg being displayed. This is not a bug in pygal. See this bugzilla search To make a multiple series graph just add another one: bar_chart= pygal.Bar() bar_chart.add('Fibonacci',[0,1,1,2,3,5,8, 13, 21, 34, 55]) bar_chart.add('Padovan',[1,1,1,2,2,3,4,5,7,9, 12]) bar_chart.render() If you want to stack
    [Show full text]
  • Art-Workbook-V0 84
    Intensity Frontier Common Offline Documentation: art Workbook and Users Guide Alpha Release 0.84 August 18, 2014 This version of the documentation is written for version v0_00_27 of the art-workbook code. Scientific Computing Division Future Programs and Experiments Department Scientific Software Infrastructure Group Principal Author: Rob Kutschke Editor: Anne Heavey art Developers: L. Garren, C. Green, J. Kowalkowski, M. Paterno and P. Russo 1 2 List of Chapters Detailed Table of Contents iv List of Figures xx List of Tables xxii List of Code and Output Listings xxii art Glossary xxvii I Introduction 1 1 How to Read this Documentation 2 2 Conventions Used in this Documentation 4 3 Introduction to the art Event Processing Framework 7 4 Unix Prerequisites 34 5 Site-Specific Setup Procedure 45 i 6 Get your C++ up to Speed 47 7 Using External Products in UPS 107 II Workbook 119 8 Preparation for Running the Workbook Exercises 120 9 Exercise 1: Running Pre-built art Modules 124 10 Exercise 2: Building and Running Your First Module 163 11 General Setup for Login Sessions 220 12 Keeping Up to Date with Workbook Code and Documentation 222 13 Exercise 3: Some other Member Functions of Modules 228 14 Exercise 4: A First Look at Parameter Sets 240 15 Exercise 5: Making Multiple Instances of a Module 265 16 Exercise 6: Accessing Data Products 272 17 Exercise 7: Making a Histogram 291 18 Exercise 8: Looping Over Collections 317 19 3D Event Displays 341 20 Troubleshooting 377 ii III User’s Guide 379 21 Obtaining Credentials to Access Fermilab Computing Resources 380 22 git 382 23 art Run-time and Development Environments 391 24 art Framework Parameters 399 25 Job Configuration in art: FHiCL 405 IV Appendices 424 A art Completion Codes 425 B Viewing and Printing Figure Files 428 C CLHEP 430 D Include Guards 446 V Index 448 Index 449 iii Detailed Table of Contents Detailed Table of Contents iv List of Figures xx List of Tables xxii List of Code and Output Listings xxii art Glossary xxvii I Introduction 1 1 How to Read this Documentation 2 1.1 If you are new to HEP Software..
    [Show full text]