The Audacity of Chapel: Scalable Parallel Programming Done Right
Total Page:16
File Type:pdf, Size:1020Kb
Load more
Recommended publications
-
Alternatives to Python: Julia
Crossing Language Barriers with , SciPy, and thon Steven G. Johnson MIT Applied Mathemacs Where I’m coming from… [ google “Steven Johnson MIT” ] Computaonal soPware you may know… … mainly C/C++ libraries & soPware … Nanophotonics … oPen with Python interfaces … (& Matlab & Scheme & …) jdj.mit.edu/nlopt www.w.org jdj.mit.edu/meep erf(z) (and erfc, erfi, …) in SciPy 0.12+ & other EM simulators… jdj.mit.edu/book Confession: I’ve used Python’s internal C API more than I’ve coded in Python… A new programming language? Viral Shah Jeff Bezanson Alan Edelman julialang.org Stefan Karpinski [begun 2009, “0.1” in 2013, ~20k commits] [ 17+ developers with 100+ commits ] [ usual fate of all First reacBon: You’re doomed. new languages ] … subsequently: … probably doomed … sll might be doomed but, in the meanBme, I’m having fun with it… … and it solves a real problem with technical compuBng in high-level languages. The “Two-Language” Problem Want a high-level language that you can work with interacBvely = easy development, prototyping, exploraon ⇒ dynamically typed language Plenty to choose from: Python, Matlab / Octave, R, Scilab, … (& some of us even like Scheme / Guile) Historically, can’t write performance-criBcal code (“inner loops”) in these languages… have to switch to C/Fortran/… (stac). [ e.g. SciPy git master is ~70% C/C++/Fortran] Workable, but Python → Python+C = a huge jump in complexity. Just vectorize your code? = rely on mature external libraries, operang on large blocks of data, for performance-criBcal code Good advice! But… • Someone has to write those libraries. • Eventually that person may be you. -
Data Visualization in Python
Data visualization in python Day 2 A variety of packages and philosophies • (today) matplotlib: http://matplotlib.org/ – Gallery: http://matplotlib.org/gallery.html – Frequently used commands: http://matplotlib.org/api/pyplot_summary.html • Seaborn: http://stanford.edu/~mwaskom/software/seaborn/ • ggplot: – R version: http://docs.ggplot2.org/current/ – Python port: http://ggplot.yhathq.com/ • Bokeh (live plots in your browser) – http://bokeh.pydata.org/en/latest/ Biocomputing Bootcamp 2017 Matplotlib • Gallery: http://matplotlib.org/gallery.html • Top commands: http://matplotlib.org/api/pyplot_summary.html • Provides "pylab" API, a mimic of matlab • Many different graph types and options, some obscure Biocomputing Bootcamp 2017 Matplotlib • Resulting plots represented by python objects, from entire figure down to individual points/lines. • Large API allows any aspect to be tweaked • Lengthy coding sometimes required to make a plot "just so" Biocomputing Bootcamp 2017 Seaborn • https://stanford.edu/~mwaskom/software/seaborn/ • Implements more complex plot types – Joint points, clustergrams, fitted linear models • Uses matplotlib "under the hood" Biocomputing Bootcamp 2017 Others • ggplot: – (Original) R version: http://docs.ggplot2.org/current/ – A recent python port: http://ggplot.yhathq.com/ – Elegant syntax for compactly specifying plots – but, they can be hard to tweak – We'll discuss this on the R side tomorrow, both the basics of both work similarly. • Bokeh – Live, clickable plots in your browser! – http://bokeh.pydata.org/en/latest/ -
Issue 189.Pmd
email: [email protected] NIGHTSHIFTwebsite: nightshift.oxfordmusic.net Free every Oxford’s Music Magazine month. Issue 189 April 2011 YYYYYYoungoungoungoung KnivesKnivesKnivesKnives Go Pop! Out on their own and back with a brilliant new album photo: Cat Stevens NIGHTSHIFT: PO Box 312, Kidlington, OX5 1ZU. Phone: 01865 372255 NEWNEWSS Nightshift: PO Box 312, Kidlington, OX5 1ZU Phone: 01865 372255 email: [email protected] Online: nightshift.oxfordmusic.net WILCO JOHNSON AND listings for the weekend, plus ticket DEACON BLUE are the latest details, are online at names added to this year’s www.oxfordjazzfestival.co.uk Cornbury Festival bill. The pair join already-announced headliners WITNEY MUSIC FESTIVAL returns James Blunt, The Faces and for its fifth annual run this month. Status Quo on a big-name bill that The festival runs from 24th April also includes Ray Davies, Cyndi through to 2nd May, featuring a Lauper, Bellowhead, Olly Murs, selection of mostly local acts across a GRUFF RHYS AND BELLOWHEAD have been announced as headliners The Like and Sophie Ellis-Bextor. dozen venues in the town. Amongst a at this year’s TRUCK FESTIVAL. Other new names on the bill are host of acts confirmed are Johnson For the first time Truck will run over three full days, over the weekend of prog-folksters Stackridge, Ben Smith and the Cadillac Blues Jam, 22nd-24th July at Hill Farm in Steventon. The festival will also enjoy an Montague & Pete Lawrie, Toy Phousa, Alice Messenger, Black Hats, increased capacity and the entire site has been redesigned to accommodate Hearts, Saint Jude and Jack Deer Chicago, Prohibition Smokers new stages. -
Ipython: a System for Interactive Scientific
P YTHON: B ATTERIES I NCLUDED IPython: A System for Interactive Scientific Computing Python offers basic facilities for interactive work and a comprehensive library on top of which more sophisticated systems can be built. The IPython project provides an enhanced interactive environment that includes, among other features, support for data visualization and facilities for distributed and parallel computation. he backbone of scientific computing is All these systems offer an interactive command mostly a collection of high-perfor- line in which code can be run immediately, without mance code written in Fortran, C, and having to go through the traditional edit/com- C++ that typically runs in batch mode pile/execute cycle. This flexible style matches well onT large systems, clusters, and supercomputers. the spirit of computing in a scientific context, in However, over the past decade, high-level environ- which determining what computations must be ments that integrate easy-to-use interpreted lan- performed next often requires significant work. An guages, comprehensive numerical libraries, and interactive environment lets scientists look at data, visualization facilities have become extremely popu- test new ideas, combine algorithmic approaches, lar in this field. As hardware becomes faster, the crit- and evaluate their outcome directly. This process ical bottleneck in scientific computing isn’t always the might lead to a final result, or it might clarify how computer’s processing time; the scientist’s time is also they need to build a more static, large-scale pro- a consideration. For this reason, systems that allow duction code. rapid algorithmic exploration, data analysis, and vi- As this article shows, Python (www.python.org) sualization have become a staple of daily scientific is an excellent tool for such a workflow.1 The work. -
Writing Mathematical Expressions with Latex
APPENDIX A Writing Mathematical Expressions with LaTeX LaTeX is extensively used in Python. In this appendix there are many examples that can be useful to represent LaTeX expressions inside Python implementations. This same information can be found at the link http://matplotlib.org/users/mathtext.html. With matplotlib You can enter the LaTeX expression directly as an argument of various functions that can accept it. For example, the title() function that draws a chart title. import matplotlib.pyplot as plt %matplotlib inline plt.title(r'$\alpha > \beta$') With IPython Notebook in a Markdown Cell You can enter the LaTeX expression between two '$$'. $$c = \sqrt{a^2 + b^2}$$ c= a+22b 537 © Fabio Nelli 2018 F. Nelli, Python Data Analytics, https://doi.org/10.1007/978-1-4842-3913-1 APPENDIX A WRITING MaTHEmaTICaL EXPRESSIONS wITH LaTEX With IPython Notebook in a Python 2 Cell You can enter the LaTeX expression within the Math() function. from IPython.display import display, Math, Latex display(Math(r'F(k) = \int_{-\infty}^{\infty} f(x) e^{2\pi i k} dx')) Subscripts and Superscripts To make subscripts and superscripts, use the ‘_’ and ‘^’ symbols: r'$\alpha_i > \beta_i$' abii> This could be very useful when you have to write summations: r'$\sum_{i=0}^\infty x_i$' ¥ åxi i=0 Fractions, Binomials, and Stacked Numbers Fractions, binomials, and stacked numbers can be created with the \frac{}{}, \binom{}{}, and \stackrel{}{} commands, respectively: r'$\frac{3}{4} \binom{3}{4} \stackrel{3}{4}$' 3 3 æ3 ö4 ç ÷ 4 è 4ø Fractions can be arbitrarily nested: 1 5 - x 4 538 APPENDIX A WRITING MaTHEmaTICaL EXPRESSIONS wITH LaTEX Note that special care needs to be taken to place parentheses and brackets around fractions. -
25-29 Music Listings 4118.Indd
saturday–sunday MUSIC Ladysmith Black Mambazo Guantanamo Baywatch, Hurry Up, SUNDAY, MARCH 8 [AFRIcA’S GoLDEn tHRoAtS] the Cumstain, Pookie and Poodlez legendary, Grammy-hoarding South [GARAGE RocK] on its new single African vocal group, now halfway Retox, Whores, ”too Late,” Portland’s Guantanamo through its fifth decade, has tran- Rabbits, Phantom Family Baywatch trades its formerly scended the Western pop notori- [HARDCORE] Fatalist, nihilist, blis- reverb-flooded garage-rock sound ety that followed its contributions tering, brutal—these are just a few for tamer, Motown-influenced bal- to Paul Simon’s Graceland, becom- of the better words to describe ladry. It’s a signal that the upcom- ing a full-fledged ambassador for hardcore crew Retox, a group whose ing Darling…It’s Too Late, dropping the culture of its homeland. But pedigree includes members of sim- in May on Suicide Squeeze, may one doesn’t need familiarity with ilarly thorny outfits such as the fully shift the band away from that its lengthy history to be stirred Locust, Head Wound city and Holy signature Burger Records’ sound, by those golden voices. Aladdin Molar. one adjective that doesn’t which has flooded the market Theater, 3017 SE Milwaukie Ave., get used very often, though it with pseudo-psychedelic surf-rock 234-9694. 8 pm. $35. 21+. should, is “funny.” It’s understand- groups indistinguishable from one able that this quality wouldn’t trans- another. LUcAS cHEMOTTI. The late through singer Justin Pearson’s Low Cut Connie Know, 2026 NE Alberta St., 473- larynx-ripping screech. But Retox [tHE WHItE KEYS] An invasive 8729. -
KWLC Fall Semester 2011
KWLC Fall Semester 2011 The Fall 2011 schedule is here! From Rock, to Dubstep, Classical to Jazz, KWLC is serving up a bit of everything on the platter of commercial-free radio broadcasting this semester. Shows marked with an asterisk are web-only and stream online at luther.edu/kwlc. Monday Wednesday Friday 8–9 PM: Mike Jungbluth (Rock)* 8 – 9P: Travis Houle (Rock)* *8 – 9P: Peter Jarzyna (Rock) 9-10 PM: Logan Langley and 9 – 10P: Erik Sand and Sam Zook *9 – 10P: Dylan Hinton (Rock) Andrew Meland (Variety Hour)* (Rock/Folk Rock)* 10 – 11P: Josh Bacon and Jamison 10-11 PM: Bianca Lutchen (Rock) 10 – 11P: Joe Thor (Rock) Ash (Rock) 11-12 AM: Cate Anderson (Rock) 11 – 12A: Kelsey Simpkins (Rock) 11 – 12A: Michaela Peterson 12-1 AM: Rahul Patle and Perran 12 – 1A: Carl Sorenson (Rock) (Rock) Wetzel (House/Dubstep) 12 – 1A: Marissa Schuh (Rock) Tuesday Thursday 9–10 PM: Kenza Sahir (Acoustic *9 – 10P: Ryan Castelaz (Rock) Rock)* 10 – 11P: Seth Duin (Rock) 10–11 PM: Quincy Voris (Rock) 11 – 12A: Katherine Mohr (Rock) 11–12 AM: Gunnar Halseth (Rock) 12 – 1A: Michael Crowe (Loud 12–1 AM: Georgia Windhorst Rock) (Rock) The AM | October 7th, 2011 2 KWLC Fall Semester 2011, cont. Saturday Sunday 7 – 8A: Lilli Petsch-Horvath (Classical) 7A – 12P: Sunday Services 8 – 9A: Hannah Strack (Broadway) 12 – 1P: Maren Quanbeck (Classical) 9 – 10A: Thando May (Afro-Pop) 1 – 2P: Alex Robinson (Classical) 10 – 11A: Marin Nycklemoe (Blues) 2 – 3P: Matt Lind (Classical) 11 – 12P: Noah Lange (Bluegrass/Folk) 3 – 4P: Michael Peterson (Classical) 12 – 12:50P: Margaret Yapp (Folk) 4 – 5P: Leif Larson (Jazz) 12:50 – 4:30P: Fall Football Coverage 5 – 6P: Kevin Coughenour (Jazz) 4:30 – 5P: Kyle Holder (Rock) 6 – 7P: Ted Olsen (Jazz) 5 – 6P: Cole Matteson (Folk/Bluegrass) 7 – 8P: Fred Burdine (Jazz) 6 – 7P: Ashley Urspringer (Rock) 8 – 9P: David Clair (Jazz) 7 – 8P: Rose Weselmann (Rock) 9 – 10P: Carl Cooley (Jazz/Rock) 8 – 9P: Gene Halverson (Rock) 10 – 11P: Emily Cochrane (Rock) 9 – 10P: Imsouchivy Suos (World) 11 – 12A: Matt Dickinson (Rock) 10 – 11P: Megan Creasey (Elec. -
Ipython Documentation Release 0.10.2
IPython Documentation Release 0.10.2 The IPython Development Team April 09, 2011 CONTENTS 1 Introduction 1 1.1 Overview............................................1 1.2 Enhanced interactive Python shell...............................1 1.3 Interactive parallel computing.................................3 2 Installation 5 2.1 Overview............................................5 2.2 Quickstart...........................................5 2.3 Installing IPython itself....................................6 2.4 Basic optional dependencies..................................7 2.5 Dependencies for IPython.kernel (parallel computing)....................8 2.6 Dependencies for IPython.frontend (the IPython GUI).................... 10 3 Using IPython for interactive work 11 3.1 Quick IPython tutorial..................................... 11 3.2 IPython reference........................................ 17 3.3 IPython as a system shell.................................... 42 3.4 IPython extension API..................................... 47 4 Using IPython for parallel computing 53 4.1 Overview and getting started.................................. 53 4.2 Starting the IPython controller and engines.......................... 57 4.3 IPython’s multiengine interface................................ 64 4.4 The IPython task interface................................... 78 4.5 Using MPI with IPython.................................... 80 4.6 Security details of IPython................................... 83 4.7 IPython/Vision Beam Pattern Demo............................. -
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 -
12" White Vinyl 27.99 2Pac Thug Life
Recording Artist Recording Title Price 1975 Notes On A Conditional Form - 12" White Vinyl 27.99 2pac Thug Life - Vol 1 12" 25th Anniverary 20.99 3108 3108 12" 9.99 50 Cent Best Of 50 Cent 12" 29.99 65daysofstatic Replicr 2019 12" 20.99 Abba Live At Wembley Arena 12" - Half Speed Master 3 Lp 32.99 Abba Gold 12" 22.99 Abba Abba - The Album 12" 12.99 AC/DC Highway To Hell 12" 20.99 AC/DC Back In Black - 12" 20.99 Ace Frehley Spaceman - 12" 29.99 Acid Mothers Temple Minstrel In The Galaxy 12" 21.99 Adam & The Ants Kings Of The Wild Frontier 12" 15.99 Adele 25 12" 16.99 Adele 21 12" 16.99 Adele 19- 12" 16.99 Agnes Obel Myopia 12" 21.99 Ags Connolly How About Now 12" 9.99 Air Moon Safari 12" 14.99 Alan Marks Erik Satie - Vexations 12" 19.99 Alanis Morissette Jagged Little Pill 12" 18.99 Aldous Harding Party 12" 16.99 Aldous Harding Designer 12" 14.99 Alec Cheer Night Kaleidoscope Ost 12" 14.99 Alex Banks Beneath The Surface 12" 19.99 Alex Lahey The Best Of Luck Club 12" White Vinyl 19.99 Alex Lahey I Love You Like A Brother 12" Peach Vinyl 19.99 Alfie Templeman Happiness In Liquid Form 14.99 Algiers There Is No Year 12" Dinked Edition 26.99 Ali Farka Toure With Ry CooderTalking Timbuktu 12" 24.99 Alice Coltrane The Ecstatic Music Of... 12" 28.99 Alice Cooper Greatest Hits 12" 16.99 Allah Las Lahs 12" Dinked Edition 19.99 Allah Las Lahs 12" 18.99 Alloy Orchestra Man With A Movie Camera- Live At Third Man Records 12" 12.99 Alt-j An Awesome Wave 12" 16.99 Amazones D'afrique Amazones Power 12" 24.99 Amy Winehouse Frank 12" 19.99 Amy Winehouse Back To Black - 12" 12.99 Anchorsong Cohesion 12" 12.99 Anderson Paak Malibu 12" 21.99 Andrew Combs Worried Man 12" White Vinyl 16.99 Andrew Combs Ideal Man 12" Colour Vinyl 16.99 Andrew W.k I Get Wet 12" 38.99 Angel Olsen All Mirrors 12" Clear Vinyl 22.99 Ann Peebles Greatest Hits 12" 15.99 Anna Calvi Hunted 12" - Ltd Red 24.99 Anna St. -
Eif.Co.Uk +44 (0) 131 473 2000 #Edintfest THANK YOU to OUR SUPPORTERS THANK YOU to OUR FUNDERS and PARTNERS
eif.co.uk +44 (0) 131 473 2000 #edintfest THANK YOU TO OUR SUPPORTERS THANK YOU TO OUR FUNDERS AND PARTNERS Principal Supporters Public Funders Dunard Fund American Friends of the Edinburgh Edinburgh International Festival is supported through Léan Scully EIF Fund International Festival the PLACE programme, a partnership between James and Morag Anderson Edinburgh International Festival the Scottish Government – through Creative Scotland – the City of Edinburgh Council and the Edinburgh Festivals Sir Ewan and Lady Brown Endowment Fund Opening Event Partner Learning & Engagement Partner Festival Partners Benefactors Trusts and Corporate Donations Geoff and Mary Ball Richard and Catherine Burns Cruden Foundation Limited Lori A. Martin and Badenoch & Co. Joscelyn Fox Christopher L. Eisgruber The Calateria Trust Gavin and Kate Gemmell Flure Grossart The Castansa Trust Donald and Louise MacDonald Professor Ludmilla Jordanova Cullen Property Anne McFarlane Niall and Carol Lothian The Peter Diamand Trust Strategic Partners The Negaunee Foundation Bridget and John Macaskill The Evelyn Drysdale Charitable Trust The Pirie Rankin Charitable Trust Vivienne and Robin Menzies Edwin Fox Foundation Michael Shipley and Philip Rudge David Millar Gordon Fraser Charitable Trust Keith and Andrea Skeoch Keith and Lee Miller Miss K M Harbinson's Charitable Trust The Stevenston Charitable Trust Jerry Ozaniec The Inches Carr Trust Claire and Mark Urquhart Sarah and Spiro Phanos Jean and Roger Miller's Charitable Trust Brenda Rennie Penpont Charitable Trust Festival -
Intro to Jupyter Notebook
Evan Williamson University of Idaho Library 20160302 Introducing Jupyter Notebook for Python and R Three questions: http://goo.gl/forms/uYRvebcJkD Try Jupyter https://try.jupyter.org/ Install Jupyter ● Get Python (suggested: Anaconda, Py3, 64bit, https://www.continuum.io/downloads ) ● Manually install (if necessary), http://jupyter.readthedocs.org/en/latest/install.html pip3 install jupyter Install R for Jupyter ● Get R, https://cran.cnr.berkeley.edu/ (suggested: RStudio, https://www.rstudio.com/products/RStudio/#Desktop ) ● Open R console and follow: http://irkernel.github.io/installation/ Start a Notebook ● Open terminal/command prompt jupyter notebook ● Notebook will open at http://127.0.0.1:8888 ● Exit by closing the browser, then typing Ctrl+C in the terminal window Create Slides ● Open terminal/command prompt jupyter nbconvert slideshow.ipynb --to slides --post serve ● Note: “post serve” locally serves the file so you can give a presentation in your browser. If you only want to convert, leave this option off. The resulting HTML file must be served to render correctly. Slides use Reveal.js, http://lab.hakim.se/revealjs/ Reference ● Jupyter docs, http://jupyter.readthedocs.org/en/latest/index.html ● IPython docs, http://ipython.readthedocs.org/en/stable/index.html ● List of kernels, https://github.com/ipython/ipython/wiki/IPythonkernelsforotherlanguages ● A gallery of interesting IPython Notebooks, https://github.com/ipython/ipython/wiki/AgalleryofinterestingIPythonNotebooks ● Markdown basics,