Link to the source code for this example:
Open eigenproblems_ex1 in new tab.
The console output of the program:
***************************************************************
* Running Example eigenproblems_ex1:
* example-opt -n 5
***************************************************************
Running /Users/petejw/projects/libmesh_git/build/examples/eigenproblems/eigenproblems_ex1/.libs/example-opt -n 5
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()=1
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: 5
-------------------------------------------------------------------------------------------------------------------
| Time: Wed Apr 13 12:55:43 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.02548, Active time=0.019151 |
-----------------------------------------------------------------------------------------------------------------
| 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.000062 0.0001 0.000062 0.32 0.32 |
| build_sparsity() 1 0.0004 0.000419 0.0005 0.000507 2.19 2.65 |
| create_dof_constraints() 1 0.0000 0.000027 0.0000 0.000027 0.14 0.14 |
| distribute_dofs() 1 0.0001 0.000074 0.0004 0.000366 0.39 1.91 |
| dof_indices() 1200 0.0002 0.000000 0.0002 0.000000 0.93 0.93 |
| prepare_send_list() 2 0.0000 0.000000 0.0000 0.000000 0.01 0.01 |
| reinit() 1 0.0003 0.000291 0.0003 0.000291 1.52 1.52 |
| |
| EquationSystems |
| build_solution_vector() 1 0.0003 0.000263 0.0004 0.000377 1.37 1.97 |
| |
| ExodusII_IO |
| write_nodal_data() 1 0.0012 0.001244 0.0012 0.001244 6.50 6.50 |
| |
| FE |
| compute_shape_functions() 400 0.0002 0.000000 0.0002 0.000000 0.90 0.90 |
| init_shape_functions() 1 0.0000 0.000003 0.0000 0.000003 0.02 0.02 |
| |
| FEMap |
| compute_affine_map() 400 0.0002 0.000000 0.0002 0.000000 0.80 0.80 |
| init_reference_to_physical_map() 1 0.0000 0.000009 0.0000 0.000009 0.05 0.05 |
| |
| Mesh |
| find_neighbors() 1 0.0006 0.000613 0.0006 0.000613 3.20 3.20 |
| renumber_nodes_and_elem() 2 0.0000 0.000006 0.0000 0.000006 0.06 0.06 |
| |
| MeshOutput |
| write_equation_systems() 1 0.0000 0.000021 0.0016 0.001642 0.11 8.57 |
| |
| MeshTools::Generation |
| build_cube() 1 0.0001 0.000141 0.0001 0.000141 0.74 0.74 |
| |
| Parallel |
| allgather() 1 0.0000 0.000001 0.0000 0.000001 0.01 0.01 |
| |
| Partitioner |
| single_partition() 1 0.0000 0.000011 0.0000 0.000011 0.06 0.06 |
| |
| SlepcEigenSolver |
| solve_standard() 1 0.0150 0.015014 0.0150 0.015014 78.40 78.40 |
| |
| System |
| assemble() 1 0.0004 0.000440 0.0009 0.000937 2.30 4.89 |
-----------------------------------------------------------------------------------------------------------------
| Totals: 2020 0.0192 100.00 |
-----------------------------------------------------------------------------------------------------------------
***************************************************************
* Done Running Example eigenproblems_ex1:
* example-opt -n 5
***************************************************************