Number of Newton iterations = 7 Number of Linear iterations = 35 Average Linear its / Newton = 5.000000e+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 2 processors, by vijay Wed Feb 2 18:16:00 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): 7.919e+00 1.00000 7.919e+00 Objects: 2.000e+02 1.00000 2.000e+02 Flops: 4.670e+09 1.00580 4.657e+09 9.313e+09 Flops/sec: 5.897e+08 1.00580 5.880e+08 1.176e+09 MPI Messages: 7.965e+02 1.00000 7.965e+02 1.593e+03 MPI Message Lengths: 1.412e+07 1.00000 1.773e+04 2.824e+07 MPI Reductions: 1.046e+03 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: 4.4451e-02 0.6% 4.2977e+05 0.0% 1.900e+01 1.2% 2.233e+01 0.1% 5.700e+01 5.4% 1: Solve: 3.9169e+00 49.5% 4.6565e+09 50.0% 7.790e+02 48.9% 8.705e+03 49.1% 4.490e+02 42.9% ------------------------------------------------------------------------------------------------------------------------ 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 3.6001e-05 1.6 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 3 1.0 2.1219e-05 1.1 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 VecScatterBegin 1 1.0 1.1921e-05 4.2 0.00e+00 0.0 1.0e+00 3.2e+03 0.0e+00 0 0 0 0 0 0 0 5 9 0 0 VecScatterEnd 1 1.0 1.9073e-05 6.2 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 5.1403e-04 1.1 2.02e+05 1.1 1.0e+00 3.2e+03 0.0e+00 0 0 0 0 0 1 91 5 9 0 759 MatAssemblyBegin 3 1.0 3.8075e-04 1.3 0.00e+00 0.0 0.0e+00 0.0e+00 6.0e+00 0 0 0 0 1 1 0 0 0 11 0 MatAssemblyEnd 3 1.0 3.4742e-03 1.0 0.00e+00 0.0 1.0e+01 1.7e+03 2.1e+01 0 0 1 0 2 8 0 53 48 37 0 --- Event Stage 1: Solve VecDot 7 1.0 4.8923e-04 1.1 4.26e+05 1.1 0.0e+00 0.0e+00 7.0e+00 0 0 0 0 1 0 0 0 0 2 1697 VecMDot 105 1.0 1.3433e-02 1.3 1.06e+07 1.1 0.0e+00 0.0e+00 1.0e+02 0 0 0 0 10 0 0 0 0 23 1546 VecNorm 266 1.0 7.4217e-02 1.1 1.62e+07 1.1 0.0e+00 0.0e+00 2.7e+02 1 0 0 0 25 2 1 0 0 59 425 VecScale 182 1.0 5.2266e-03 1.0 5.54e+06 1.1 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 0 0 0 0 0 2066 VecCopy 98 1.0 5.0349e-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 588 1.0 9.7134e-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 147 1.0 6.3863e-03 1.0 8.94e+06 1.1 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 0 0 0 0 0 2731 VecAYPX 35 1.0 1.7829e-03 1.0 1.06e+06 1.1 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 0 0 0 0 0 1164 VecWAXPY 7 1.0 3.8791e-04 1.1 2.13e+05 1.1 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 0 0 0 0 0 1070 VecMAXPY 182 1.0 9.6977e-03 1.0 1.70e+07 1.1 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 0 1 0 0 0 3425 VecPointwiseMult 7 1.0 6.1750e-05 1.0 2.80e+04 1.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 0 0 0 0 0 907 VecScatterBegin 526 1.0 8.5781e-03 1.1 0.00e+00 0.0 7.6e+02 1.4e+04 0.0e+00 0 0 48 38 0 0 0 98 77 0 0 VecScatterEnd 526 1.0 2.5107e-02 2.7 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 1.1706e-04 1.0 1.22e+05 1.1 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 0 0 0 0 0 2027 VecReduceComm 1 1.0 4.9400e-0432.9 0.00e+00 0.0 0.0e+00 0.0e+00 1.0e+00 0 0 0 0 0 0 0 0 0 0 0 VecNormalize 140 1.0 4.2717e-02 1.1 1.28e+07 1.1 0.0e+00 0.0e+00 1.4e+02 1 0 0 0 13 1 1 0 0 31 583 MatMult 252 1.0 1.3976e-01 1.0 8.98e+07 1.1 4.7e+02 1.1e+04 0.0e+00 2 2 29 19 0 4 4 60 39 0 1252 MatMultAdd 35 1.0 1.2372e-02 1.0 7.06e+06 1.1 3.5e+01 3.2e+03 0.0e+00 0 0 2 0 0 0 0 4 1 0 1104 MatMultTranspose 77 1.0 3.7724e-02 1.1 1.55e+07 1.1 7.7e+01 3.2e+03 0.0e+00 0 0 5 1 0 1 1 10 2 0 797 MatSolve 280 1.0 2.7591e-01 1.0 2.59e+08 1.0 0.0e+00 0.0e+00 0.0e+00 3 6 0 0 0 7 11 0 0 0 1860 MatLUFactorNum 14 1.0 2.9096e+00 1.0 1.90e+09 1.0 0.0e+00 0.0e+00 0.0e+00 37 41 0 0 0 74 82 0 0 0 1307 MatILUFactorSym 7 1.0 7.2970e-03 1.1 0.00e+00 0.0 0.0e+00 0.0e+00 7.0e+00 0 0 0 0 1 0 0 0 0 2 0 MatAssemblyBegin 21 1.0 9.1586e-03 3.7 0.00e+00 0.0 0.0e+00 0.0e+00 2.8e+01 0 0 0 0 3 0 0 0 0 6 0 MatAssemblyEnd 21 1.0 5.4574e-03 1.1 0.00e+00 0.0 0.0e+00 0.0e+00 1.4e+01 0 0 0 0 1 0 0 0 0 3 0 MatGetRowIJ 7 1.0 3.0994e-06 1.1 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 1.4350e-03 1.0 0.00e+00 0.0 0.0e+00 0.0e+00 1.4e+01 0 0 0 0 1 0 0 0 0 3 0 MatGetRedundant 7 1.0 7.4654e-03 1.1 0.00e+00 0.0 1.4e+01 2.3e+05 0.0e+00 0 0 1 11 0 0 0 2 23 0 0 SNESSolve 1 1.0 3.9168e+00 1.0 2.33e+09 1.0 7.8e+02 1.8e+04 4.5e+02 49 50 49 49 43 100100100100100 1189 SNESLineSearch 7 1.0 1.1448e-01 1.0 4.85e+06 1.0 2.8e+01 1.2e+04 2.8e+01 1 0 2 1 3 3 0 4 2 6 83 SNESFunctionEval 8 1.0 1.1288e-01 1.1 5.11e+05 1.0 1.6e+01 1.2e+04 0.0e+00 1 0 1 1 0 3 0 2 1 0 9 SNESJacobianEval 7 1.0 2.8805e-01 1.0 2.53e+06 1.0 3.5e+01 6.8e+03 4.2e+01 4 0 2 1 4 7 0 4 2 9 17 KSPGMRESOrthog 105 1.0 1.9203e-02 1.2 2.13e+07 1.1 0.0e+00 0.0e+00 1.0e+02 0 0 0 0 10 0 1 0 0 23 2162 KSPSetup 35 1.0 2.8610e-06 1.2 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.5036e+00 1.0 2.33e+09 1.0 7.1e+02 1.9e+04 3.7e+02 44 50 45 47 35 89100 92 96 83 1325 PCSetUp 14 1.0 2.9261e+00 1.0 1.90e+09 1.0 1.4e+01 2.3e+05 2.1e+01 37 41 1 11 2 74 82 2 23 5 1300 PCSetUpOnBlocks 70 1.0 3.3984e-02 1.0 3.83e+06 1.1 0.0e+00 0.0e+00 2.1e+01 0 0 0 0 2 1 0 0 0 5 220 PCApply 35 1.0 5.8663e-01 1.0 3.97e+08 1.0 6.3e+02 1.5e+04 3.0e+02 7 8 40 33 29 15 17 81 66 67 1333 ------------------------------------------------------------------------------------------------------------------------ Memory usage is given in bytes: Object Type Creations Destructions Memory Descendants' Mem. Reports information only for process 0. --- Event Stage 0: Main Stage Container 0 1 388 0 Distributed array 2 2 154468 0 Vec 18 67 11394608 0 Vec Scatter 7 9 7812 0 Index Set 14 20 909164 0 IS L to G Mapping 2 2 146172 0 Matrix 9 12 25236640 0 SNES 2 2 2064 0 Krylov Solver 5 7 41040 0 Preconditioner 5 7 5112 0 --- Event Stage 1: Solve Container 1 0 0 0 Vec 64 15 711520 0 Vec Scatter 2 0 0 0 Index Set 49 43 4831864 0 Matrix 16 13 38613952 0 Krylov Solver 2 0 0 0 Preconditioner 2 0 0 0 ======================================================================================================================== Average time to get PetscTime(): 0 Average time for MPI_Barrier(): 9.39369e-06 Average time for zero size MPI_Send(): 8.58307e-06 #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 ------------------------------------------