PLog

  • Profiling multiple stages of code; Reads a PETSc matrix and vector from a file and solves a linear system.
    This version first preloads and solves a small system, then loads
    another (larger) system and solves it as well. This example illustrates
    preloading of instructions with the smaller system so that more accurate
    performance monitoring can be done with the larger one (that actually
    is the system of interest). See the 'Performance Hints' chapter of the
    users manual for a discussion of preloading. Input parameters include
    -f0 <input_file> : first file to load (small system)
    -f1 <input_file> : second file to load (larger system)
    Accepts the -pc_type spai option to solve the linear system with SPAI
  • profiling multiple stages of code; Reads a PETSc matrix and vector from a file and solves a linear system.
    Tests inplace factorization for SeqBAIJ. Input parameters include
    -f0 <input_file> : first file to load (small system)
  • profiling multiple stages of code; Reads a PETSc matrix and vector from a file and solves a linear system.
    This version first preloads and solves a small system, then loads
    another (larger) system and solves it as well. This example illustrates
    preloading of instructions with the smaller system so that more accurate
    performance monitoring can be done with the larger one (that actually
    is the system of interest). See the 'Performance Hints' chapter of the
    users manual for a discussion of preloading. Input parameters include
    -f0 <input_file> : first file to load (small system)
    -f1 <input_file> : second file to load (larger system)
    -trans : solve transpose system instead
  • profiling multiple stages of code; Solves two linear systems in parallel with SLES. The code
    illustrates repeated solution of linear systems with the same preconditioner
    method but different matrices (having the same nonzero structure). The code
    also uses multiple profiling stages. Input arguments are
    -m <size> : problem size
    -mat_nonsym : use nonsymmetric matrix (default is symmetric)
  • profiling multiple stages of code; Illustrates the solution of 2 different linear systems
    with different linear solvers. Also, this example illustrates the repeated
    solution of linear systems, while reusing matrix, vector, and solver data
    structures throughout the process. Note the various stages of event logging.
  • user-defined event profiling; Illustrates the solution of 2 different linear systems
    with different linear solvers. Also, this example illustrates the repeated
    solution of linear systems, while reusing matrix, vector, and solver data
    structures throughout the process. Note the various stages of event logging.
  • user-defined event profiling Demonstrates how users can augment the PETSc profiling by
    inserting their own event logging. Run this program with one of the
    following options to generate logging information: -log, -log_summary,
    -log_all. The PETSc routines automatically log event times and flops,
    so this monitoring is intended solely for users to employ in application
    codes. Note that the code must be compiled with the flag -DPETSC_USE_LOG
    (the default) to activate logging.
  • activating/deactivating events for profiling Demonstrates how users can augment the PETSc profiling by
    inserting their own event logging. Run this program with one of the
    following options to generate logging information: -log, -log_summary,
    -log_all. The PETSc routines automatically log event times and flops,
    so this monitoring is intended solely for users to employ in application
    codes. Note that the code must be compiled with the flag -DPETSC_USE_LOG
    (the default) to activate logging.
  • user-defined event profiling (basic example);

    Description: Demonstrates how users can augment the PETSc profiling by
    nserting their own event logging.

  • activating/deactivating events for profiling (basic example);

    Description: Demonstrates how users can augment the PETSc profiling by
    nserting their own event logging.