Proceedings of the GCC Developers Summit. June 17th 19th, 2008 Ottawa, Ontario Canada

Size: px
Start display at page:

Download "Proceedings of the GCC Developers Summit. June 17th 19th, 2008 Ottawa, Ontario Canada"

Transcription

1 Proceedings of the GCC Developers Summit June 17th 19th, 2008 Ottawa, Ontario Canada

2

3 Contents Enabling dynamic selection of optimal optimization passes in GCC 7 Grigori Fursin Using GCC Instead of Grep and Sed 9 Taras Glek Middle-End Array Expressions 11 Richard Guenther Adding Coding Rule Checking Capabilities to the GCC Toolchain 13 Guillem Marpons Improving the precision of GCCs debug information 15 Michael Matz Towards an implementation of Co-Array Fortran 17 Toon Moene Exploiting front end knowledge to effortlessly create Python modules 19 Gaius Mulley A Plan to Fix Local Variable Debug Information in GCC 21 Alexandre Oliva Improving GCC Infrastructure for Streamization 23 Sebastian Pop Feedback Directed Optimization using Synthetic Edge Profiles from Hardware Event Sampling 25 Vinodha Ramasamy A Superoptimizer Analysis of Multiway Branch Code Generation 27 Roger Anthony Sayle

4 Non-stop Multi-Threaded Debugging in GDB 29 Nathan Sidwell A New ELF Linker 31 Ian Lance Taylor Incremental Compilation for GCC 33 Tom Tromey

5 Conference Organizers Andrew J. Hutton, Steamballoon, Inc., Linux Symposium, Thin Lines Mountaineering C. Craig Ross, Linux Symposium Review Committee Andrew J. Hutton, Steamballoon, Inc., Linux Symposium, Thin Lines Mountaineering Ben Elliston, IBM Janis Johnson, IBM Mark Mitchell, CodeSourcery Toshi Morita Diego Novillo, Google Gerald Pfeifer, Novell Ian Lance Taylor, Google C. Craig Ross, Linux Symposium Proceedings Formatting Team John W. Lockhart, Red Hat, Inc.

6 Authors retain copyright to all submitted papers, but have granted unlimited redistribution rights to all as a condition of submission.

7 Enabling dynamic selection of optimal optimization passes in GCC Grigori Fursin Your affiliation Abstract 7

8 8 Enabling dynamic selection of optimal optimization passes in GCC

9 Using GCC Instead of Grep and Sed Taras Glek Your affiliation Abstract 9

10 10 Using GCC Instead of Grep and Sed

11 Middle-End Array Expressions Richard Guenther Your affiliation Abstract We are implementing support for array objects as firstclass citizens of the tree middle-end. This allows to retain expressions that operate on array objects, such as allowed by the Fortran 9x language, to survive until the high-level loop transformation passes. Those benefit from the lesser work on loop and dependence analysis. Lowering those expressions leveraging work done by the GRAPHITE project allows to do a better job of what is currently done by the frontend and allows faster code to be generated. As a design and implementation proposal we expect this to be a medium term project as for utilization it requires modifications of the Fortran frontend as well as merging GRAPHITE and/or fallback lowering code in the middle-end to handle all expressions on array objects as allowed by the Fortran standard. We also present a proposal for a GCC extension to allow utilizing the new facility from C and C++ using VLA types and builtin functions. 11

12 12 Middle-End Array Expressions

13 Adding Coding Rule Checking Capabilities to the GCC Toolchain Guillem Marpons Your affiliation Abstract 13

14 14 Adding Coding Rule Checking Capabilities to the GCC Toolchain

15 Improving the precision of GCCs debug information Michael Matz Your affiliation Abstract 15

16 16 Improving the precision of GCCs debug information

17 Towards an implementation of Co-Array Fortran Toon Moene Your affiliation Abstract Co-array Fortran is an extension of Fortran having been defined around a decade ago to allow for asynchronous parallel programming within the Fortran language, as opposed to methods outside the language (via the OpenMP standard and the MPI library). It will be part of the upcoming Fortran 2008 Standard. As the description by one of its authors mentions: "A Fortran program containing co-arrays is interpreted as if it were replicated a fixed number of times and all copies were executed asynchronously. Each copy has its own set of data objects and is called an image. The array syntax of Fortran is extended with additional trailing subscripts in square brackets to give a clear and straightforward representation of access to data on other images." The presentation will describe the changes in the parser, intermediate representation and run-time library of GNU Fortran necessary to implement co-array Fortran. In addition, it necessarily will discuss various paradigms in parallel computing. 17

18 18 Towards an implementation of Co-Array Fortran

19 Exploiting front end knowledge to effortlessly create Python modules Gaius Mulley Abstract This paper presents the techniques used in GNU Modula-2 to automatically generate swig header files from definition and implementation modules. The swig interface files allow any swig supported scripting language to interface to an implementation module compiled as a shared library. The advantage with this technique is that most of the information necessary to construct these swig interface files is already known by the front end compiler. The compiler works out whether parameters are in, out or inout by examining their usage in the initial basic-block of each procedure. It also translates globally exported simple typed variables, enumeration types and allows exceptions to be thrown and caught by the library and scripting language respectively. This technique has been coupled with the automatic creation of shared libraries, initialisation and finalisation sections and dependency linking. Thus it allows users to recompile legacy code as a series of shared libraries and present them as a set of Python, Perl or TCL modules by including some additional flags on the compiler command line. 19

20 20 Exploiting front end knowledge to effortlessly create Python modules

