Docsity

SGI Altix: Linux Software Development and Parallel Programming Tools, Slides of Parallel Computing and Programming

Partial preview of the text

Download SGI Altix: Linux Software Development and Parallel Programming Tools and more Slides Parallel Computing and Programming in PDF only on Docsity!

Lecture 6:

Multiprocessor 3: SGI Altix Programming

and Measurements

Linux Software Development

Experience

Programming Languages C,C++, Fortran, Java, Ada

Libraries HPC, Math, Parallel Programming

Binary/Object Code

Compile Optimization Performance Analysis

  • Leverage best of breed tools for Linux application development
  • Provides developers with a choice of tools

Programming Languages: C & C++

  • Intel C++ Compiler for Linux
    • Supports C & C++
    • Performance optimized for Intel Itanium 2 and Intel Xeon processors
    • Compatible with GNU C & C++ compilers
    • OpenMP and Cluster OpenMP for shared memory parallel programming
    • Auto-Parallelization support to improve application performance by automatically threading of loops
    • Available for purchase from SGI and Intel
  • GNU C and C++ compilers
    • GCC which supports C and C++ is included with Novell ®^ SLESTM
    • Free Software Foundation offers GCC in source form

Programming Languages: Fortran

  • Intel Fortran compilers for Linux
    • Supports Fortran 95
    • OpenMP and Cluster OpenMP for shared memory parallel programming
    • Auto-Parallelization support to improve application performance by automatically threading of loops
    • Available for purchase from SGI and Intel
  • GNU Fortran 77
    • GCC supports Fortran 77 and is included with Novell SLES
    • Free Software Foundation offers GCC in source form
    • GNU Fortran 95 is still a project – see http://g95.sourceforge.net/

Parallel Programming

  • Message Passing Interface
    • SGI Message Passing Interface (MPT)
      • MPI 1.2 with some customer requested MPI 2 APIs
      • Optimized for SGI® Altix® systems scaling to 100s of processes
      • For SGI Altix systems supporting Intel Itanium 2 processors only
      • Included with SGI ProPackTM^ for Linux
    • Intel MPI Library
      • MPI-2 standard compliant Message Passing Interface library
      • On SGI Altix, scales to 90 processes (use SGI MPT for scaling to >90 processes)
      • DAPLs available from Linux OS distributions
        • DAPL for Altix available in SGI ProPack 5
      • Available for purchase from SGI and Intel
    • Intel MPI Runtime Environment pre-installed on Altix XE Cluster Solution
      • Any application using Intel MPI Library will run
    • Voltaire MPI
      • Included with Voltaire IBHost and GridStack
      • DAPLs bundled with Voltaire IBHost and GridStack
      • Voltaire IBHost included with SGI’s systems containing Infiniband
      • Pre-installed on Altix XE Cluster Solution
    • Scali MPI Connect
      • MPI 1.2 compliant Message Passing Interface library
      • Available for purchase from Scali www.scali.com

Parallel Programming (2)

• Parallel Programming Support in the Intel C++

and Fortran Compilers

  • OpenMP
    • OpenMP directives convert serial applications into parallel application and enable potentially big performance gains from parallel execution on multi-core and SMP systems
  • Auto-Parallelization
    • Improves application performance on multiprocessor systems with automatic threading of loops
    • Auto-Parallelization detects parallel loops capable of being executed safely in parallel and automatically generates multi-threaded code

Parallel Programming (4)

  • SGI Linux Trace
    • Kernel level trace data and Visualizer tool
    • Developed as a modified version of Linux Trace Toolkit
    • Requires a debug kernel containing the tracepoints
    • GUI interface to visualize and analyze trace data
    • For SGI Altix systems supporting Intel Itanium 2 processors only
    • Included with SGI ProPack 5 for Linux
  • Intel Trace Analyzer and Collector
    • For analyzing and optimizing parallel programs
    • GUI interface for visualizing parallel program behavior
    • Evaluates profiling statistics and load balancing
    • Analyzes performance of subroutines or code-blocks
    • Learns about communication patterns, parameters, and performance data
    • Identifies communication hotspots
    • Decreases time to solution and increase application efficiency
    • Available for purchase from SGI or Intel

SGI’s Performance Analysis Tools

  • SGI Linux Trace
    • Kernel level trace data and Visualizer tool
    • For SGI Altix systems supporting Intel Itanium 2

processors only

  • Included with SGI ProPack 5 for Linux
  • Performance Co-Pilot TM
  • Monitor and manage system performance by collecting

performance data and filtering to detect bottlenecks,

cpu activity, and resource utilization metrics

  • Well-suited for large servers, server clusters, multi-user

DBMS environments, compute, web, file, video services

  • For SGI Altix systems supporting Intel Itanium 2 and

Intel Xeon processors

  • Included in SGI ProPack for Linux

Parallel/Concurrent

Programming on the SGI Altix

Conley Read January 25, 2007

UC Riverside, Department of Computer Science

Overview

  • The SGI Altix
  • Itanium 2 Features
  • Tools
    • Schedutils
  • MPI Programming
  • Star-P
  • References
  • Try It

SGI Altix 3000

  • Runs one copy of Fedora or OpenSUSE Linux
    • Ported to SGI Hardware (Lessons from IRIX)
  • Linux natively supports management of 32

processors

  • 1 copy of Linux vs. 1 copy of Linux per node
    • Node sizes 32,64,128…?
  • Programming for the 32 processor SGI is similar

to programming for a 4 way SMP

Global Shared Memory

  • Single Memory space
    • All system resources
    • Processors
    • I/O
  • SGI Altix 3000 uses NUMAflex (interconnect) to connect Itaniums with NUMAlink (ASIC)
  • Creates SMP-like system
  • Regardless of the node location of thread execution - Interprocess communication time is reduced

Tools

  • GNU C Compiler – Installed
  • Intel C Compiler (icc) – Waiting for License
  • Intel Debugger (idb)
  • GNU gdb – Debugger – Installed
    • Some problems with code generated by icc
  • Etnus TotalView – Better Debugger
  • Intel Vtune – Available for purchase
  • sTrace – System Call Tracer
  • SGI Star-P – Currently being installed

ICC

• Intel C Compiler (icc)

  • OpenMP – Simpler conversion from serial to parallel execution
  • Auto-parallelization – Safe-loop parallelization
  • Fortran 95

• Optimizations for IA-64 Architecture

  • Itanium 2 uses IA-