Norm of error 0.0954902 iterations 543 ************************************************************************************************************************ *** WIDEN YOUR WINDOW TO 120 CHARACTERS. Use 'enscript -r -fCourier9' to print this document *** ************************************************************************************************************************ ---------------------------------------------- PETSc Performance Summary: ---------------------------------------------- ./ex12 on a arch-linux2-c-opt named deathstar with 1 processor, by astro Sat Oct 10 12:47:02 2015 Using Petsc Development GIT revision: v3.6.2-1200-g21213e3 GIT Date: 2015-10-08 21:15:24 -0500 Max Max/Min Avg Total Time (sec): 2.027e+01 1.00000 2.027e+01 Objects: 4.200e+01 1.00000 4.200e+01 Flops: 4.403e+08 1.00000 4.403e+08 4.403e+08 Flops/sec: 2.172e+07 1.00000 2.172e+07 2.172e+07 MPI Messages: 0.000e+00 0.00000 0.000e+00 0.000e+00 MPI Message Lengths: 0.000e+00 0.00000 0.000e+00 0.000e+00 MPI Reductions: 0.000e+00 0.00000 Flop counting convention: 1 flop = 1 real number operation of type (multiply/divide/add/subtract) e.g., VecAXPY() for real vectors of length N --> 2N flops and VecAXPY() for complex vectors of length N --> 8N flops Summary of Stages: ----- Time ------ ----- Flops ----- --- Messages --- -- Message Lengths -- -- Reductions -- Avg %Total Avg %Total counts %Total Avg %Total counts %Total 0: Main Stage: 2.0272e+01 100.0% 4.4026e+08 100.0% 0.000e+00 0.0% 0.000e+00 0.0% 0.000e+00 0.0% ------------------------------------------------------------------------------------------------------------------------ See the 'Profiling' chapter of the users' manual for details on interpreting output. Phase summary info: Count: number of times phase was executed Time and Flops: Max - maximum over all processors Ratio - ratio of maximum to minimum over all processors Mess: number of messages sent Avg. len: average message length (bytes) Reduct: number of global reductions Global: entire computation Stage: stages of a computation. Set stages with PetscLogStagePush() and PetscLogStagePop(). %T - percent time in this phase %F - percent flops in this phase %M - percent messages in this phase %L - percent message lengths in this phase %R - percent reductions in this phase Total Mflop/s: 10e-6 * (sum of flops over all processors)/(max time over all processors) ------------------------------------------------------------------------------------------------------------------------ Event Count Time (sec) Flops --- Global --- --- Stage --- Total Max Ratio Max Ratio Max Ratio Mess Avg len Reduct %T %F %M %L %R %T %F %M %L %R Mflop/s ------------------------------------------------------------------------------------------------------------------------ --- Event Stage 0: Main Stage MatMult 562 1.0 2.0290e+00 1.0 2.79e+07 1.0 0.0e+00 0.0e+00 0.0e+00 10 6 0 0 0 10 6 0 0 0 14 MatAssemblyBegin 1 1.0 9.5367e-07 1.0 0.00e+00 0.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 0 0 0 0 0 0 MatAssemblyEnd 1 1.0 1.8007e+00 1.0 0.00e+00 0.0 0.0e+00 0.0e+00 0.0e+00 9 0 0 0 0 9 0 0 0 0 0 MatViennaCLCopyTo 1 1.0 1.8001e+00 1.0 0.00e+00 0.0 0.0e+00 0.0e+00 0.0e+00 9 0 0 0 0 9 0 0 0 0 0 VecMDot 543 1.0 1.0864e+01 1.0 1.68e+08 1.0 0.0e+00 0.0e+00 0.0e+00 54 38 0 0 0 54 38 0 0 0 15 VecNorm 563 1.0 3.0500e+00 1.0 1.13e+07 1.0 0.0e+00 0.0e+00 0.0e+00 15 3 0 0 0 15 3 0 0 0 4 VecScale 562 1.0 2.5306e-01 1.0 5.62e+06 1.0 0.0e+00 0.0e+00 0.0e+00 1 1 0 0 0 1 1 0 0 0 22 VecCopy 19 1.0 3.8025e-03 1.0 0.00e+00 0.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 0 0 0 0 0 0 VecSet 60 1.0 1.3076e-02 1.0 0.00e+00 0.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 0 0 0 0 0 0 VecAXPY 38 1.0 7.4162e-03 1.0 7.60e+05 1.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 0 0 0 0 0 102 VecMAXPY 562 1.0 1.6440e+00 1.0 2.22e+08 1.0 0.0e+00 0.0e+00 0.0e+00 8 50 0 0 0 8 50 0 0 0 135 VecPointwiseMult 562 1.0 5.8759e-01 1.0 5.62e+06 1.0 0.0e+00 0.0e+00 0.0e+00 3 1 0 0 0 3 1 0 0 0 10 VecNormalize 562 1.0 3.3004e+00 1.0 1.69e+07 1.0 0.0e+00 0.0e+00 0.0e+00 16 4 0 0 0 16 4 0 0 0 5 VecViennaCLCopyTo 1 1.0 2.8610e-05 1.0 0.00e+00 0.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 0 0 0 0 0 0 VecViennaCLCopyFrom 1 1.0 4.7684e-05 1.0 0.00e+00 0.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 0 0 0 0 0 0 KSPGMRESOrthog 543 1.0 1.2450e+01 1.0 3.76e+08 1.0 0.0e+00 0.0e+00 0.0e+00 61 85 0 0 0 61 85 0 0 0 30 KSPSetUp 1 1.0 1.0874e-03 1.0 0.00e+00 0.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 0 0 0 0 0 0 KSPSolve 1 1.0 1.7928e+01 1.0 4.40e+08 1.0 0.0e+00 0.0e+00 0.0e+00 88100 0 0 0 88100 0 0 0 25 PCSetUp 1 1.0 4.7684e-07 1.0 0.00e+00 0.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 0 0 0 0 0 0 PCApply 562 1.0 5.8877e-01 1.0 5.62e+06 1.0 0.0e+00 0.0e+00 0.0e+00 3 1 0 0 0 3 1 0 0 0 10 ------------------------------------------------------------------------------------------------------------------------ Memory usage is given in bytes: Object Type Creations Destructions Memory Descendants' Mem. Reports information only for process 0. --- Event Stage 0: Main Stage Matrix 1 1 763108 0 Vector 38 38 138368 0 Krylov Solver 1 1 18352 0 Preconditioner 1 1 840 0 Viewer 1 0 0 0 ======================================================================================================================== Average time to get PetscTime(): 7.15256e-08 #PETSc Option Table entries: -log_summary -m 100 -mat_type aijviennacl -n 100 -vec_type viennacl #End of PETSc Option Table entries Compiled without FORTRAN kernels Compiled with full precision matrices (default) sizeof(short) 2 sizeof(int) 4 sizeof(long) 8 sizeof(void*) 8 sizeof(PetscScalar) 8 sizeof(PetscInt) 4 Configure options: --prefix=/home/astro/Downloads/petsc_with_viennacl/ --with-debugging=0 COPTFLAGS="-O3 -march=native" CXXOPTFLAGS="-O3 -march=native" FOPTFLAGS="-O3 -qarch=native" --with-hdf5=1 --download-hdf5=yes --download-mpich=yes --download-f2cblaslapack=1 --with-viennacl=1 --download-viennacl=yes --with-opencl=1 --with-clean=1 --with-opencl-dir=/opt/AMDAPPSDK-3.0/ --with-memalign=64 --known-level1-dcache-size=16384 --known-level1-dcache-linesize=64 --known-level1-dcache-assoc=4 ----------------------------------------- Libraries compiled on Sat Oct 10 12:01:34 2015 on deathstar Machine characteristics: Linux-3.16.0-50-generic-x86_64-with-Ubuntu-14.04-trusty Using PETSc directory: /home/astro/Downloads/petsc Using PETSc arch: arch-linux2-c-opt ----------------------------------------- Using C compiler: /home/astro/Downloads/petsc_with_viennacl/bin/mpicc -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O3 -march=native ${COPTFLAGS} ${CFLAGS} Using Fortran compiler: /home/astro/Downloads/petsc_with_viennacl/bin/mpif90 -Wall -Wno-unused-variable -ffree-line-length-0 -Wno-unused-dummy-argument ${FOPTFLAGS} ${FFLAGS} ----------------------------------------- Using include paths: -I/home/astro/Downloads/petsc/arch-linux2-c-opt/include -I/home/astro/Downloads/petsc/include -I/home/astro/Downloads/petsc/include -I/home/astro/Downloads/petsc/arch-linux2-c-opt/include -I/home/astro/Downloads/petsc_with_viennacl/include -I/opt/AMDAPPSDK-3.0/include ----------------------------------------- Using C linker: /home/astro/Downloads/petsc_with_viennacl/bin/mpicc Using Fortran linker: /home/astro/Downloads/petsc_with_viennacl/bin/mpif90 Using libraries: -Wl,-rpath,/home/astro/Downloads/petsc/arch-linux2-c-opt/lib -L/home/astro/Downloads/petsc/arch-linux2-c-opt/lib -lpetsc -Wl,-rpath,/home/astro/Downloads/petsc_with_viennacl/lib -L/home/astro/Downloads/petsc_with_viennacl/lib -lf2clapack -lf2cblas -lm -Wl,-rpath,/opt/AMDAPPSDK-3.0/lib -L/opt/AMDAPPSDK-3.0/lib -lOpenCL -lX11 -lssl -lcrypto -lhdf5hl_fortran -lhdf5_fortran -lhdf5_hl -lhdf5 -lpthread -lhwloc -lm -Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/4.8 -L/usr/lib/gcc/x86_64-linux-gnu/4.8 -Wl,-rpath,/usr/lib/x86_64-linux-gnu -L/usr/lib/x86_64-linux-gnu -Wl,-rpath,/lib/x86_64-linux-gnu -L/lib/x86_64-linux-gnu -lmpifort -lgfortran -lm -lgfortran -lm -lquadmath -lm -lmpicxx -lstdc++ -Wl,-rpath,/home/astro/Downloads/petsc_with_viennacl/lib -L/home/astro/Downloads/petsc_with_viennacl/lib -Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/4.8 -L/usr/lib/gcc/x86_64-linux-gnu/4.8 -Wl,-rpath,/usr/lib/x86_64-linux-gnu -L/usr/lib/x86_64-linux-gnu -Wl,-rpath,/lib/x86_64-linux-gnu -L/lib/x86_64-linux-gnu -Wl,-rpath,/usr/lib/x86_64-linux-gnu -L/usr/lib/x86_64-linux-gnu -ldl -Wl,-rpath,/home/astro/Downloads/petsc_with_viennacl/lib -lmpi -lgcc_s -ldl -----------------------------------------