21 A Plan to Fix Local Variable Debug Information in GCC Alexandre Oliva Your affiliation Abstract 21

22 22 A Plan to Fix Local Variable Debug Information in GCC

23 Improving GCC Infrastructure for Streamization Sebastian Pop Your affiliation Abstract GCC needs a strategy to support future multicore architectures, which will certainly include heterogeneous accelerator-like designs with explicit management of scratchpad memories; some have further restrictions, for example SIMD, with limited synchronisation capabilities. Meanwhile, we also anticipate that some platforms will offer hardware support for streaming, transactions and speculation. The purpose of this paper is to give a survey and evaluation of some automatic and manual techniques for improving support for such targets in GCC. We focus on translation of sequential code for such platforms i.e. the translation to vector operations and to task graphs and their communication and memory access operations. We conclude with recommendations for strategic development of the compiler to meet these challenges. Authors: Harsha Jagasia, Paul H J Kelly, Razya Ladelsky, Antoniu Pop, Sebastian Pop, Jan Sjodin 23

24 24 Improving GCC Infrastructure for Streamization

25 Feedback Directed Optimization using Synthetic Edge Profiles from Hardware Event Sampling Vinodha Ramasamy Your affiliation Abstract 25

26 26 Feedback Directed Optimization using Synthetic Edge Profiles from Hardware Event Sampling

27 A Superoptimizer Analysis of Multiway Branch Code Generation Roger Anthony Sayle Your affiliation Abstract Code Generation The high-level of abstraction of the multiway branch, exemplified by C/C++ s switch statement, Pascal/Ada s case and FORTRAN s computed GOTO, allows a compiler a large degree of freedom in its implementation. Typically compilers generate code selected from a few common patterns, such as jump tables and/or trees of conditional branches. However, for most switch statements there exists a vast number of possible implementations. To assess the relative merits of these alternatives, and evaluate the selection strategies used by different compilers, a switch-statement "superoptimizer" has been developed. This exhaustively enumerates code sequences implementing a specified multiway branch. Each sequence is evaluated against a simple cost model for code-size, average and worst-case performance (optionally using profile information). Backend timings for several architectures are parameterized by microbenchmarking. The results and insights from applying this superoptimizer to a corpus of "real-world" examples will be discussed. 27

28 28 A Superoptimizer Analysis of Multiway Branch Code Generation

29 Non-stop Multi-Threaded Debugging in GDB Nathan Sidwell Your affiliation Abstract When debugging a multi-threaded program, should a debugger stop all threads when any thread stops, or should it stop only those threads that have something to report, like a breakpoint hit? When debugging a live system, the latter approach may be less intrusive, as threads other than those under inspection can continue to respond to external events. We have implemented this behavior, which we call non-stop debugging, in the GNU Debugger, GDB. We have adapted GDB s control commands, strengthened GDB s event loop, extended GDB s remote protocol, and implemented new techniques for inserting, removing, and stepping past breakpoints. This project lifts long-standing restrictions in GDB s thread support, using a number of interesting techniques. It opens a way to supporting multi-process and multi-core debugging. 29

30 30 Non-stop Multi-Threaded Debugging in GDB

31 A New ELF Linker Ian Lance Taylor Your affiliation Abstract 31

32 32 A New ELF Linker

33 Incremental Compilation for GCC Tom Tromey Your affiliation Abstract 33

34 34 Incremental Compilation for GCC

Proceedings of the GCC Developers Summit

Proceedings of the GCC Developers Summit Reprinted from the Proceedings of the GCC Developers Summit June 17th 19th, 2008 Ottawa, Ontario Canada Conference Organizers Andrew J. Hutton, Steamballoon, Inc., Linux Symposium, Thin Lines Mountaineering

More information

Proceedings of the GCC Developers Summit

Proceedings of the GCC Developers Summit Reprinted from the Proceedings of the GCC Developers Summit June 17th 19th, 2008 Ottawa, Ontario Canada Conference Organizers Andrew J. Hutton, Steamballoon, Inc., Linux Symposium, Thin Lines Mountaineering

More information

Proceedings of the GCC Developers Summit

Proceedings of the GCC Developers Summit Reprinted from the Proceedings of the GCC Developers Summit June 17th 19th, 2008 Ottawa, Ontario Canada Conference Organizers Andrew J. Hutton, Steamballoon, Inc., Linux Symposium, Thin Lines Mountaineering

More information

OSTRA: Experiments With on-the-fly Source Patching

OSTRA: Experiments With on-the-fly Source Patching OSTRA: Experiments With on-the-fly Source Patching Arnaldo Carvalho de Melo Mandriva Conectiva S.A. acme@mandriva.com acme@ghostprotocols.net Abstract 2 Sparse OSTRA is an experiment on on-the-fly source

More information

Proceedings of the GCC Developers Summit

Proceedings of the GCC Developers Summit Reprinted from the Proceedings of the GCC Developers Summit June 28th 30th, 2006 Ottawa, Ontario Canada Conference Organizers Andrew J. Hutton, Steamballoon Incorporated C. Craig Ross, Linux Symposium

More information

Proceedings of the GCC Developers Summit

Proceedings of the GCC Developers Summit Reprinted from the Proceedings of the GCC Developers Summit July 18th 20th, 2007 Ottawa, Ontario Canada Conference Organizers Andrew J. Hutton, Steamballoon, Inc., Linux Symposium, Thin Lines Mountaineering

More information

Thermal Management in User Space

