SlideShare a Scribd company logo
UPC and OpenMP Parallel Programming and
    Analysis in PTP with CDT



                                                  Beth R. Tibbitts
                                                      IBM Corp.
                                               tibbitts@us.ibm.com
                                                    March, 2010

                                   EclipseCon 2010, Santa Clara

       This material is partly based upon work supported by the Defense Advanced Research Projects
       Agency under its Agreement No. HR0011-07-9-0002




1                 Beth Tibbitts       EclipseCon 2010 UPC and OpenMP Parallel Programming and Analysis in PTP with CDT
                  Copyright © IBM Corp., 2010. All rights reserved. Source code in this presentation is made available under the EPL, v1.0, remainder of the
                  presentation is licensed under Creative Commons Att. Nc Nd 2.5 license.
2   Beth Tibbitts       EclipseCon 2010 UPC and OpenMP Parallel Programming and Analysis in PTP with CDT
    Copyright © IBM Corp., 2010. All rights reserved. Source code in this presentation is made available under the EPL, v1.0, remainder of the
    presentation is licensed under Creative Commons Att. Nc Nd 2.5 license.
IBM Power7 and Blue Waters at Supercomputing ‘09
                                              IBM P7: 8 cores=1 chip; 4 chips=1 QCM; 8 QCMs= 1 drawer
                                              4 drawers= 1 supernode (1024 cores)
                                              Total 300,000 cores; 10 petaflops peak; 1 petaflop sustained
                                              Source: http://www.ncsa.illinois.edu/BlueWaters/pdfs/snir-power7.pdf




3            Beth Tibbitts       EclipseCon 2010 UPC and OpenMP Parallel Programming and Analysis in PTP with CDT
             Copyright © IBM Corp., 2010. All rights reserved. Source code in this presentation is made available under the EPL, v1.0, remainder of the
             presentation is licensed under Creative Commons Att. Nc Nd 2.5 license.
NCSA Blue Waters




    Xxx

    PTP is the basis for NCSA BW
      HPC workbench
    How to program a massively
      parallel machine?
                                                                                 PTP kiosk at IBM booth at SC09

4                Beth Tibbitts       EclipseCon 2010 UPC and OpenMP Parallel Programming and Analysis in PTP with CDT
                 Copyright © IBM Corp., 2010. All rights reserved. Source code in this presentation is made available under the EPL, v1.0, remainder of the
                 presentation is licensed under Creative Commons Att. Nc Nd 2.5 license.
Parallel Programming Models

    1.  Message passing - Most parallel
        programming so far
        Language: MPI (C/C++/Fortran)

    2. Shared Memory (Global Address Space)
       Language: C/Fortran with OpenMP

          Hybrid: Shared + Msg passing: MPI+OpenMP


    3. Partitioned Global Address Space (PGAS)
       Languages: UPC, X10, Chapel, CAF


5                 Beth Tibbitts       EclipseCon 2010 UPC and OpenMP Parallel Programming and Analysis in PTP with CDT
                  Copyright © IBM Corp., 2010. All rights reserved. Source code in this presentation is made available under the EPL, v1.0, remainder of the
                  presentation is licensed under Creative Commons Att. Nc Nd 2.5 license.
6   Beth Tibbitts       EclipseCon 2010 UPC and OpenMP Parallel Programming and Analysis in PTP with CDT
    Copyright © IBM Corp., 2010. All rights reserved. Source code in this presentation is made available under the EPL, v1.0, remainder of the
    presentation is licensed under Creative Commons Att. Nc Nd 2.5 license.
UPC: Installation from CDT
    C/C++ Development Tools: eclipse.org/cdt


    Installation:
    Must install from
    CDT Optional features
    (not in main update site
      or in C/C++ IDE )




7                  Beth Tibbitts       EclipseCon 2010 UPC and OpenMP Parallel Programming and Analysis in PTP with CDT
                   Copyright © IBM Corp., 2010. All rights reserved. Source code in this presentation is made available under the EPL, v1.0, remainder of the
                   presentation is licensed under Creative Commons Att. Nc Nd 2.5 license.
UPC New Project Wizard

    New in CDT 7.0
    Berkeley UPC




    IBM xlC includes UPC support
    and is already in CDT.




8                    Beth Tibbitts       EclipseCon 2010 UPC and OpenMP Parallel Programming and Analysis in PTP with CDT
                     Copyright © IBM Corp., 2010. All rights reserved. Source code in this presentation is made available under the EPL, v1.0, remainder of the
                     presentation is licensed under Creative Commons Att. Nc Nd 2.5 license.
UPC Syntax Awareness in CDT Editor

    Without Language
    Mapping setting
    for UPC




    With Language
     Mapping setting
     for UPC:
    UPC Syntax
     awareness



9              Beth Tibbitts       EclipseCon 2010 UPC and OpenMP Parallel Programming and Analysis in PTP with CDT
               Copyright © IBM Corp., 2010. All rights reserved. Source code in this presentation is made available under the EPL, v1.0, remainder of the
               presentation is licensed under Creative Commons Att. Nc Nd 2.5 license.
UPC content types
 UPC syntax awareness on *.upc files - To recognize it on *.c files,
  modify Language Mappings in Preferences




 Or enable as project-specific
  setting in Project Properties




                 Then change Language Mappings here


