MathWorks
  • Products
  • Solutions
  • Academia
  • Support
  • Community
  • Events
  • Contact Us
  • Get MATLAB
MathWorks
  • Products
  • Solutions
  • Academia
  • Support
  • Community
  • Events
  • Get MATLAB

Documentation

  • All
  • Examples
  • Functions
  • More
    • Support
    • MathWorks
    • Documentation
    • MathWorks
    • Documentation
    • Support
    • All
    • Examples
    • Functions
    • Trial Software
    • Product Updates
    • Documentation Home
    • Parallel Computing Toolbox
    • Performance Profiling
    • Parallel Profiler and Code Improvement
    • Benchmarks
    • Interactive Parallel Development (pmode)

    Parallel Profiler and Code Improvement

    Locate problematic areas in parallel code; work around common errors

    Functions

    mpiprofileProfile parallel communication and execution times

    Examples and How To

    Profiling Parallel Code

    Describes how to use the parallel profile to determine the calculation and communications time for each worker

    Job Monitor

    Manage your jobs using the Job Monitor

    Concepts

    Troubleshooting and Debugging

    Describes common programming errors and how to avoid them

    Featured Examples

    Profiling Explicit Parallel Communication

    Profiling Explicit Parallel Communication

    Profile explicit communication to the nearest neighbor lab. It illustrates the use of labSend, labReceive, and labSendReceive, showing both the slow (incorrect) and the fast (optimal) way of implementing this algorithm. The problem is explored using the parallel profiler.

    Open Script
    Profiling Parallel Work Distribution

    Profiling Parallel Work Distribution

    Solve an embarrassingly parallel problem with uneven work distribution using for drange. The for drange splits iterations equally. As a result it can do suboptimal load balancing, which is visible using the parallel profiler. The procedures described here are also applicable to other work distribution problems.

    Open Script
    Profiling Load Unbalanced Codistributed Arrays

    Profiling Load Unbalanced Codistributed Arrays

    Profile the implicit communication that occurs when using an unevenly distributed array.

    Open Script

    MATLAB Command

    You clicked a link that corresponds to this MATLAB command:

    
            

    Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.

    MathWorks

    Select a Web Site

    Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .

    Select web site

    You can also select a web site from the following list:

    How to Get Best Site Performance

    Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.

    Americas

    • América Latina (Español)
    • Canada (English)
    • United States (English)

    Europe

    • Belgium (English)
    • Denmark (English)
    • Deutschland (Deutsch)
    • España (Español)
    • Finland (English)
    • France (Français)
    • Ireland (English)
    • Italia (Italiano)
    • Luxembourg (English)
    • Netherlands (English)
    • Norway (English)
    • Österreich (Deutsch)
    • Portugal (English)
    • Sweden (English)
    • Switzerland
      • Deutsch
      • English
      • Français
    • United Kingdom (English)

    Asia Pacific

    • Australia (English)
    • India (English)
    • New Zealand (English)
    • 中国
      • 简体中文
      • English
    • 日本 (日本語)
    • 한국 (한국어)

    Contact your local office

    • Trial Software
    • Product Updates
    Parallel Computing Toolbox Documentation
    • Functions
    • Release Notes
    • PDF Documentation
    Support
    • MATLAB Answers
    • Installation Help
    • Bug Reports
    • Product Requirements
    • Software Downloads
    Cluster Computing for MATLAB Users

    Cluster Computing for MATLAB Users

    Watch now

    Explore Products

    • MATLAB
    • Simulink
    • Student Software
    • Hardware Support
    • File Exchange

    Try or Buy

    • Downloads
    • Trial Software
    • Contact Sales
    • Pricing and Licensing
    • How to Buy

    Learn to Use

    • Documentation
    • Tutorials
    • Examples
    • Videos and Webinars
    • Training

    Get Support

    • Installation Help
    • Answers
    • Consulting
    • License Center

    About MathWorks

    • Careers
    • Newsroom
    • Social Mission
    • Contact Us
    • About MathWorks

    MathWorks

    Accelerating the pace of engineering and science

    MathWorks is the leading developer of mathematical computing software for engineers and scientists.

    Discover...

    • Benelux
    • Patents
    • Trademarks
    • Privacy Policy
    • Preventing Piracy
    • Application Status

    © 1994-2019 The MathWorks, Inc.

    • Facebook
    • Twitter
    • Instagram
    • YouTube
    • LinkedIn
    • RSS

    Join the conversation

    This website uses cookies to improve your user experience, personalize content and ads, and analyze website traffic. By continuing to use this website, you consent to our use of cookies. Please see our Privacy Policy to learn more about cookies and how to change your settings.