Thermal Management in User Space Thermal Management in User Space Sujith Thomas Intel Ultra-Mobile Group sujith.thomas@intel.com Zhang Rui Intel Open Source Technology Center zhang.rui@intel.com Abstract With the introduction of small

More information

Frysk 1, Kernel 0? Andrew Cagney Red Hat Canada, Inc. Abstract. 1 Overview. 2 The Frysk Project

Frysk 1, Kernel 0? Andrew Cagney Red Hat Canada, Inc. Abstract. 1 Overview. 2 The Frysk Project Frysk 1, 0? Andrew Cagney Red Hat Canada, Inc. cagney@redhat.com Abstract Frysk is a user-level, always-on, execution analysis and debugging tool designed to work on large applications running on current

More information

The Virtual Contiguous Memory Manager

The Virtual Contiguous Memory Manager The Virtual Contiguous Memory Manager Zach Pfeffer Qualcomm Innovation Center (QuIC) zpfeffer@quicinc.com Abstract An input/output memory management unit (IOMMU) maps device addresses to physical addresses.

More information

An AIO Implementation and its Behaviour

An AIO Implementation and its Behaviour An AIO Implementation and its Behaviour Benjamin C. R. LaHaise Red Hat, Inc. bcrl@redhat.com Abstract Many existing userland network daemons suffer from a performance curve that severely degrades under

More information

Object-based Reverse Mapping

Object-based Reverse Mapping Object-based Reverse Mapping Dave McCracken IBM dmccr@us.ibm.com Abstract Physical to virtual translation of user addresses (reverse mapping) has long been sought after to improve the pageout algorithms

More information

Proceedings of the Linux Symposium. June 27th 30th, 2007 Ottawa, Ontario Canada

Proceedings of the Linux Symposium. June 27th 30th, 2007 Ottawa, Ontario Canada Proceedings of the Linux Symposium June 27th 30th, 2007 Ottawa, Ontario Canada Conference Organizers Andrew J. Hutton, Steamballoon, Inc. C. Craig Ross, Linux Symposium Review Committee Andrew J. Hutton,

More information

Linux 2.6 performance improvement through readahead optimization

Linux 2.6 performance improvement through readahead optimization Linux 2.6 performance improvement through readahead optimization Ram Pai IBM Corporation linuxram@us.ibm.com Badari Pulavarty IBM Corporation badari@us.ibm.com Mingming Cao IBM Corporation mcao@us.ibm.com

More information

Proceedings of the Linux Symposium

Proceedings of the Linux Symposium Reprinted from the Proceedings of the Linux Symposium July 23rd 26th, 2008 Ottawa, Ontario Canada Conference Organizers Andrew J. Hutton, Steamballoon, Inc., Linux Symposium, Thin Lines Mountaineering

More information

Proceedings of the GCC Developers Summit

Proceedings of the GCC Developers Summit Reprinted from the Proceedings of the GCC Developers Summit June 28th 30th, 2006 Ottawa, Ontario Canada Conference Organizers Andrew J. Hutton, Steamballoon Incorporated C. Craig Ross, Linux Symposium

More information

The Simple Firmware Interface

The Simple Firmware Interface The Simple Firmware Interface A. Leonard Brown Intel Open Source Technology Center len.brown@intel.com Abstract The Simple Firmware Interface (SFI) was developed as a lightweight method for platform firmware

More information

Scalable Debugging with TotalView on Blue Gene. John DelSignore, CTO TotalView Technologies