10                Beth Tibbitts       EclipseCon 2010 UPC and OpenMP Parallel Programming and Analysis in PTP with CDT
                  Copyright © IBM Corp., 2010. All rights reserved. Source code in this presentation is made available under the EPL, v1.0, remainder of the
                  presentation is licensed under Creative Commons Att. Nc Nd 2.5 license.
UPC Demo

     •    Project setup: New project, Language Mapping
     •    Content Assist: added descriptions
     •    Hover Help
     •    Code Templates




          Run: via PTP Parallel Runtime




11                  Beth Tibbitts       EclipseCon 2010 UPC and OpenMP Parallel Programming and Analysis in PTP with CDT
                    Copyright © IBM Corp., 2010. All rights reserved. Source code in this presentation is made available under the EPL, v1.0, remainder of the
                    presentation is licensed under Creative Commons Att. Nc Nd 2.5 license.
Parallel Performance Wizard (PPW)
       Full-featured performance tool for
        PGAS programming models
          Currently supports UPC, SHMEM, and
           MPI
          Extensible to support other models
          PGAS support by way of Global Address
           Space Performance (GASP) interface
           (http://gasp.hcs.ufl.edu)


       PPW v2.4 features:
          Easy-to-use scripts for backend data
           collection
          User-friendly GUI with familiar
           visualizations
          Advanced automatic analysis support
          Eclipse Integration with PTP 4.0


       More information and free
        download: http://ppw.hcs.ufl.edu

12                  Beth Tibbitts       EclipseCon 2010 UPC and OpenMP Parallel Programming and Analysis in PTP with CDT
                    Copyright © IBM Corp., 2010. All rights reserved. Source code in this presentation is made available under the EPL, v1.0, remainder of the
                    presentation is licensed under Creative Commons Att. Nc Nd 2.5 license.
PPW Integration via ETFw
       We implement the ETFw to make
        PPW’s capabilities available within
        Eclipse
           Compile with instrumentation,
            parallel launch with PPW
           Generates performance data file in
            workspace, PPW GUI launched


       PPW is often used for UPC
        application analysis
           ETFw extended to support UPC
           Many UPC features in PTP


       For more information:
          http://ppw.hcs.ufl.edu
          ppw@hcs.ufl.edu


13                  Beth Tibbitts       EclipseCon 2010 UPC and OpenMP Parallel Programming and Analysis in PTP with CDT
                    Copyright © IBM Corp., 2010. All rights reserved. Source code in this presentation is made available under the EPL, v1.0, remainder of the
                    presentation is licensed under Creative Commons Att. Nc Nd 2.5 license.
OpenMP support in PTP
     OpenMP is a set of directives and APIs/library on top of C
     Makes suggestions to compiler for what can be parallelized
     Often used in Multicore development




14               Beth Tibbitts       EclipseCon 2010 UPC and OpenMP Parallel Programming and Analysis in PTP with CDT
                 Copyright © IBM Corp., 2010. All rights reserved. Source code in this presentation is made available under the EPL, v1.0, remainder of the
                 presentation is licensed under Creative Commons Att. Nc Nd 2.5 license.
New OpenMP project




15          Beth Tibbitts       EclipseCon 2010 UPC and OpenMP Parallel Programming and Analysis in PTP with CDT
            Copyright © IBM Corp., 2010. All rights reserved. Source code in this presentation is made available under the EPL, v1.0, remainder of the
            presentation is licensed under Creative Commons Att. Nc Nd 2.5 license.
Set OpenMP Preferences once

     Point at OpenMP header file
     Allows recognition
     of artifacts




                                                                                                          Location of
                                                                                                          omp.h




16               Beth Tibbitts       EclipseCon 2010 UPC and OpenMP Parallel Programming and Analysis in PTP with CDT
                 Copyright © IBM Corp., 2010. All rights reserved. Source code in this presentation is made available under the EPL, v1.0, remainder of the
                 presentation is licensed under Creative Commons Att. Nc Nd 2.5 license.
OpenMP project builds




17           Beth Tibbitts       EclipseCon 2010 UPC and OpenMP Parallel Programming and Analysis in PTP with CDT
             Copyright © IBM Corp., 2010. All rights reserved. Source code in this presentation is made available under the EPL, v1.0, remainder of the
             presentation is licensed under Creative Commons Att. Nc Nd 2.5 license.
Show OpenMP Artifacts




 • Hover help
 • F1 help
 • Content assist
 • Code templates
 … all especially for OpenMP




18                Beth Tibbitts       EclipseCon 2010 UPC and OpenMP Parallel Programming and Analysis in PTP with CDT
                  Copyright © IBM Corp., 2010. All rights reserved. Source code in this presentation is made available under the EPL, v1.0, remainder of the
                  presentation is licensed under Creative Commons Att. Nc Nd 2.5 license.
OpenMP Artifacts

     Look! It even works in Fortran!


     Integration with
     Photran in
     PTP 4.0


     Demo




19                Beth Tibbitts       EclipseCon 2010 UPC and OpenMP Parallel Programming and Analysis in PTP with CDT
                  Copyright © IBM Corp., 2010. All rights reserved. Source code in this presentation is made available under the EPL, v1.0, remainder of the
                  presentation is licensed under Creative Commons Att. Nc Nd 2.5 license.
OpenMP support in PTP

     •  Need to update OpenMP API info to – 3.0?
     •  Do multicore shared memory programmers find these tools
        useful?

     •  Additional analysis tools
         •  Show concurrency – identifies statements that cannot execute
            concurrently
         •  Show #pragma region – scope of the #pragma statements




20                 Beth Tibbitts       EclipseCon 2010 UPC and OpenMP Parallel Programming and Analysis in PTP with CDT
                   Copyright © IBM Corp., 2010. All rights reserved. Source code in this presentation is made available under the EPL, v1.0, remainder of the
                   presentation is licensed under Creative Commons Att. Nc Nd 2.5 license.
Setup to run

     Set
     OMP_NUM_THREADS
     To run with more
     than a single
     thread




21             Beth Tibbitts       EclipseCon 2010 UPC and OpenMP Parallel Programming and Analysis in PTP with CDT
               Copyright © IBM Corp., 2010. All rights reserved. Source code in this presentation is made available under the EPL, v1.0, remainder of the
               presentation is licensed under Creative Commons Att. Nc Nd 2.5 license.
Issues, Problems, future areas

     PTP will be in Helios Release
     Need feedback!
     Debugging



                                             PTP Talk later today:

     “The Parallel Tools Platform: A Development Environment For
       High Performance Computing”
     Greg Watson (IBM), Thursday 3:20 PM, Winchester Room




22               Beth Tibbitts       EclipseCon 2010 UPC and OpenMP Parallel Programming and Analysis in PTP with CDT
                 Copyright © IBM Corp., 2010. All rights reserved. Source code in this presentation is made available under the EPL, v1.0, remainder of the
                 presentation is licensed under Creative Commons Att. Nc Nd 2.5 license.
References

     •  Parallel Tools Platform: http://eclipse.org/ptp
     •  Beth Tibbitts, “Static Analysis in PTP with CDT”, EclipseCon 2008,
        http://www.eclipsecon.org/2008/?page=sub/&id=373
     •  UPC (Unified Parallel C) http://upc.lbl.gov/
           •  Implementations include: IBM xlUPC, Berkeley UPC, GCC UPC
     •  PPW (Parallel Performance Wizard) for PGAS languages: http://ppw.hcs.ufl.edu/
     •  UPC setup in CDT:
        http://www.eclipse.org/ptp/documentation/3.0/org.eclipse.ptp.pldt.help/html/
        runUPC.html
     •  IBM X10 language for parallel development: http://x10-lang.org
          •    Includes X10DT Eclipse tooling – based on IMP (http://eclipse.org/imp)
     •  Blue Waters info: http://www.ncsa.illinois.edu/BlueWaters/pdfs/snir-power7.pdf
          •    http://www.facebook.com/NCSAatIllinois




23                      Beth Tibbitts       EclipseCon 2010 UPC and OpenMP Parallel Programming and Analysis in PTP with CDT
                        Copyright © IBM Corp., 2010. All rights reserved. Source code in this presentation is made available under the EPL, v1.0, remainder of the
                        presentation is licensed under Creative Commons Att. Nc Nd 2.5 license.

More Related Content

Viewers also liked

Concurrent Programming OpenMP @ Distributed System Discussion
Concurrent Programming OpenMP @ Distributed System DiscussionConcurrent Programming OpenMP @ Distributed System Discussion
Concurrent Programming OpenMP @ Distributed System Discussion
CherryBerry2
 
Parallelization of Coupled Cluster Code with OpenMP
Parallelization of Coupled Cluster Code with OpenMPParallelization of Coupled Cluster Code with OpenMP
Parallelization of Coupled Cluster Code with OpenMP
Anil Bohare
 
Open mp library functions and environment variables
Open mp library functions and environment variablesOpen mp library functions and environment variables
Open mp library functions and environment variables
Suveeksha
 
Openmp combined
Openmp combinedOpenmp combined
Openmp combined
Brett Estrade
 
OpenMP And C++
OpenMP And C++OpenMP And C++
OpenMP And C++
Dragos Sbîrlea
 
Intel parallel programming
Intel parallel programmingIntel parallel programming
Intel parallel programming
Nirma University
 
Open mp 1i
Open mp 1iOpen mp 1i
Open mp 1i
tomasz_pelczar
 
Multi-Processor computing with OpenMP
Multi-Processor computing with OpenMPMulti-Processor computing with OpenMP
Multi-Processor computing with OpenMPStefan Coetzee
 
Programming using Open Mp
Programming using Open MpProgramming using Open Mp
Programming using Open MpAnshul Sharma
 
Open mp intro_01
Open mp intro_01Open mp intro_01
Open mp intro_01
Oleg Nazarevych
 
How to Use OpenMP on Native Activity
How to Use OpenMP on Native ActivityHow to Use OpenMP on Native Activity
LLVM-based Communication Optimizations for PGAS Programs
LLVM-based Communication Optimizations for PGAS ProgramsLLVM-based Communication Optimizations for PGAS Programs
LLVM-based Communication Optimizations for PGAS Programs
Akihiro Hayashi
 
LLVM Optimizations for PGAS Programs -Case Study: LLVM Wide Optimization in C...
LLVM Optimizations for PGAS Programs -Case Study: LLVM Wide Optimization in C...LLVM Optimizations for PGAS Programs -Case Study: LLVM Wide Optimization in C...
LLVM Optimizations for PGAS Programs -Case Study: LLVM Wide Optimization in C...
Akihiro Hayashi
 
GTC16 - S6510 - Targeting GPUs with OpenMP 4.5
GTC16 - S6510 - Targeting GPUs with OpenMP 4.5GTC16 - S6510 - Targeting GPUs with OpenMP 4.5
GTC16 - S6510 - Targeting GPUs with OpenMP 4.5
Jeff Larkin
 
Early Experiences with the OpenMP Accelerator Model
Early Experiences with the OpenMP Accelerator ModelEarly Experiences with the OpenMP Accelerator Model
Early Experiences with the OpenMP Accelerator Model
Chunhua Liao
 
Intro to OpenMP
Intro to OpenMPIntro to OpenMP
Intro to OpenMP
jbp4444
 

Viewers also liked (20)

Concurrent Programming OpenMP @ Distributed System Discussion
Concurrent Programming OpenMP @ Distributed System DiscussionConcurrent Programming OpenMP @ Distributed System Discussion
Concurrent Programming OpenMP @ Distributed System Discussion
 
Agathos-PHD-uoi-2016
Agathos-PHD-uoi-2016Agathos-PHD-uoi-2016
Agathos-PHD-uoi-2016
 
Parallelization of Coupled Cluster Code with OpenMP
Parallelization of Coupled Cluster Code with OpenMPParallelization of Coupled Cluster Code with OpenMP
Parallelization of Coupled Cluster Code with OpenMP
 
Open mp library functions and environment variables
Open mp library functions and environment variablesOpen mp library functions and environment variables
Open mp library functions and environment variables
 
Openmp combined
Openmp combinedOpenmp combined
Openmp combined
 
OpenMP And C++
OpenMP And C++OpenMP And C++
OpenMP And C++
 
Intel parallel programming
Intel parallel programmingIntel parallel programming
Intel parallel programming
 
Open mp 1i
Open mp 1iOpen mp 1i
Open mp 1i
 
Multi-Processor computing with OpenMP
Multi-Processor computing with OpenMPMulti-Processor computing with OpenMP
Multi-Processor computing with OpenMP
 
Programming using Open Mp
Programming using Open MpProgramming using Open Mp
Programming using Open Mp
 
Open mp intro_01
Open mp intro_01Open mp intro_01
Open mp intro_01
 
OpenMP
OpenMPOpenMP
OpenMP
 
Open MP cheet sheet
Open MP cheet sheetOpen MP cheet sheet
Open MP cheet sheet
 
How to Use OpenMP on Native Activity
How to Use OpenMP on Native ActivityHow to Use OpenMP on Native Activity
How to Use OpenMP on Native Activity
 
LLVM-based Communication Optimizations for PGAS Programs
LLVM-based Communication Optimizations for PGAS ProgramsLLVM-based Communication Optimizations for PGAS Programs
LLVM-based Communication Optimizations for PGAS Programs
 
LLVM Optimizations for PGAS Programs -Case Study: LLVM Wide Optimization in C...
LLVM Optimizations for PGAS Programs -Case Study: LLVM Wide Optimization in C...LLVM Optimizations for PGAS Programs -Case Study: LLVM Wide Optimization in C...
LLVM Optimizations for PGAS Programs -Case Study: LLVM Wide Optimization in C...
 
GTC16 - S6510 - Targeting GPUs with OpenMP 4.5
GTC16 - S6510 - Targeting GPUs with OpenMP 4.5GTC16 - S6510 - Targeting GPUs with OpenMP 4.5
GTC16 - S6510 - Targeting GPUs with OpenMP 4.5
 
Open MP
Open MPOpen MP
Open MP
 
Early Experiences with the OpenMP Accelerator Model
Early Experiences with the OpenMP Accelerator ModelEarly Experiences with the OpenMP Accelerator Model
Early Experiences with the OpenMP Accelerator Model
 
Intro to OpenMP
Intro to OpenMPIntro to OpenMP
Intro to OpenMP
 

Similar to UPC and OpenMP Parallel Programming and Analysis in PTP with CDT

Make Me an Eclipse View (with less Plumbing): The PTP External Tools Framewor...
Make Me an Eclipse View (with less Plumbing): The PTP External Tools Framewor...Make Me an Eclipse View (with less Plumbing): The PTP External Tools Framewor...
Make Me an Eclipse View (with less Plumbing): The PTP External Tools Framewor...
bethtib
 
OpenCL - The Open Standard for Heterogeneous Parallel Programming
OpenCL - The Open Standard for Heterogeneous Parallel ProgrammingOpenCL - The Open Standard for Heterogeneous Parallel Programming
OpenCL - The Open Standard for Heterogeneous Parallel Programming
Andreas Schreiber
 
Building Eclipse Plugins and RCP Applications with Tycho - ECE 2012
Building Eclipse Plugins and RCP Applications with Tycho - ECE 2012Building Eclipse Plugins and RCP Applications with Tycho - ECE 2012
Building Eclipse Plugins and RCP Applications with Tycho - ECE 2012
jsievers
 
Python_final_print_batch_II_vision_academy.pdf
Python_final_print_batch_II_vision_academy.pdfPython_final_print_batch_II_vision_academy.pdf
Python_final_print_batch_II_vision_academy.pdf
bhagyashri686896
 
Python_final_print_batch_II_vision_academy (1).pdf
Python_final_print_batch_II_vision_academy (1).pdfPython_final_print_batch_II_vision_academy (1).pdf
Python_final_print_batch_II_vision_academy (1).pdf
rupaliakhute
 
Python_final_print_batch_II_vision_academy.pdf
Python_final_print_batch_II_vision_academy.pdfPython_final_print_batch_II_vision_academy.pdf
Python_final_print_batch_II_vision_academy.pdf
sannykhopade
 
Python_vision_academy notes
Python_vision_academy notes Python_vision_academy notes
Python_vision_academy notes
rajaniraut
 
Tycho Tutorial EclipseCon 2013
Tycho Tutorial EclipseCon 2013Tycho Tutorial EclipseCon 2013
Tycho Tutorial EclipseCon 2013
jsievers
 
In Network Computing Prototype Using P4 at KSC/KREONET 2019
In Network Computing Prototype Using P4 at KSC/KREONET 2019In Network Computing Prototype Using P4 at KSC/KREONET 2019
In Network Computing Prototype Using P4 at KSC/KREONET 2019
Kentaro Ebisawa
 
Python Intro For Managers
Python Intro For ManagersPython Intro For Managers
Python Intro For ManagersAtul Shridhar
 
Microsoft Connect 2018 .NET User Group Paderborn
Microsoft Connect 2018 .NET User Group PaderbornMicrosoft Connect 2018 .NET User Group Paderborn
Microsoft Connect 2018 .NET User Group Paderborn
Mark Lechtermann
 
Eclipse 3.7 : Tips and tricks
Eclipse 3.7 : Tips and tricksEclipse 3.7 : Tips and tricks
Eclipse 3.7 : Tips and tricks
Tomasz Zarna
 
Ipdtl
IpdtlIpdtl
Python_final_print_vison_academy_9822506209.pdf
Python_final_print_vison_academy_9822506209.pdfPython_final_print_vison_academy_9822506209.pdf
Python_final_print_vison_academy_9822506209.pdf
VisionAcademyProfSac
 
Shifter singularity - june 7, 2018 - bw symposium
Shifter  singularity - june 7, 2018 - bw symposiumShifter  singularity - june 7, 2018 - bw symposium
Shifter singularity - june 7, 2018 - bw symposium
inside-BigData.com
 
Building Eclipse Plugins and RCP applications with Tycho
Building Eclipse Plugins and RCP applications with TychoBuilding Eclipse Plugins and RCP applications with Tycho
Building Eclipse Plugins and RCP applications with Tychojsievers
 
Python ppt.pptx
Python ppt.pptxPython ppt.pptx
Python ppt.pptx
SujeetKumar272226
 
Python ppt.pptx
Python ppt.pptxPython ppt.pptx
Python ppt.pptx
SujeetKumar272226
 
06 EPI: the European approach for Exascale ages
06 EPI: the European approach for Exascale ages06 EPI: the European approach for Exascale ages
06 EPI: the European approach for Exascale ages
RCCSRENKEI
 

Similar to UPC and OpenMP Parallel Programming and Analysis in PTP with CDT (20)

Make Me an Eclipse View (with less Plumbing): The PTP External Tools Framewor...
Make Me an Eclipse View (with less Plumbing): The PTP External Tools Framewor...Make Me an Eclipse View (with less Plumbing): The PTP External Tools Framewor...
Make Me an Eclipse View (with less Plumbing): The PTP External Tools Framewor...
 
OpenCL - The Open Standard for Heterogeneous Parallel Programming
OpenCL - The Open Standard for Heterogeneous Parallel ProgrammingOpenCL - The Open Standard for Heterogeneous Parallel Programming
OpenCL - The Open Standard for Heterogeneous Parallel Programming
 
Building Eclipse Plugins and RCP Applications with Tycho - ECE 2012
Building Eclipse Plugins and RCP Applications with Tycho - ECE 2012Building Eclipse Plugins and RCP Applications with Tycho - ECE 2012
Building Eclipse Plugins and RCP Applications with Tycho - ECE 2012
 
Python_final_print_batch_II_vision_academy.pdf
Python_final_print_batch_II_vision_academy.pdfPython_final_print_batch_II_vision_academy.pdf
Python_final_print_batch_II_vision_academy.pdf
 
Python_final_print_batch_II_vision_academy (1).pdf
Python_final_print_batch_II_vision_academy (1).pdfPython_final_print_batch_II_vision_academy (1).pdf
Python_final_print_batch_II_vision_academy (1).pdf
 
Python_final_print_batch_II_vision_academy.pdf
Python_final_print_batch_II_vision_academy.pdfPython_final_print_batch_II_vision_academy.pdf
Python_final_print_batch_II_vision_academy.pdf
 
Python_vision_academy notes
Python_vision_academy notes Python_vision_academy notes
Python_vision_academy notes
 
Tycho Tutorial EclipseCon 2013
Tycho Tutorial EclipseCon 2013Tycho Tutorial EclipseCon 2013
Tycho Tutorial EclipseCon 2013
 
In Network Computing Prototype Using P4 at KSC/KREONET 2019
In Network Computing Prototype Using P4 at KSC/KREONET 2019In Network Computing Prototype Using P4 at KSC/KREONET 2019
In Network Computing Prototype Using P4 at KSC/KREONET 2019
 
CLV_Viswanath_K
CLV_Viswanath_KCLV_Viswanath_K
CLV_Viswanath_K
 
Python Intro For Managers
Python Intro For ManagersPython Intro For Managers
Python Intro For Managers
 
Microsoft Connect 2018 .NET User Group Paderborn
Microsoft Connect 2018 .NET User Group PaderbornMicrosoft Connect 2018 .NET User Group Paderborn
Microsoft Connect 2018 .NET User Group Paderborn
 
Eclipse 3.7 : Tips and tricks
Eclipse 3.7 : Tips and tricksEclipse 3.7 : Tips and tricks
Eclipse 3.7 : Tips and tricks
 
Ipdtl
IpdtlIpdtl
Ipdtl
 
Python_final_print_vison_academy_9822506209.pdf
Python_final_print_vison_academy_9822506209.pdfPython_final_print_vison_academy_9822506209.pdf
Python_final_print_vison_academy_9822506209.pdf
 
Shifter singularity - june 7, 2018 - bw symposium
Shifter  singularity - june 7, 2018 - bw symposiumShifter  singularity - june 7, 2018 - bw symposium
Shifter singularity - june 7, 2018 - bw symposium
 
Building Eclipse Plugins and RCP applications with Tycho
Building Eclipse Plugins and RCP applications with TychoBuilding Eclipse Plugins and RCP applications with Tycho
Building Eclipse Plugins and RCP applications with Tycho
 
Python ppt.pptx
Python ppt.pptxPython ppt.pptx
Python ppt.pptx
 
Python ppt.pptx
Python ppt.pptxPython ppt.pptx
Python ppt.pptx
 
06 EPI: the European approach for Exascale ages
06 EPI: the European approach for Exascale ages06 EPI: the European approach for Exascale ages
06 EPI: the European approach for Exascale ages
 

Recently uploaded

FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
Assure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyesAssure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
Quantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIsQuantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIs
Vlad Stirbu
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
Safe Software
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Paige Cruz
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
DianaGray10
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
Product School
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
Elena Simperl
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
Alison B. Lowndes
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 

Recently uploaded (20)

FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
Assure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyesAssure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyes
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
Quantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIsQuantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIs
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 

UPC and OpenMP Parallel Programming and Analysis in PTP with CDT

  • 1. UPC and OpenMP Parallel Programming and Analysis in PTP with CDT Beth R. Tibbitts IBM Corp. tibbitts@us.ibm.com March, 2010 EclipseCon 2010, Santa Clara This material is partly based upon work supported by the Defense Advanced Research Projects Agency under its Agreement No. HR0011-07-9-0002 1 Beth Tibbitts EclipseCon 2010 UPC and OpenMP Parallel Programming and Analysis in PTP with CDT Copyright © IBM Corp., 2010. All rights reserved. Source code in this presentation is made available under the EPL, v1.0, remainder of the presentation is licensed under Creative Commons Att. Nc Nd 2.5 license.
  • 2. 2 Beth Tibbitts EclipseCon 2010 UPC and OpenMP Parallel Programming and Analysis in PTP with CDT Copyright © IBM Corp., 2010. All rights reserved. Source code in this presentation is made available under the EPL, v1.0, remainder of the presentation is licensed under Creative Commons Att. Nc Nd 2.5 license.
  • 3. IBM Power7 and Blue Waters at Supercomputing ‘09 IBM P7: 8 cores=1 chip; 4 chips=1 QCM; 8 QCMs= 1 drawer 4 drawers= 1 supernode (1024 cores) Total 300,000 cores; 10 petaflops peak; 1 petaflop sustained Source: http://www.ncsa.illinois.edu/BlueWaters/pdfs/snir-power7.pdf 3 Beth Tibbitts EclipseCon 2010 UPC and OpenMP Parallel Programming and Analysis in PTP with CDT Copyright © IBM Corp., 2010. All rights reserved. Source code in this presentation is made available under the EPL, v1.0, remainder of the presentation is licensed under Creative Commons Att. Nc Nd 2.5 license.
  • 4. NCSA Blue Waters Xxx PTP is the basis for NCSA BW HPC workbench How to program a massively parallel machine? PTP kiosk at IBM booth at SC09 4 Beth Tibbitts EclipseCon 2010 UPC and OpenMP Parallel Programming and Analysis in PTP with CDT Copyright © IBM Corp., 2010. All rights reserved. Source code in this presentation is made available under the EPL, v1.0, remainder of the presentation is licensed under Creative Commons Att. Nc Nd 2.5 license.
  • 5. Parallel Programming Models 1.  Message passing - Most parallel programming so far Language: MPI (C/C++/Fortran) 2. Shared Memory (Global Address Space) Language: C/Fortran with OpenMP Hybrid: Shared + Msg passing: MPI+OpenMP 3. Partitioned Global Address Space (PGAS) Languages: UPC, X10, Chapel, CAF 5 Beth Tibbitts EclipseCon 2010 UPC and OpenMP Parallel Programming and Analysis in PTP with CDT Copyright © IBM Corp., 2010. All rights reserved. Source code in this presentation is made available under the EPL, v1.0, remainder of the presentation is licensed under Creative Commons Att. Nc Nd 2.5 license.
  • 6. 6 Beth Tibbitts EclipseCon 2010 UPC and OpenMP Parallel Programming and Analysis in PTP with CDT Copyright © IBM Corp., 2010. All rights reserved. Source code in this presentation is made available under the EPL, v1.0, remainder of the presentation is licensed under Creative Commons Att. Nc Nd 2.5 license.
  • 7. UPC: Installation from CDT C/C++ Development Tools: eclipse.org/cdt Installation: Must install from CDT Optional features (not in main update site or in C/C++ IDE ) 7 Beth Tibbitts EclipseCon 2010 UPC and OpenMP Parallel Programming and Analysis in PTP with CDT Copyright © IBM Corp., 2010. All rights reserved. Source code in this presentation is made available under the EPL, v1.0, remainder of the presentation is licensed under Creative Commons Att. Nc Nd 2.5 license.
  • 8. UPC New Project Wizard New in CDT 7.0 Berkeley UPC IBM xlC includes UPC support and is already in CDT. 8 Beth Tibbitts EclipseCon 2010 UPC and OpenMP Parallel Programming and Analysis in PTP with CDT Copyright © IBM Corp., 2010. All rights reserved. Source code in this presentation is made available under the EPL, v1.0, remainder of the presentation is licensed under Creative Commons Att. Nc Nd 2.5 license.
  • 9. UPC Syntax Awareness in CDT Editor Without Language Mapping setting for UPC With Language Mapping setting for UPC: UPC Syntax awareness 9 Beth Tibbitts EclipseCon 2010 UPC and OpenMP Parallel Programming and Analysis in PTP with CDT Copyright © IBM Corp., 2010. All rights reserved. Source code in this presentation is made available under the EPL, v1.0, remainder of the presentation is licensed under Creative Commons Att. Nc Nd 2.5 license.
  • 10. UPC content types UPC syntax awareness on *.upc files - To recognize it on *.c files, modify Language Mappings in Preferences Or enable as project-specific setting in Project Properties Then change Language Mappings here 10 Beth Tibbitts EclipseCon 2010 UPC and OpenMP Parallel Programming and Analysis in PTP with CDT Copyright © IBM Corp., 2010. All rights reserved. Source code in this presentation is made available under the EPL, v1.0, remainder of the presentation is licensed under Creative Commons Att. Nc Nd 2.5 license.
  • 11. UPC Demo •  Project setup: New project, Language Mapping •  Content Assist: added descriptions •  Hover Help •  Code Templates Run: via PTP Parallel Runtime 11 Beth Tibbitts EclipseCon 2010 UPC and OpenMP Parallel Programming and Analysis in PTP with CDT Copyright © IBM Corp., 2010. All rights reserved. Source code in this presentation is made available under the EPL, v1.0, remainder of the presentation is licensed under Creative Commons Att. Nc Nd 2.5 license.
  • 12. Parallel Performance Wizard (PPW)   Full-featured performance tool for PGAS programming models   Currently supports UPC, SHMEM, and MPI   Extensible to support other models   PGAS support by way of Global Address Space Performance (GASP) interface (http://gasp.hcs.ufl.edu)   PPW v2.4 features:   Easy-to-use scripts for backend data collection   User-friendly GUI with familiar visualizations   Advanced automatic analysis support   Eclipse Integration with PTP 4.0   More information and free download: http://ppw.hcs.ufl.edu 12 Beth Tibbitts EclipseCon 2010 UPC and OpenMP Parallel Programming and Analysis in PTP with CDT Copyright © IBM Corp., 2010. All rights reserved. Source code in this presentation is made available under the EPL, v1.0, remainder of the presentation is licensed under Creative Commons Att. Nc Nd 2.5 license.
  • 13. PPW Integration via ETFw   We implement the ETFw to make PPW’s capabilities available within Eclipse   Compile with instrumentation, parallel launch with PPW   Generates performance data file in workspace, PPW GUI launched   PPW is often used for UPC application analysis   ETFw extended to support UPC   Many UPC features in PTP   For more information:  http://ppw.hcs.ufl.edu  ppw@hcs.ufl.edu 13 Beth Tibbitts EclipseCon 2010 UPC and OpenMP Parallel Programming and Analysis in PTP with CDT Copyright © IBM Corp., 2010. All rights reserved. Source code in this presentation is made available under the EPL, v1.0, remainder of the presentation is licensed under Creative Commons Att. Nc Nd 2.5 license.
  • 14. OpenMP support in PTP OpenMP is a set of directives and APIs/library on top of C Makes suggestions to compiler for what can be parallelized Often used in Multicore development 14 Beth Tibbitts EclipseCon 2010 UPC and OpenMP Parallel Programming and Analysis in PTP with CDT Copyright © IBM Corp., 2010. All rights reserved. Source code in this presentation is made available under the EPL, v1.0, remainder of the presentation is licensed under Creative Commons Att. Nc Nd 2.5 license.
  • 15. New OpenMP project 15 Beth Tibbitts EclipseCon 2010 UPC and OpenMP Parallel Programming and Analysis in PTP with CDT Copyright © IBM Corp., 2010. All rights reserved. Source code in this presentation is made available under the EPL, v1.0, remainder of the presentation is licensed under Creative Commons Att. Nc Nd 2.5 license.
  • 16. Set OpenMP Preferences once Point at OpenMP header file Allows recognition of artifacts Location of omp.h 16 Beth Tibbitts EclipseCon 2010 UPC and OpenMP Parallel Programming and Analysis in PTP with CDT Copyright © IBM Corp., 2010. All rights reserved. Source code in this presentation is made available under the EPL, v1.0, remainder of the presentation is licensed under Creative Commons Att. Nc Nd 2.5 license.
  • 17. OpenMP project builds 17 Beth Tibbitts EclipseCon 2010 UPC and OpenMP Parallel Programming and Analysis in PTP with CDT Copyright © IBM Corp., 2010. All rights reserved. Source code in this presentation is made available under the EPL, v1.0, remainder of the presentation is licensed under Creative Commons Att. Nc Nd 2.5 license.
  • 18. Show OpenMP Artifacts • Hover help • F1 help • Content assist • Code templates … all especially for OpenMP 18 Beth Tibbitts EclipseCon 2010 UPC and OpenMP Parallel Programming and Analysis in PTP with CDT Copyright © IBM Corp., 2010. All rights reserved. Source code in this presentation is made available under the EPL, v1.0, remainder of the presentation is licensed under Creative Commons Att. Nc Nd 2.5 license.
  • 19. OpenMP Artifacts Look! It even works in Fortran! Integration with Photran in PTP 4.0 Demo 19 Beth Tibbitts EclipseCon 2010 UPC and OpenMP Parallel Programming and Analysis in PTP with CDT Copyright © IBM Corp., 2010. All rights reserved. Source code in this presentation is made available under the EPL, v1.0, remainder of the presentation is licensed under Creative Commons Att. Nc Nd 2.5 license.
  • 20. OpenMP support in PTP •  Need to update OpenMP API info to – 3.0? •  Do multicore shared memory programmers find these tools useful? •  Additional analysis tools •  Show concurrency – identifies statements that cannot execute concurrently •  Show #pragma region – scope of the #pragma statements 20 Beth Tibbitts EclipseCon 2010 UPC and OpenMP Parallel Programming and Analysis in PTP with CDT Copyright © IBM Corp., 2010. All rights reserved. Source code in this presentation is made available under the EPL, v1.0, remainder of the presentation is licensed under Creative Commons Att. Nc Nd 2.5 license.
  • 21. Setup to run Set OMP_NUM_THREADS To run with more than a single thread 21 Beth Tibbitts EclipseCon 2010 UPC and OpenMP Parallel Programming and Analysis in PTP with CDT Copyright © IBM Corp., 2010. All rights reserved. Source code in this presentation is made available under the EPL, v1.0, remainder of the presentation is licensed under Creative Commons Att. Nc Nd 2.5 license.
  • 22. Issues, Problems, future areas PTP will be in Helios Release Need feedback! Debugging PTP Talk later today: “The Parallel Tools Platform: A Development Environment For High Performance Computing” Greg Watson (IBM), Thursday 3:20 PM, Winchester Room 22 Beth Tibbitts EclipseCon 2010 UPC and OpenMP Parallel Programming and Analysis in PTP with CDT Copyright © IBM Corp., 2010. All rights reserved. Source code in this presentation is made available under the EPL, v1.0, remainder of the presentation is licensed under Creative Commons Att. Nc Nd 2.5 license.
  • 23. References •  Parallel Tools Platform: http://eclipse.org/ptp •  Beth Tibbitts, “Static Analysis in PTP with CDT”, EclipseCon 2008, http://www.eclipsecon.org/2008/?page=sub/&id=373 •  UPC (Unified Parallel C) http://upc.lbl.gov/ •  Implementations include: IBM xlUPC, Berkeley UPC, GCC UPC •  PPW (Parallel Performance Wizard) for PGAS languages: http://ppw.hcs.ufl.edu/ •  UPC setup in CDT: http://www.eclipse.org/ptp/documentation/3.0/org.eclipse.ptp.pldt.help/html/ runUPC.html •  IBM X10 language for parallel development: http://x10-lang.org •  Includes X10DT Eclipse tooling – based on IMP (http://eclipse.org/imp) •  Blue Waters info: http://www.ncsa.illinois.edu/BlueWaters/pdfs/snir-power7.pdf •  http://www.facebook.com/NCSAatIllinois 23 Beth Tibbitts EclipseCon 2010 UPC and OpenMP Parallel Programming and Analysis in PTP with CDT Copyright © IBM Corp., 2010. All rights reserved. Source code in this presentation is made available under the EPL, v1.0, remainder of the presentation is licensed under Creative Commons Att. Nc Nd 2.5 license.