Number of Newton iterations = 7 Number of Linear iterations = 32 Average Linear its / Newton = 4.571429e+00 ************************************************************************************************************************ *** WIDEN YOUR WINDOW TO 120 CHARACTERS. Use 'enscript -r -fCourier9' to print this document *** ************************************************************************************************************************ ---------------------------------------------- PETSc Performance Summary: ---------------------------------------------- ./ex20 on a linux-gnu named ubuntu with 1 processor, by vijay Wed Feb 2 18:15:34 2011 Using Petsc Release Version 3.1.0, Patch 7, Mon Dec 20 14:26:37 CST 2010 Max Max/Min Avg Total Time (sec): 8.419e+00 1.00000 8.419e+00 Objects: 1.470e+02 1.00000 1.470e+02 Flops: 5.045e+09 1.00000 5.045e+09 5.045e+09 Flops/sec: 5.992e+08 1.00000 5.992e+08 5.992e+08 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: 4.440e+02 1.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: 5.3748e-02 0.6% 4.1000e+05 0.0% 0.000e+00 0.0% 0.000e+00 0.0% 1.800e+01 4.1% 1: Solve: 4.1524e+00 49.3% 2.5221e+09 50.0% 0.000e+00 0.0% 0.000e+00 0.0% 1.840e+02 41.4% ------------------------------------------------------------------------------------------------------------------------ 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 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 PetscBarrier 2 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 VecSet 2 1.0 3.6955e-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 MatMultTranspose 1 1.0 7.2694e-04 1.0 3.90e+05 1.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 1 95 0 0 0 537 MatAssemblyBegin 3 1.0 1.9073e-06 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 3 1.0 3.0820e-03 1.0 0.00e+00 0.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 6 0 0 0 0 0 --- Event Stage 1: Solve VecDot 7 1.0 4.7207e-04 1.0 8.30e+05 1.0 0.0e+00 0.0e+00 7.0e+00 0 0 0 0 2 0 0 0 0 4 1759 VecMDot 96 1.0 8.6203e-03 1.0 1.83e+07 1.0 0.0e+00 0.0e+00 3.2e+01 0 0 0 0 7 0 1 0 0 17 2119 VecNorm 245 1.0 9.6053e-02 1.0 2.91e+07 1.0 0.0e+00 0.0e+00 1.2e+02 1 1 0 0 26 2 1 0 0 64 303 VecScale 167 1.0 8.9521e-03 1.0 9.91e+06 1.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 0 0 0 0 0 1107 VecCopy 92 1.0 6.5708e-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 277 1.0 4.9098e-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 VecAXPY 135 1.0 9.6543e-03 1.0 1.60e+07 1.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 0 1 0 0 0 1659 VecAYPX 32 1.0 2.5392e-03 1.0 1.90e+06 1.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 0 0 0 0 0 748 VecWAXPY 7 1.0 6.0821e-04 1.0 4.15e+05 1.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 0 0 0 0 0 683 VecMAXPY 167 1.0 1.5168e-02 1.0 2.97e+07 1.0 0.0e+00 0.0e+00 0.0e+00 0 1 0 0 0 0 1 0 0 0 1955 VecPointwiseMult 7 1.0 8.7976e-05 1.0 5.60e+04 1.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 0 0 0 0 0 637 VecScatterBegin 22 1.0 7.2074e-04 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 VecReduceArith 2 1.0 2.1982e-04 1.0 2.37e+05 1.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 0 0 0 0 0 1079 VecReduceComm 1 1.0 0.0000e+00 0.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 VecNormalize 128 1.0 5.6641e-02 1.0 2.28e+07 1.0 0.0e+00 0.0e+00 0.0e+00 1 0 0 0 0 1 1 0 0 0 402 MatMult 231 1.0 1.6002e-01 1.0 1.60e+08 1.0 0.0e+00 0.0e+00 0.0e+00 2 3 0 0 0 4 6 0 0 0 1002 MatMultAdd 32 1.0 1.3116e-02 1.0 1.25e+07 1.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 0 0 0 0 0 952 MatMultTranspose 71 1.0 5.2990e-02 1.0 2.77e+07 1.0 0.0e+00 0.0e+00 0.0e+00 1 1 0 0 0 1 1 0 0 0 523 MatSolve 256 1.0 2.6939e-01 1.0 3.08e+08 1.0 0.0e+00 0.0e+00 0.0e+00 3 6 0 0 0 6 12 0 0 0 1142 MatLUFactorNum 14 1.0 2.7771e+00 1.0 1.91e+09 1.0 0.0e+00 0.0e+00 0.0e+00 33 38 0 0 0 67 76 0 0 0 686 MatILUFactorSym 7 1.0 1.2316e-02 1.0 0.00e+00 0.0 0.0e+00 0.0e+00 7.0e+00 0 0 0 0 2 0 0 0 0 4 0 MatAssemblyBegin 14 1.0 2.8610e-06 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 14 1.0 4.4668e-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 MatGetRowIJ 7 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 MatGetOrdering 7 1.0 2.7030e-03 1.0 0.00e+00 0.0 0.0e+00 0.0e+00 1.4e+01 0 0 0 0 3 0 0 0 0 8 0 SNESSolve 1 1.0 4.1521e+00 1.0 2.52e+09 1.0 0.0e+00 0.0e+00 1.8e+02 49 50 0 0 41 100100 0 0100 607 SNESLineSearch 7 1.0 2.1025e-01 1.0 9.04e+06 1.0 0.0e+00 0.0e+00 2.8e+01 2 0 0 0 6 5 0 0 0 15 43 SNESFunctionEval 8 1.0 2.1179e-01 1.0 5.11e+05 1.0 0.0e+00 0.0e+00 0.0e+00 3 0 0 0 0 5 0 0 0 0 2 SNESJacobianEval 7 1.0 4.9828e-01 1.0 3.88e+06 1.0 0.0e+00 0.0e+00 0.0e+00 6 0 0 0 0 12 0 0 0 0 8 KSPGMRESOrthog 96 1.0 1.7627e-02 1.0 3.65e+07 1.0 0.0e+00 0.0e+00 3.2e+01 0 1 0 0 7 0 1 0 0 17 2073 KSPSetup 21 1.0 4.7684e-06 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 7 1.0 3.4241e+00 1.0 2.51e+09 1.0 0.0e+00 0.0e+00 1.5e+02 41 50 0 0 34 82 99 0 0 81 732 PCSetUp 7 1.0 2.7925e+00 1.0 1.91e+09 1.0 0.0e+00 0.0e+00 2.1e+01 33 38 0 0 5 67 76 0 0 11 682 PCApply 32 1.0 5.8066e-01 1.0 5.46e+08 1.0 0.0e+00 0.0e+00 6.4e+01 7 11 0 0 14 14 22 0 0 35 941 ------------------------------------------------------------------------------------------------------------------------ Memory usage is given in bytes: Object Type Creations Destructions Memory Descendants' Mem. Reports information only for process 0. --- Event Stage 0: Main Stage Distributed array 2 2 278380 0 Vec 12 55 21812184 0 Vec Scatter 4 4 1808 0 Index Set 8 14 1622968 0 IS L to G Mapping 2 2 270084 0 Matrix 3 5 31043396 0 SNES 2 2 2064 0 Krylov Solver 5 5 39376 0 Preconditioner 5 5 3864 0 --- Event Stage 1: Solve Vec 44 1 475832 0 Index Set 45 39 9274044 0 Matrix 15 13 75720268 0 ======================================================================================================================== Average time to get PetscTime(): 0 #PETSc Option Table entries: -grid 20 -log_summary #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 Configure run at: Wed Feb 2 17:09:40 2011 Configure options: --download-f-blas-lapack=1 --with-mpi-dir=/usr/lib/ --with-mpi-shared=0 --with-shared=0 --download-parmetis=1 --download-superlu_dist=1 --download-hypre=1 --download-blacs=1 --download-scalapack=1 --with-clanguage=C++ --download-plapack=1 --download-mumps=1 --download-umfpack=yes --with-debugging=0 --with-errorchecking=yes --download-mpich=1 ----------------------------------------- Libraries compiled on Wed Feb 2 17:16:46 CST 2011 on ubuntu Machine characteristics: Linux ubuntu 2.6.32-24-generic #39-Ubuntu SMP Wed Jul 28 05:14:15 UTC 2010 x86_64 GNU/Linux Using PETSc directory: /home/vijay/karma/contrib/petsc Using PETSc arch: linux-gnu-cxx-opt ----------------------------------------- Using C compiler: /home/vijay/karma/contrib/petsc/linux-gnu-cxx-opt/bin/mpicxx -Wall -Wwrite-strings -Wno-strict-aliasing -O Using Fortran compiler: /home/vijay/karma/contrib/petsc/linux-gnu-cxx-opt/bin/mpif90 -Wall -Wno-unused-variable -O ----------------------------------------- Using include paths: -I/home/vijay/karma/contrib/petsc/linux-gnu-cxx-opt/include -I/home/vijay/karma/contrib/petsc/include -I/home/vijay/karma/contrib/petsc/linux-gnu-cxx-opt/include ------------------------------------------ Using C linker: /home/vijay/karma/contrib/petsc/linux-gnu-cxx-opt/bin/mpicxx -Wall -Wwrite-strings -Wno-strict-aliasing -O Using Fortran linker: /home/vijay/karma/contrib/petsc/linux-gnu-cxx-opt/bin/mpif90 -Wall -Wno-unused-variable -O Using libraries: -Wl,-rpath,/home/vijay/karma/contrib/petsc/linux-gnu-cxx-opt/lib -L/home/vijay/karma/contrib/petsc/linux-gnu-cxx-opt/lib -lpetsc -Wl,-rpath,/home/vijay/karma/contrib/petsc/linux-gnu-cxx-opt/lib -L/home/vijay/karma/contrib/petsc/linux-gnu-cxx-opt/lib -lcmumps -ldmumps -lsmumps -lzmumps -lmumps_common -lpord -lscalapack -lblacs -lPLAPACK -lsuperlu_dist_2.4 -lparmetis -lmetis -lHYPRE -lumfpack -lamd -lflapack -lfblas -lnsl -lrt -L/home/vijay/karma/contrib/petsc/linux-gnu-cxx-opt/lib -L/usr/lib/gcc/x86_64-linux-gnu/4.4.3 -L/usr/lib/x86_64-linux-gnu -ldl -lmpich -lpthread -lrt -lgcc_s -lmpichf90 -lgfortran -lm -lm -lmpichcxx -lstdc++ -lmpichcxx -lstdc++ -ldl -lmpich -lpthread -lrt -lgcc_s -ldl ------------------------------------------