Link to the source code for this example:
Open introduction_ex1 in new tab.
The console output of the program:
***************************************************************
* Running Example introduction_ex1:
* example-opt -d 3 /Users/petejw/projects/libmesh_git/build/../reference_elements/3D/one_hex27.xda
***************************************************************
Mesh Information:
elem_dimensions()={3}
spatial_dimension()=3
n_nodes()=27
n_local_nodes()=27
n_elem()=1
n_local_elem()=1
n_active_elem()=1
n_subdomains()=1
n_partitions()=1
n_processors()=1
n_threads()=1
processor_id()=0
-------------------------------------------------------------------------------------------------------------------
| Time: Wed Apr 13 09:50:29 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-default-comm-world' |
| '--enable-tecio' |
| '--enable-unique-ptr' |
| '--enable-ifem' |
| 'PETSC_DIR=/opt/moose/petsc/mpich_petsc-3.6.1/clang-opt-superlu' |
| 'SLEPC_DIR=/opt/petejw/slepc/3.6.1' |
| 'CPPFLAGS= ' |
| 'LIBS= ' |
| 'CPPFLAGS= ' |
| 'LIBS= ' |
| '--disable-netcdf-4' |
| '--disable-testsets' |
| 'CXX=mpicxx' |
| 'CC=mpicc' |
| 'F77=mpif77' |
| 'FC=mpif90' |
| 'CPPFLAGS= ' |
| 'LIBS= ' |
-------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------
| libMesh Performance: Alive time=0.362843, Active time=0.000411 |
------------------------------------------------------------------------------------------------------------
| 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 |
|------------------------------------------------------------------------------------------------------------|
| |
| |
| Mesh |
| find_neighbors() 1 0.0001 0.000062 0.0001 0.000062 15.09 15.09 |
| renumber_nodes_and_elem() 2 0.0000 0.000000 0.0000 0.000000 0.24 0.24 |
| |
| Partitioner |
| set_node_processor_ids() 1 0.0000 0.000039 0.0000 0.000039 9.49 9.49 |
| single_partition() 1 0.0000 0.000006 0.0000 0.000006 1.46 1.46 |
| |
| XdrIO |
| read() 1 0.0003 0.000303 0.0003 0.000303 73.72 73.72 |
------------------------------------------------------------------------------------------------------------
| Totals: 6 0.0004 100.00 |
------------------------------------------------------------------------------------------------------------
***************************************************************
* Done Running Example introduction_ex1:
* example-opt -d 3 /Users/petejw/projects/libmesh_git/build/../reference_elements/3D/one_hex27.xda
***************************************************************
***************************************************************
* Running Example introduction_ex1:
* example-opt -d 3 /Users/petejw/projects/libmesh_git/build/../reference_elements/3D/one_hex27.xda -o output.xda
***************************************************************
Mesh Information:
elem_dimensions()={3}
spatial_dimension()=3
n_nodes()=27
n_local_nodes()=27
n_elem()=1
n_local_elem()=1
n_active_elem()=1
n_subdomains()=1
n_partitions()=1
n_processors()=1
n_threads()=1
processor_id()=0
-------------------------------------------------------------------------------------------------------------------
| Time: Wed Apr 13 09:50:29 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-default-comm-world' |
| '--enable-tecio' |
| '--enable-unique-ptr' |
| '--enable-ifem' |
| 'PETSC_DIR=/opt/moose/petsc/mpich_petsc-3.6.1/clang-opt-superlu' |
| 'SLEPC_DIR=/opt/petejw/slepc/3.6.1' |
| 'CPPFLAGS= ' |
| 'LIBS= ' |
| 'CPPFLAGS= ' |
| 'LIBS= ' |
| '--disable-netcdf-4' |
| '--disable-testsets' |
| 'CXX=mpicxx' |
| 'CC=mpicc' |
| 'F77=mpif77' |
| 'FC=mpif90' |
| 'CPPFLAGS= ' |
| 'LIBS= ' |
-------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------
| libMesh Performance: Alive time=0.004875, Active time=0.000422 |
------------------------------------------------------------------------------------------------------------
| 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 |
|------------------------------------------------------------------------------------------------------------|
| |
| |
| Mesh |
| find_neighbors() 1 0.0000 0.000029 0.0000 0.000029 6.87 6.87 |
| renumber_nodes_and_elem() 2 0.0000 0.000000 0.0000 0.000000 0.00 0.00 |
| write() 1 0.0001 0.000101 0.0002 0.000237 23.93 56.16 |
| |
| Partitioner |
| set_node_processor_ids() 1 0.0000 0.000021 0.0000 0.000021 4.98 4.98 |
| single_partition() 1 0.0000 0.000002 0.0000 0.000002 0.47 0.47 |
| |
| XdrIO |
| read() 1 0.0001 0.000134 0.0001 0.000134 31.75 31.75 |
| write() 1 0.0001 0.000135 0.0001 0.000135 31.99 31.99 |
------------------------------------------------------------------------------------------------------------
| Totals: 8 0.0004 100.00 |
------------------------------------------------------------------------------------------------------------
***************************************************************
* Done Running Example introduction_ex1:
* example-opt -d 3 /Users/petejw/projects/libmesh_git/build/../reference_elements/3D/one_hex27.xda -o output.xda
***************************************************************
***************************************************************
* Running Example introduction_ex1:
* example-opt -d 3 /Users/petejw/projects/libmesh_git/build/../reference_elements/3D/one_hex27.xda -o output.xdr
***************************************************************
Mesh Information:
elem_dimensions()={3}
spatial_dimension()=3
n_nodes()=27
n_local_nodes()=27
n_elem()=1
n_local_elem()=1
n_active_elem()=1
n_subdomains()=1
n_partitions()=1
n_processors()=1
n_threads()=1
processor_id()=0
-------------------------------------------------------------------------------------------------------------------
| Time: Wed Apr 13 09:50:29 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-default-comm-world' |
| '--enable-tecio' |
| '--enable-unique-ptr' |
| '--enable-ifem' |
| 'PETSC_DIR=/opt/moose/petsc/mpich_petsc-3.6.1/clang-opt-superlu' |
| 'SLEPC_DIR=/opt/petejw/slepc/3.6.1' |
| 'CPPFLAGS= ' |
| 'LIBS= ' |
| 'CPPFLAGS= ' |
| 'LIBS= ' |
| '--disable-netcdf-4' |
| '--disable-testsets' |
| 'CXX=mpicxx' |
| 'CC=mpicc' |
| 'F77=mpif77' |
| 'FC=mpif90' |
| 'CPPFLAGS= ' |
| 'LIBS= ' |
-------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------
| libMesh Performance: Alive time=0.004442, Active time=0.000402 |
------------------------------------------------------------------------------------------------------------
| 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 |
|------------------------------------------------------------------------------------------------------------|
| |
| |
| Mesh |
| find_neighbors() 1 0.0000 0.000029 0.0000 0.000029 7.21 7.21 |
| renumber_nodes_and_elem() 2 0.0000 0.000000 0.0000 0.000000 0.00 0.00 |
| write() 1 0.0001 0.000098 0.0002 0.000209 24.38 51.99 |
| |
| Partitioner |
| set_node_processor_ids() 1 0.0000 0.000019 0.0000 0.000019 4.73 4.73 |
| single_partition() 1 0.0000 0.000002 0.0000 0.000002 0.50 0.50 |
| |
| XdrIO |
| read() 1 0.0001 0.000143 0.0001 0.000143 35.57 35.57 |
| write() 1 0.0001 0.000111 0.0001 0.000111 27.61 27.61 |
------------------------------------------------------------------------------------------------------------
| Totals: 8 0.0004 100.00 |
------------------------------------------------------------------------------------------------------------
***************************************************************
* Done Running Example introduction_ex1:
* example-opt -d 3 /Users/petejw/projects/libmesh_git/build/../reference_elements/3D/one_hex27.xda -o output.xdr
***************************************************************
***************************************************************
* Running Example introduction_ex1:
* example-opt -d 3 output.xda
***************************************************************
Mesh Information:
elem_dimensions()={3}
spatial_dimension()=3
n_nodes()=27
n_local_nodes()=27
n_elem()=1
n_local_elem()=1
n_active_elem()=1
n_subdomains()=1
n_partitions()=1
n_processors()=1
n_threads()=1
processor_id()=0
-------------------------------------------------------------------------------------------------------------------
| Time: Wed Apr 13 09:50:30 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-default-comm-world' |
| '--enable-tecio' |
| '--enable-unique-ptr' |
| '--enable-ifem' |
| 'PETSC_DIR=/opt/moose/petsc/mpich_petsc-3.6.1/clang-opt-superlu' |
| 'SLEPC_DIR=/opt/petejw/slepc/3.6.1' |
| 'CPPFLAGS= ' |
| 'LIBS= ' |
| 'CPPFLAGS= ' |
| 'LIBS= ' |
| '--disable-netcdf-4' |
| '--disable-testsets' |
| 'CXX=mpicxx' |
| 'CC=mpicc' |
| 'F77=mpif77' |
| 'FC=mpif90' |
| 'CPPFLAGS= ' |
| 'LIBS= ' |
-------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------
| libMesh Performance: Alive time=0.004243, Active time=0.000189 |
------------------------------------------------------------------------------------------------------------
| 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 |
|------------------------------------------------------------------------------------------------------------|
| |
| |
| Mesh |
| find_neighbors() 1 0.0000 0.000028 0.0000 0.000028 14.81 14.81 |
| renumber_nodes_and_elem() 2 0.0000 0.000000 0.0000 0.000000 0.00 0.00 |
| |
| Partitioner |
| set_node_processor_ids() 1 0.0000 0.000018 0.0000 0.000018 9.52 9.52 |
| single_partition() 1 0.0000 0.000003 0.0000 0.000003 1.59 1.59 |
| |
| XdrIO |
| read() 1 0.0001 0.000140 0.0001 0.000140 74.07 74.07 |
------------------------------------------------------------------------------------------------------------
| Totals: 6 0.0002 100.00 |
------------------------------------------------------------------------------------------------------------
***************************************************************
* Done Running Example introduction_ex1:
* example-opt -d 3 output.xda
***************************************************************
***************************************************************
* Running Example introduction_ex1:
* example-opt -d 3 output.xdr
***************************************************************
Mesh Information:
elem_dimensions()={3}
spatial_dimension()=3
n_nodes()=27
n_local_nodes()=27
n_elem()=1
n_local_elem()=1
n_active_elem()=1
n_subdomains()=1
n_partitions()=1
n_processors()=1
n_threads()=1
processor_id()=0
-------------------------------------------------------------------------------------------------------------------
| Time: Wed Apr 13 09:50:30 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-default-comm-world' |
| '--enable-tecio' |
| '--enable-unique-ptr' |
| '--enable-ifem' |
| 'PETSC_DIR=/opt/moose/petsc/mpich_petsc-3.6.1/clang-opt-superlu' |
| 'SLEPC_DIR=/opt/petejw/slepc/3.6.1' |
| 'CPPFLAGS= ' |
| 'LIBS= ' |
| 'CPPFLAGS= ' |
| 'LIBS= ' |
| '--disable-netcdf-4' |
| '--disable-testsets' |
| 'CXX=mpicxx' |
| 'CC=mpicc' |
| 'F77=mpif77' |
| 'FC=mpif90' |
| 'CPPFLAGS= ' |
| 'LIBS= ' |
-------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------
| libMesh Performance: Alive time=0.003693, Active time=0.00013 |
------------------------------------------------------------------------------------------------------------
| 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 |
|------------------------------------------------------------------------------------------------------------|
| |
| |
| Mesh |
| find_neighbors() 1 0.0000 0.000030 0.0000 0.000030 23.08 23.08 |
| renumber_nodes_and_elem() 2 0.0000 0.000000 0.0000 0.000000 0.00 0.00 |
| |
| Partitioner |
| set_node_processor_ids() 1 0.0000 0.000019 0.0000 0.000019 14.62 14.62 |
| single_partition() 1 0.0000 0.000003 0.0000 0.000003 2.31 2.31 |
| |
| XdrIO |
| read() 1 0.0001 0.000078 0.0001 0.000078 60.00 60.00 |
------------------------------------------------------------------------------------------------------------
| Totals: 6 0.0001 100.00 |
------------------------------------------------------------------------------------------------------------
***************************************************************
* Done Running Example introduction_ex1:
* example-opt -d 3 output.xdr
***************************************************************