Documentation

  • Documentation Home
  • Parallel Computing Toolbox
  • Performance Profiling
  • Parallel Profiler and Code Improvement
  • Benchmarks
  • All
  • Examples
  • Functions
  • More
    • All
    • Examples
    • Functions

    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

    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

    Profile Parallel Code

    Profile Parallel Code

    Profile parallel code using the parallel profiler on workers in a parallel pool.

    Open Live Script
    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. For getting started with parallel profiling, see Profiling Parallel Code.

    Open Live Script
    Profiling Load Unbalanced Codistributed Arrays

    Profiling Load Unbalanced Codistributed Arrays

    Profile the implicit communication that occurs when using an unevenly distributed array. For getting started with parallel profiling, see Profiling Parallel Code.

    Open Live Script
    Parallel Computing Toolbox Documentation
    • Examples
    • Functions
    • Release Notes
    • PDF Documentation
    Support
    • MATLAB Answers
    • Installation Help
    • Bug Reports
    • Product Requirements
    • Software Downloads

    © 1994-2020 The MathWorks, Inc.

    • Terms of Use
    • Patents
    • Trademarks
    • Acknowledgments