Scalable Debugging with TotalView on Blue Gene. John DelSignore, CTO TotalView Technologies Scalable Debugging with TotalView on Blue Gene John DelSignore, CTO TotalView Technologies Agenda TotalView on Blue Gene A little history Current status Recent TotalView improvements ReplayEngine (reverse

More information

Linux on Cell Broadband Engine status update

Linux on Cell Broadband Engine status update Linux on Cell Broadband Engine status update Arnd Bergmann IBM Linux Technology Center arnd.bergmann@de.ibm.com Abstract With Linux for the Sony PS3, the IBM QS2x blades and the Toshiba Celleb platform

More information

Linux Kernel Development

Linux Kernel Development Linux Development How Fast it is Going, Who is Doing It, What They are Doing, and Who is Sponsoring It Greg Kroah-Hartman SuSE Labs / Novell Inc. gregkh@suse.de 1 Introduction The Linux kernel is one of

More information

Improving GNU Compiler Collection Infrastructure for Streamization

Improving GNU Compiler Collection Infrastructure for Streamization Improving GNU Compiler Collection Infrastructure for Streamization Antoniu Pop Centre de Recherche en Informatique, Ecole des mines de Paris, France apop@cri.ensmp.fr Sebastian Pop, Harsha Jagasia, Jan

More information

Eclipse-PTP: An Integrated Environment for the Development of Parallel Applications

Eclipse-PTP: An Integrated Environment for the Development of Parallel Applications Eclipse-PTP: An Integrated Environment for the Development of Parallel Applications Greg Watson (grw@us.ibm.com) Craig Rasmussen (rasmusen@lanl.gov) Beth Tibbitts (tibbitts@us.ibm.com) Parallel Tools Workshop,

More information

Introduction to OpenMP. Lecture 2: OpenMP fundamentals

Introduction to OpenMP. Lecture 2: OpenMP fundamentals Introduction to OpenMP Lecture 2: OpenMP fundamentals Overview 2 Basic Concepts in OpenMP History of OpenMP Compiling and running OpenMP programs What is OpenMP? 3 OpenMP is an API designed for programming

More information

Introduction to OpenMP

Introduction to OpenMP Introduction to OpenMP Lecture 2: OpenMP fundamentals Overview Basic Concepts in OpenMP History of OpenMP Compiling and running OpenMP programs 2 1 What is OpenMP? OpenMP is an API designed for programming

More information

Debugging with GDB and DDT

Debugging with GDB and DDT Debugging with GDB and DDT Ramses van Zon SciNet HPC Consortium University of Toronto June 13, 2014 1/41 Ontario HPC Summerschool 2014 Central Edition: Toronto Outline Debugging Basics Debugging with the

More information

Coding Tools. (Lectures on High-performance Computing for Economists VI) Jesús Fernández-Villaverde 1 and Pablo Guerrón 2 March 25, 2018

Coding Tools. (Lectures on High-performance Computing for Economists VI) Jesús Fernández-Villaverde 1 and Pablo Guerrón 2 March 25, 2018 Coding Tools (Lectures on High-performance Computing for Economists VI) Jesús Fernández-Villaverde 1 and Pablo Guerrón 2 March 25, 2018 1 University of Pennsylvania 2 Boston College Compilers Compilers

More information

PILS: A Generalized Plugin and Interface Loading System

PILS: A Generalized Plugin and Interface Loading System PILS: A Generalized Plugin and Interface Loading System Abstract Alan Robertson International Business Machines Corporation alanr@unix.sh OR alanr@us.ibm.com Many modern Linux application systems make

More information

Incremental Linking with Gold

Incremental Linking with Gold Incremental Linking with Gold Linux Foundation Collaboration Summit April 5, 2012 Cary Coutant This work is licensed under the Creative Commons Attribution-NoDerivs 3.0 Unported License. To view a copy

More information

Proceedings of the Linux Symposium. July 13th 17th, 2009 Montreal, Quebec Canada

Proceedings of the Linux Symposium. July 13th 17th, 2009 Montreal, Quebec Canada Proceedings of the Linux Symposium July 13th 17th, 2009 Montreal, Quebec Canada Conference Organizers Andrew J. Hutton, Steamballoon, Inc., Linux Symposium, Thin Lines Mountaineering Programme Committee

More information

I/O Topology. Martin K. Petersen Oracle Abstract. 1 Disk Drives and Block Sizes. 2 Partitions

I/O Topology. Martin K. Petersen Oracle Abstract. 1 Disk Drives and Block Sizes. 2 Partitions I/O Topology Martin K. Petersen Oracle martin.petersen@oracle.com Abstract The smallest atomic unit a storage device can access is called a sector. With very few exceptions, a sector size of 512 bytes

More information

OpenMP 4.0 implementation in GCC. Jakub Jelínek Consulting Engineer, Platform Tools Engineering, Red Hat

OpenMP 4.0 implementation in GCC. Jakub Jelínek Consulting Engineer, Platform Tools Engineering, Red Hat OpenMP 4.0 implementation in GCC Jakub Jelínek Consulting Engineer, Platform Tools Engineering, Red Hat OpenMP 4.0 implementation in GCC Work started in April 2013, C/C++ support with host fallback only

More information

Updating the Compiler?

Updating the Compiler? Updating the Compiler? Take Advantage of The New Development Toolchain Andreas Jaeger Product Manager aj@suse.com Programming Languages C C++ Fortran And Go 2 Why new compiler? Faster applications Support

More information

GPU Debugging Made Easy. David Lecomber CTO, Allinea Software

GPU Debugging Made Easy. David Lecomber CTO, Allinea Software GPU Debugging Made Easy David Lecomber CTO, Allinea Software david@allinea.com Allinea Software HPC development tools company Leading in HPC software tools market Wide customer base Blue-chip engineering,

More information

Software Ecosystem for Arm-based HPC

Software Ecosystem for Arm-based HPC Software Ecosystem for Arm-based HPC CUG 2018 - Stockholm Florent.Lebeau@arm.com Ecosystem for HPC List of components needed: Linux OS availability Compilers Libraries Job schedulers Debuggers Profilers

More information

IBM. IBM XL C/C++ and XL Fortran compilers on Power architectures overview

IBM. IBM XL C/C++ and XL Fortran compilers on Power architectures overview IBM IBM XL C/C++ and XL Fortran compilers on Power architectures overview December 2017 References in this document to IBM products, programs, or services do not imply that IBM intends to make these available

More information

Large Receive Offload implementation in Neterion 10GbE Ethernet driver

Large Receive Offload implementation in Neterion 10GbE Ethernet driver Large Receive Offload implementation in Neterion 10GbE Ethernet driver Leonid Grossman Neterion, Inc. leonid@neterion.com Abstract 1 Introduction The benefits of TSO (Transmit Side Offload) implementation

More information

Implementing a GDB Stub in Lightweight Kitten OS

Implementing a GDB Stub in Lightweight Kitten OS Implementing a GDB Stub in Lightweight Kitten OS Angen Zheng, Jack Lange Department of Computer Science University of Pittsburgh {anz28, jacklange}@cs.pitt.edu ABSTRACT Because of the increasing complexity

More information

An Architectural Overview of GCC

An Architectural Overview of GCC An Architectural Overview of GCC Diego Novillo dnovillo@redhat.com Red Hat Canada Linux Symposium Ottawa, Canada, July 2006 Topics 1. Overview 2. Development model 3. Compiler infrastructure 4. Intermediate

More information

International Journal of Current Research and Modern Education (IJCRME) ISSN (Online): ( Volume I, Issue II, 2016

International Journal of Current Research and Modern Education (IJCRME) ISSN (Online): (  Volume I, Issue II, 2016 A CASE STUDY OF IMPLEMENTING A GDB INTERFACE BETWEEN AN ARM BASED IC SIMULATOR AND GNU DEBUGGER H. S. Sachin Kumar* & Trisila Devi Nagavi** Department of Computer Science & Engineering, Sri Jaya Chamarajendra

More information

arxiv:cs/ v1 [cs.ma] 27 Jan 2004

arxiv:cs/ v1 [cs.ma] 27 Jan 2004 arxiv:cs/0401026v1 [cs.ma] 27 Jan 2004 EcoLab: Agent Based Modeling for C++ programmers Russell K. Standish and Richard Leow High Performance Computing Support Unit University of New South Wales, Sydney

More information

Suez: Job Control and User Interface for CLEO III

Suez: Job Control and User Interface for CLEO III Suez: Job Control and User Interface for CLEO III Martin Lohner, Christopher D. Jones, Paul Avery University of Florida, Gainesville Abstract. Suez standardizes the way CLEO III data is processed by providing

More information

C6000 Compiler Roadmap

C6000 Compiler Roadmap C6000 Compiler Roadmap CGT v7.4 CGT v7.3 CGT v7. CGT v8.0 CGT C6x v8. CGT Longer Term In Development Production Early Adopter Future CGT v7.2 reactive Current 3H2 4H 4H2 H H2 Future CGT C6x v7.3 Control

More information

What's New in CDT 7.0? dominique dot toupin at ericsson dot com

What's New in CDT 7.0? dominique dot toupin at ericsson dot com What's New in CDT 7.0? dominique dot toupin at ericsson dot com 23 committers Project Status Representing IDE vendors, consultants, and users Downloads continue to grow Galileo SR-1: 530,000! CDT / Linux

More information

Debugging with GDB and DDT

Debugging with GDB and DDT Debugging with GDB and DDT Ramses van Zon SciNet HPC Consortium University of Toronto June 28, 2012 1/41 Ontario HPC Summerschool 2012 Central Edition: Toronto Outline Debugging Basics Debugging with the

More information

Debugging Programs Accelerated with Intel Xeon Phi Coprocessors

Debugging Programs Accelerated with Intel Xeon Phi Coprocessors Debugging Programs Accelerated with Intel Xeon Phi Coprocessors A White Paper by Rogue Wave Software. Rogue Wave Software 5500 Flatiron Parkway, Suite 200 Boulder, CO 80301, USA www.roguewave.com Debugging

More information

Using the Debugger. Michael Jantz Dr. Prasad Kulkarni

Using the Debugger. Michael Jantz Dr. Prasad Kulkarni Using the Debugger Michael Jantz Dr. Prasad Kulkarni 1 Debugger What is it a powerful tool that supports examination of your program during execution. Idea behind debugging programs. Creates additional

More information

OpenACC/CUDA/OpenMP... 1 Languages and Libraries... 3 Multi-GPU support... 4 How OpenACC Works... 4

OpenACC/CUDA/OpenMP... 1 Languages and Libraries... 3 Multi-GPU support... 4 How OpenACC Works... 4 OpenACC Course Class #1 Q&A Contents OpenACC/CUDA/OpenMP... 1 Languages and Libraries... 3 Multi-GPU support... 4 How OpenACC Works... 4 OpenACC/CUDA/OpenMP Q: Is OpenACC an NVIDIA standard or is it accepted

More information

Design & Implementation Overview

Design & Implementation Overview P Fall 2017 Outline P 1 2 3 4 5 6 7 P P Ontological commitments P Imperative l Architecture: Memory cells variables Data movement (memory memory, CPU memory) assignment Sequential machine instruction execution

More information

Why Virtualization Fragmentation Sucks

Why Virtualization Fragmentation Sucks Why Virtualization Fragmentation Sucks Justin M. Forbes rpath, Inc. jmforbes@rpath.com Abstract Mass adoption of virtualization is upon us. A plethora of virtualization vendors have entered the market.

More information

GCC An Architectural Overview

GCC An Architectural Overview GCC An Architectural Overview Diego Novillo dnovillo@redhat.com Red Hat Canada OSDL Japan - Linux Symposium Tokyo, September 2006 Topics 1. Overview 2. Development model 3. Compiler infrastructure 4. Current

More information

Usage of Virtualized GNU/Linux for Binary Testing Across Multiple Distributions

Usage of Virtualized GNU/Linux for Binary Testing Across Multiple Distributions Usage of Virtualized GNU/Linux for Binary Testing Across Multiple Distributions Gordon McFadden Intel corporation gordon.mcfadden@intel.com Michael Leibowitz Intel Corporation michael.leibowitz@intel.com

More information

Big Servers 2.6 compared to 2.4

Big Servers 2.6 compared to 2.4 Big Servers 2.6 compared to 2.4 Wim A. Coekaerts Oracle Corporation wim.coekaerts@oracle.com Abstract Linux 2.4 has been around in production environments at companies for a few years now, we have been

More information

Proceedings of the Linux Symposium

Proceedings of the Linux Symposium Reprinted from the Proceedings of the Linux Symposium Volume One July 21th 24th, 2004 Ottawa, Ontario Canada Conference Organizers Andrew J. Hutton, Steamballoon, Inc. Stephanie Donovan, Linux Symposium

More information

Performance Cockpit: An Extensible GUI Platform for Performance Tools

Performance Cockpit: An Extensible GUI Platform for Performance Tools Performance Cockpit: An Extensible GUI Platform for Performance Tools Tianchao Li and Michael Gerndt Institut für Informatik, Technische Universität München, Boltzmannstr. 3, D-85748 Garching bei Mu nchen,

More information

Linux Foundation Collaboration Summit 2010

Linux Foundation Collaboration Summit 2010 Linux Foundation Collaboration Summit 2010 LTTng, State of the Union Presentation at: http://www.efficios.com/lfcs2010 E-mail: mathieu.desnoyers@efficios.com 1 > Presenter Mathieu Desnoyers EfficiOS Inc.

More information

Proceedings of the GCC Developers Summit. June 17th 19th, 2008 Ottawa, Ontario Canada

Proceedings of the GCC Developers Summit. June 17th 19th, 2008 Ottawa, Ontario Canada Proceedings of the GCC Developers Summit June 17th 19th, 2008 Ottawa, Ontario Canada Contents MILEPOST GCC: machine learning based research compiler 7 Grigori Fursin et al. Using GCC Instead of Grep and

More information

Red Hat Developer Tools

Red Hat Developer Tools Red Hat Developer Tools 2018.2 Using Clang and LLVM Toolset Installing and Using Clang and LLVM Toolset Last Updated: 2018-04-26 Red Hat Developer Tools 2018.2 Using Clang and LLVM Toolset Installing

More information

Improving the Productivity of Scalable Application Development with TotalView May 18th, 2010

Improving the Productivity of Scalable Application Development with TotalView May 18th, 2010 Improving the Productivity of Scalable Application Development with TotalView May 18th, 2010 Chris Gottbrath Principal Product Manager Rogue Wave Major Product Offerings 2 TotalView Technologies Family

More information

The GNU Compiler Collection

The GNU Compiler Collection The GNU Compiler Collection Diego Novillo dnovillo@redhat.com Gelato Federation Meeting Porto Alegre, Rio Grande do Sul, Brazil October 3, 2005 Introduction GCC is a popular compiler, freely available

More information

Introduction to Linux

Introduction to Linux Introduction to Linux EECS 211 Martin Luessi April 14, 2010 Martin Luessi () Introduction to Linux April 14, 2010 1 / 14 Outline 1 Introduction 2 How to Get Started 3 Software Development under Linux 4

More information

GCC Developers Summit Ottawa, Canada, June 2006

GCC Developers Summit Ottawa, Canada, June 2006 OpenMP Implementation in GCC Diego Novillo dnovillo@redhat.com Red Hat Canada GCC Developers Summit Ottawa, Canada, June 2006 OpenMP Language extensions for shared memory concurrency (C, C++ and Fortran)

More information

Embedded Systems Programming

Embedded Systems Programming Embedded Systems Programming OS Linux - Toolchain Iwona Kochańska Gdansk University of Technology Embedded software Toolchain compiler and tools for hardwaredependent software developement Bootloader initializes

More information

Integrated Graphical Program in Lumousoft Visual Programming Language

Integrated Graphical Program in Lumousoft Visual Programming Language 142 Int'l Conf. Embedded Systems, Cyber-physical Systems, & Applications ESCS'16 Integrated Graphical Program in Lumousoft Visual Programming Language Xianliang Lu Lumousoft Inc. Waterloo Ontario Canada

More information

PROGRAMMAZIONE I A.A. 2017/2018

PROGRAMMAZIONE I A.A. 2017/2018 PROGRAMMAZIONE I A.A. 2017/2018 STEPS OF GCC STEPS file.c Preprocessor Compiler file1.o file2.o Assembler Linker executable file PREPROCESSOR PREPROCESSOR The C preprocessor is a macro processor that is

More information

CS354 gdb Tutorial Written by Chris Feilbach

CS354 gdb Tutorial Written by Chris Feilbach CS354 gdb Tutorial Written by Chris Feilbach Purpose This tutorial aims to show you the basics of using gdb to debug C programs. gdb is the GNU debugger, and is provided on systems that

More information

DEBUGGING ON FERMI PREPARING A DEBUGGABLE APPLICATION GDB. GDB on front-end nodes

DEBUGGING ON FERMI PREPARING A DEBUGGABLE APPLICATION GDB. GDB on front-end nodes DEBUGGING ON FERMI Debugging your application on a system based on a BG/Q architecture like FERMI could be an hard task due to the following problems: the core files generated by a crashing job on FERMI

More information

Parallel Tools Platform for Judge

Parallel Tools Platform for Judge Parallel Tools Platform for Judge Carsten Karbach, Forschungszentrum Jülich GmbH September 20, 2013 Abstract The Parallel Tools Platform (PTP) represents a development environment for parallel applications.

More information

Compilers and Code Optimization EDOARDO FUSELLA

Compilers and Code Optimization EDOARDO FUSELLA Compilers and Code Optimization EDOARDO FUSELLA Contents LLVM The nu+ architecture and toolchain LLVM 3 What is LLVM? LLVM is a compiler infrastructure designed as a set of reusable libraries with well

More information

Virtual Execution Environments: Opportunities and Challenges

Virtual Execution Environments: Opportunities and Challenges Virtual Execution Environments: Opportunities and Challenges Workshop on the Future of Virtual Execution Environments September 15, 2004 Bob Blainey Chief Java Technologist IBM Software Group blainey@ca.ibm.com

More information

trisycl Open Source C++17 & OpenMP-based OpenCL SYCL prototype Ronan Keryell 05/12/2015 IWOCL 2015 SYCL Tutorial Khronos OpenCL SYCL committee

trisycl Open Source C++17 & OpenMP-based OpenCL SYCL prototype Ronan Keryell 05/12/2015 IWOCL 2015 SYCL Tutorial Khronos OpenCL SYCL committee trisycl Open Source C++17 & OpenMP-based OpenCL SYCL prototype Ronan Keryell Khronos OpenCL SYCL committee 05/12/2015 IWOCL 2015 SYCL Tutorial OpenCL SYCL committee work... Weekly telephone meeting Define

More information

Proceedings of the Linux Symposium

Proceedings of the Linux Symposium Reprinted from the Proceedings of the Linux Symposium July 23rd 26th, 2008 Ottawa, Ontario Canada Conference Organizers Andrew J. Hutton, Steamballoon, Inc., Linux Symposium, Thin Lines Mountaineering

More information

Component V Supporting Materials / Learn More Interesting Facts. Interesting Facts

Component V Supporting Materials / Learn More Interesting Facts. Interesting Facts Component V Supporting Materials / Learn More 1.4.1 Interesting Facts No. Interesting Facts 1. All computers operate by following machine language programs. 2. Machine language programs are long sequence

More information

IBM PSSC Montpellier Customer Center. Content

IBM PSSC Montpellier Customer Center. Content Content IBM PSSC Montpellier Customer Center Standard Tools Compiler Options GDB IBM System Blue Gene/P Specifics Core Files + addr2line Coreprocessor Supported Commercial Software TotalView Debugger Allinea

More information

Command Line Interface (CLI)

Command Line Interface (CLI) Command Line Interface (CLI) EION CLI is a portable and industry-familiar-user interface for configuration, administration and management for Open IP Environment. Overview EION Open IP Environment is a

More information

Proceedings of the GCC Developers Summit

Proceedings of the GCC Developers Summit Reprinted from the Proceedings of the GCC Developers Summit June 28th 30th, 2006 Ottawa, Ontario Canada Conference Organizers Andrew J. Hutton, Steamballoon Incorporated C. Craig Ross, Linux Symposium

More information

Integrating Open Source Tools for Developing Embedded Linux Applications

Integrating Open Source Tools for Developing Embedded Linux Applications Integrating Open Source Tools for Developing Embedded Linux Applications Raul Fernandes Herbster 1, Hyggo Almeida 1, Angelo Perkusich 1, Dalton Guerrero 1 1 Embedded Systems and Pervasive Computing Laboratory

More information

Parallel and High Performance Computing CSE 745

Parallel and High Performance Computing CSE 745 Parallel and High Performance Computing CSE 745 1 Outline Introduction to HPC computing Overview Parallel Computer Memory Architectures Parallel Programming Models Designing Parallel Programs Parallel

More information

Parallel Debugging with TotalView BSC-CNS

Parallel Debugging with TotalView BSC-CNS Parallel Debugging with TotalView BSC-CNS AGENDA What debugging means? Debugging Tools in the RES Allinea DDT as alternative (RogueWave Software) What is TotalView Compiling Your Program Starting totalview

More information

Parallel Programming. Presentation to Linux Users of Victoria, Inc. November 4th, 2015

Parallel Programming. Presentation to Linux Users of Victoria, Inc. November 4th, 2015 Parallel Programming Presentation to Linux Users of Victoria, Inc. November 4th, 2015 http://levlafayette.com 1.0 What Is Parallel Programming? 1.1 Historically, software has been written for serial computation

More information

General Concepts. Abstraction Computational Paradigms Implementation Application Domains Influence on Success Influences on Design

General Concepts. Abstraction Computational Paradigms Implementation Application Domains Influence on Success Influences on Design General Concepts Abstraction Computational Paradigms Implementation Application Domains Influence on Success Influences on Design 1 Abstractions in Programming Languages Abstractions hide details that

More information

Proceedings of the GCC Developers Summit

Proceedings of the GCC Developers Summit Reprinted from the Proceedings of the GCC Developers Summit June 28th 30th, 2006 Ottawa, Ontario Canada Conference Organizers Andrew J. Hutton, Steamballoon Incorporated C. Craig Ross, Linux Symposium

More information

Code Blocks Cannot Find Compiler Executable Windows 7

Code Blocks Cannot Find Compiler Executable Windows 7 Code Blocks Cannot Find Compiler Executable Windows 7 Windows. Once you've installed a new compiler, be sure to read the I couldn't find a way to force CB to use a unix-link shell, but was able to find

More information

Building Enterprise Grade VPNs

Building Enterprise Grade VPNs Building Enterprise Grade VPNs A Practical Approach Ken S. Bantoft freeswan.ca / MDS Proteomics ken@freeswan.ca, http://www.freeswan.ca Abstract As Linux scales its way into the enterprise, things like

More information

OpenMP 4.0: A Significant Paradigm Shift in Parallelism

OpenMP 4.0: A Significant Paradigm Shift in Parallelism OpenMP 4.0: A Significant Paradigm Shift in Parallelism Michael Wong OpenMP CEO michaelw@ca.ibm.com http://bit.ly/sc13-eval SC13 OpenMP 4.0 released 2 Agenda The OpenMP ARB History of OpenMP OpenMP 4.0

More information

Lecture Notes on Static Single Assignment Form

Lecture Notes on Static Single Assignment Form Lecture Notes on Static Single Assignment Form 15-411: Compiler Design Frank Pfenning Lecture 6 September 12, 2013 1 Introduction In abstract machine code of the kind we have discussed so far, a variable

More information

Parallel Programming in Fortran with Coarrays

Parallel Programming in Fortran with Coarrays Parallel Programming in Fortran with Coarrays John Reid, ISO Fortran Convener, JKR Associates and Rutherford Appleton Laboratory Fortran 2008 is now in FDIS ballot: only typos permitted at this stage.

More information

Module 2: GNU Tools and Compilation Process Introduction to GCC and History The original GNU C Compiler is developed by Richard Stallman in 1984 to create a complete UNIX like operating systems as free

More information

Topics in Object-Oriented Design Patterns

Topics in Object-Oriented Design Patterns Software design Topics in Object-Oriented Design Patterns Material mainly from the book Design Patterns by Erich Gamma, Richard Helm, Ralph Johnson and John Vlissides; slides originally by Spiros Mancoridis;

More information

OpenMP 4.0/4.5. Mark Bull, EPCC

OpenMP 4.0/4.5. Mark Bull, EPCC OpenMP 4.0/4.5 Mark Bull, EPCC OpenMP 4.0/4.5 Version 4.0 was released in July 2013 Now available in most production version compilers support for device offloading not in all compilers, and not for all

More information

Fortran Coarrays John Reid, ISO Fortran Convener, JKR Associates and Rutherford Appleton Laboratory

Fortran Coarrays John Reid, ISO Fortran Convener, JKR Associates and Rutherford Appleton Laboratory Fortran Coarrays John Reid, ISO Fortran Convener, JKR Associates and Rutherford Appleton Laboratory This talk will explain the objectives of coarrays, give a quick summary of their history, describe the

More information

HPC Toolkit. View MPI Trace Data

HPC Toolkit. View MPI Trace Data IBM HPC Toolkit View MPI Trace Data! Timeline view of MPI function calls! MPI Function calls color coded matching list of right! Exclude functions from trace by clicking checkboxes! Zoom in and out using

More information

Scalable GPU Graph Traversal!

Scalable GPU Graph Traversal! Scalable GPU Graph Traversal Duane Merrill, Michael Garland, and Andrew Grimshaw PPoPP '12 Proceedings of the 17th ACM SIGPLAN symposium on Principles and Practice of Parallel Programming Benwen Zhang

More information

Compilers and interpreters

Compilers and interpreters Lecture 5 Compilers and interpreters FAMNIT March, 2018. 1 Slides Lecture by Jan Karabaš Compilers and interpreters Programming II FAMNIT, 2015 Additional literature: Michael L. Scott, Programming Language

More information

Efficiency of Functional Languages in Client-Server Applications

Efficiency of Functional Languages in Client-Server Applications Efficiency of Functional Languages in Client-Server Applications *Dr. Maurice Eggen Dr. Gerald Pitts Department of Computer Science Trinity University San Antonio, Texas Phone 210 999 7487 Fax 210 999

More information

Parallel Programming Models. Parallel Programming Models. Threads Model. Implementations 3/24/2014. Shared Memory Model (without threads)

Parallel Programming Models. Parallel Programming Models. Threads Model. Implementations 3/24/2014. Shared Memory Model (without threads) Parallel Programming Models Parallel Programming Models Shared Memory (without threads) Threads Distributed Memory / Message Passing Data Parallel Hybrid Single Program Multiple Data (SPMD) Multiple Program

More information

ECE 3210 Laboratory 1: Develop an Assembly Program

ECE 3210 Laboratory 1: Develop an Assembly Program ECE 3210 Laboratory 1: Develop an Assembly Program Spring 2018 1 Objective To become familiar with the development system s software: screen editor, assembler, linker, and debugger. After finishing this

More information

Laboratorio di Tecnologie dell'informazione

Laboratorio di Tecnologie dell'informazione Laboratorio di Tecnologie dell'informazione Ing. Marco Bertini marco.bertini@unifi.it http://www.micc.unifi.it/bertini/ Building a Hello world with Eclipse When debugging, novices insert corrective code;

More information

PL in the Broader Research Community

PL in the Broader Research Community PL in the Broader Research Community EECS 590: Advanced Programming Languages 27. November 2017 Kevin Angstadt angstadt@umich.edu 1 Who am I? Fourth-year PhD student (I did my first three years at UVA)

More information

From Whence It Came: Detecting Source Code Clones by Analyzing Assembler

From Whence It Came: Detecting Source Code Clones by Analyzing Assembler From Whence It Came: Detecting Source Code Clones by Analyzing Assembler Ian J. Davis and Michael W. Godfrey David R. Cheriton School of Computer Science University of Waterloo Waterloo, Ontario, Canada

More information

Computer Science, a Mac, and You. Kevin Cathey Junior, Computer Science

Computer Science, a Mac, and You. Kevin Cathey Junior, Computer Science Computer Science, a Mac, and You Kevin Cathey Junior, Computer Science Roadmap Introduction to Apple s Developer Tools Xcode & Instruments Implement three MP s acm.uiuc.edu Introduction to Developer Tools

More information

Red Hat Developer Tools

Red Hat Developer Tools Red Hat Developer Tools 2018.4 Using Clang and LLVM Toolset Installing and Using Clang and LLVM Toolset Last Updated: 2018-11-29 Red Hat Developer Tools 2018.4 Using Clang and LLVM Toolset Installing

More information