Link to the source code for this example:

Open eigenproblems_ex2 in new tab.


The console output of the program:

***************************************************************
* Running Example eigenproblems_ex2:
*   example-opt -n 5 -eps_type lapack 
***************************************************************
 
Running /Users/petejw/projects/libmesh_git/build/examples/eigenproblems/eigenproblems_ex2/.libs/example-opt -n 5 -eps_type lapack

 Mesh Information:
  elem_dimensions()={2}
  spatial_dimension()=2
  n_nodes()=441
    n_local_nodes()=441
  n_elem()=400
    n_local_elem()=400
    n_active_elem()=400
  n_subdomains()=1
  n_partitions()=1
  n_processors()=1
  n_threads()=1
  processor_id()=0

 EquationSystems
  n_systems()=1
   System #0, "Eigensystem"
    Type "Eigen"
    Variables="p" 
    Finite Element Types="LAGRANGE", "JACOBI_20_00"
    Infinite Element Mapping="CARTESIAN"
    Approximation Orders="FIRST", "THIRD"
    n_dofs()=441
    n_local_dofs()=441
    n_constrained_dofs()=0
    n_local_constrained_dofs()=0
    n_vectors()=0
    n_matrices()=2
    DofMap Sparsity
      Average  On-Processor Bandwidth <= 8.43764
      Average Off-Processor Bandwidth <= 0
      Maximum  On-Processor Bandwidth <= 9
      Maximum Off-Processor Bandwidth <= 0
    DofMap Constraints
      Number of DoF Constraints = 0

Number of converged eigenpairs: 441


 -------------------------------------------------------------------------------------------------------------------
| Time:           Wed Apr 13 12:56:33 2016                                                                          |
| OS:             Darwin                                                                                            |
| HostName:       peterson-laptop.local                                                                             |
| OS Release:     15.0.0                                                                                            |
| OS Version:     Darwin Kernel Version 15.0.0: Sat Sep 19 15:53:46 PDT 2015; root:xnu-3247.10.11~1/RELEASE_X86_64  |
| Machine:        x86_64                                                                                            |
| Username:       petejw                                                                                            |
| Configuration:  ../configure  'INSTALL=/usr/bin/install -C'                                                       |
|  '--with-methods=opt dbg'                                                                                         |
|  '--prefix=/Users/petejw/projects/libmesh_git/installed'                                                          |
|  '--enable-perflog'                                                                                               |
|  '--enable-tracefiles'                                                                                            |
|  '--disable-blocked-storage'                                                                                      |
|  '--enable-tecio'                                                                                                 |
|  '--enable-unique-ptr'                                                                                            |
|  '--enable-ifem'                                                                                                  |
|  '--disable-strict-lgpl'                                                                                          |
|  '--with-vtk-include=/opt/moose/vtk-6.3/include/vtk-6.3'                                                          |
|  '--with-vtk-lib=/opt/moose/vtk-6.3/lib'                                                                          |
|  'CXX=mpicxx'                                                                                                     |
|  'CC=mpicc'                                                                                                       |
|  'FC=mpif90'                                                                                                      |
|  'F77=mpif77'                                                                                                     |
|  'PETSC_DIR=/opt/moose/petsc/mpich_petsc-3.6.1/clang-opt-superlu'                                                 |
|  'SLEPC_DIR=/opt/petejw/slepc/3.6.1'                                                                              |
 -------------------------------------------------------------------------------------------------------------------
 -----------------------------------------------------------------------------------------------------------------
| libMesh Performance: Alive time=0.531618, Active time=0.249219                                                  |
 -----------------------------------------------------------------------------------------------------------------
| Event                              nCalls     Total Time  Avg Time    Total Time  Avg Time    % of Active Time  |
|                                               w/o Sub     w/o Sub     With Sub    With Sub    w/o S    With S   |
|-----------------------------------------------------------------------------------------------------------------|
|                                                                                                                 |
|                                                                                                                 |
| DofMap                                                                                                          |
|   add_neighbors_to_send_list()     1          0.0001      0.000092    0.0001      0.000092    0.04     0.04     |
|   build_sparsity()                 1          0.0006      0.000619    0.0008      0.000758    0.25     0.30     |
|   create_dof_constraints()         1          0.0000      0.000038    0.0000      0.000038    0.02     0.02     |
|   distribute_dofs()                1          0.0001      0.000107    0.0006      0.000635    0.04     0.25     |
|   dof_indices()                    1200       0.0003      0.000000    0.0003      0.000000    0.10     0.10     |
|   prepare_send_list()              2          0.0000      0.000000    0.0000      0.000000    0.00     0.00     |
|   reinit()                         1          0.0005      0.000528    0.0005      0.000528    0.21     0.21     |
|                                                                                                                 |
| EquationSystems                                                                                                 |
|   build_solution_vector()          1          0.0003      0.000274    0.0004      0.000362    0.11     0.15     |
|                                                                                                                 |
| ExodusII_IO                                                                                                     |
|   write_nodal_data()               1          0.0011      0.001131    0.0011      0.001131    0.45     0.45     |
|                                                                                                                 |
| FE                                                                                                              |
|   compute_shape_functions()        400        0.0003      0.000001    0.0003      0.000001    0.13     0.13     |
|   init_shape_functions()           1          0.0000      0.000010    0.0000      0.000010    0.00     0.00     |
|                                                                                                                 |
| FEMap                                                                                                           |
|   compute_affine_map()             400        0.0002      0.000000    0.0002      0.000000    0.08     0.08     |
|   init_reference_to_physical_map() 1          0.0000      0.000012    0.0000      0.000012    0.00     0.00     |
|                                                                                                                 |
| Mesh                                                                                                            |
|   find_neighbors()                 1          0.0014      0.001359    0.0014      0.001359    0.55     0.55     |
|   renumber_nodes_and_elem()        2          0.0000      0.000013    0.0000      0.000013    0.01     0.01     |
|                                                                                                                 |
| MeshOutput                                                                                                      |
|   write_equation_systems()         1          0.0000      0.000022    0.0015      0.001516    0.01     0.61     |
|                                                                                                                 |
| MeshTools::Generation                                                                                           |
|   build_cube()                     1          0.0003      0.000297    0.0003      0.000297    0.12     0.12     |
|                                                                                                                 |
| Parallel                                                                                                        |
|   allgather()                      1          0.0000      0.000000    0.0000      0.000000    0.00     0.00     |
|                                                                                                                 |
| Partitioner                                                                                                     |
|   single_partition()               1          0.0000      0.000026    0.0000      0.000026    0.01     0.01     |
|                                                                                                                 |
| SlepcEigenSolver                                                                                                |
|   solve_generalized()              1          0.2431      0.243113    0.2431      0.243113    97.55    97.55    |
|                                                                                                                 |
| System                                                                                                          |
|   assemble()                       1          0.0008      0.000787    0.0015      0.001549    0.32     0.62     |
 -----------------------------------------------------------------------------------------------------------------
| Totals:                            2020       0.2492                                          100.00            |
 -----------------------------------------------------------------------------------------------------------------

 
***************************************************************
* Done Running Example eigenproblems_ex2:
*   example-opt -n 5 -eps_type lapack 
***************************************************************