0 SNES Function norm 1.034922128099e+00 0 KSP Residual norm 1.340184268470e+02 1 KSP Residual norm 7.127230573205e-02 2 KSP Residual norm 1.368988959121e-03 3 KSP Residual norm 2.059192395274e-05 4 KSP Residual norm 5.935372507172e-07 5 KSP Residual norm 9.735768475278e-09 1 SNES Function norm 6.469930208409e-05 0 KSP Residual norm 1.044398976559e+01 1 KSP Residual norm 4.505968731127e-05 2 KSP Residual norm 3.405565920309e-08 3 KSP Residual norm 8.573550255759e-11 2 SNES Function norm 4.967667157794e-07 0 KSP Residual norm 8.556725225358e-02 1 KSP Residual norm 2.589762835028e-07 2 KSP Residual norm 2.773596575190e-10 3 KSP Residual norm 6.726441051613e-13 3 SNES Function norm 3.370606345591e-11 ************************************************************************************************************************ *** WIDEN YOUR WINDOW TO 120 CHARACTERS. Use 'enscript -r -fCourier9' to print this document *** ************************************************************************************************************************ ---------------------------------------------- PETSc Performance Summary: ---------------------------------------------- ./ex5 on a arch-darwin-c-debug named iMac27Nicolas.nifs.ac.jp with 1 processor, by timotheenicolas Wed Oct 14 10:56:50 2015 Using Petsc Release Version 3.6.1, Jul, 22, 2015 Max Max/Min Avg Total Time (sec): 4.705e+01 1.00000 4.705e+01 Objects: 1.880e+02 1.00000 1.880e+02 Flops: 1.022e+10 1.00000 1.022e+10 1.022e+10 Flops/sec: 2.172e+08 1.00000 2.172e+08 2.172e+08 Memory: 1.068e+09 1.00000 1.068e+09 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: 4.7052e+01 100.0% 1.0221e+10 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) ------------------------------------------------------------------------------------------------------------------------ ########################################################## # # # WARNING!!! # # # # This code was compiled with a debugging option, # # To get timing results run ./configure # # using --with-debugging=no, the performance will # # be generally two or three times faster. # # # ########################################################## 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 SNESSolve 1 1.0 4.2840e+01 1.0 1.02e+10 1.0 0.0e+00 0.0e+00 0.0e+00 91100 0 0 0 91100 0 0 0 239 SNESFunctionEval 4 1.0 1.3320e-01 1.0 7.22e+07 1.0 0.0e+00 0.0e+00 0.0e+00 0 1 0 0 0 0 1 0 0 0 542 SNESJacobianEval 9 1.0 2.3918e+01 1.0 0.00e+00 0.0 0.0e+00 0.0e+00 0.0e+00 51 0 0 0 0 51 0 0 0 0 0 SNESLineSearch 3 1.0 2.7374e-01 1.0 1.53e+08 1.0 0.0e+00 0.0e+00 0.0e+00 1 1 0 0 0 1 1 0 0 0 557 VecDot 3 1.0 6.9878e-03 1.0 9.85e+06 1.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 0 0 0 0 0 1409 VecMDot 71 1.0 3.5296e-01 1.0 7.66e+08 1.0 0.0e+00 0.0e+00 0.0e+00 1 7 0 0 0 1 7 0 0 0 2169 VecNorm 87 1.0 1.2002e-01 1.0 2.04e+08 1.0 0.0e+00 0.0e+00 0.0e+00 0 2 0 0 0 0 2 0 0 0 1703 VecScale 80 1.0 1.3074e-01 1.0 9.07e+07 1.0 0.0e+00 0.0e+00 0.0e+00 0 1 0 0 0 0 1 0 0 0 694 VecCopy 43 1.0 4.6263e-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 VecSet 203 1.0 2.5934e-01 1.0 0.00e+00 0.0 0.0e+00 0.0e+00 0.0e+00 1 0 0 0 0 1 0 0 0 0 0 VecAXPY 9 1.0 2.3729e-02 1.0 2.22e+07 1.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 0 0 0 0 0 934 VecAYPX 224 1.0 5.9264e-01 1.0 2.87e+08 1.0 0.0e+00 0.0e+00 0.0e+00 1 3 0 0 0 1 3 0 0 0 485 VecAXPBYCZ 112 1.0 3.8695e-01 1.0 5.75e+08 1.0 0.0e+00 0.0e+00 0.0e+00 1 6 0 0 0 1 6 0 0 0 1485 VecWAXPY 3 1.0 1.3717e-02 1.0 4.92e+06 1.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 0 0 0 0 0 359 VecMAXPY 80 1.0 5.4575e-01 1.0 9.25e+08 1.0 0.0e+00 0.0e+00 0.0e+00 1 9 0 0 0 1 9 0 0 0 1695 VecPointwiseMult 6 1.0 3.7946e-03 1.0 1.54e+06 1.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 0 0 0 0 0 406 VecScatterBegin 15 1.0 1.4239e-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 VecReduceArith 6 1.0 1.1674e-02 1.0 1.97e+07 1.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 0 0 0 0 0 1687 VecReduceComm 3 1.0 1.2120e-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 VecNormalize 80 1.0 2.3842e-01 1.0 2.72e+08 1.0 0.0e+00 0.0e+00 0.0e+00 1 3 0 0 0 1 3 0 0 0 1141 MatMult 242 1.0 4.0939e+00 1.0 2.31e+09 1.0 0.0e+00 0.0e+00 0.0e+00 9 23 0 0 0 9 23 0 0 0 564 MatMultAdd 28 1.0 2.8094e-01 1.0 1.29e+08 1.0 0.0e+00 0.0e+00 0.0e+00 1 1 0 0 0 1 1 0 0 0 460 MatMultTranspose 36 1.0 3.5515e-01 1.0 1.66e+08 1.0 0.0e+00 0.0e+00 0.0e+00 1 2 0 0 0 1 2 0 0 0 468 MatSolve 14 1.0 2.0330e-01 1.0 1.48e+08 1.0 0.0e+00 0.0e+00 0.0e+00 0 1 0 0 0 0 1 0 0 0 728 MatSOR 234 1.0 6.2401e+00 1.0 2.41e+09 1.0 0.0e+00 0.0e+00 0.0e+00 13 24 0 0 0 13 24 0 0 0 385 MatLUFactorSym 1 1.0 2.9664e-01 1.0 0.00e+00 0.0 0.0e+00 0.0e+00 0.0e+00 1 0 0 0 0 1 0 0 0 0 0 MatLUFactorNum 3 1.0 2.8537e+00 1.0 2.08e+09 1.0 0.0e+00 0.0e+00 0.0e+00 6 20 0 0 0 6 20 0 0 0 730 MatResidual 28 1.0 5.3621e-01 1.0 2.87e+08 1.0 0.0e+00 0.0e+00 0.0e+00 1 3 0 0 0 1 3 0 0 0 535 MatAssemblyBegin 14 1.0 5.4352e-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 MatAssemblyEnd 14 1.0 3.1167e-01 1.0 0.00e+00 0.0 0.0e+00 0.0e+00 0.0e+00 1 0 0 0 0 1 0 0 0 0 0 MatGetRowIJ 1 1.0 4.3910e-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 MatGetOrdering 1 1.0 1.1137e-01 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 71 1.0 8.0948e-01 1.0 1.53e+09 1.0 0.0e+00 0.0e+00 0.0e+00 2 15 0 0 0 2 15 0 0 0 1892 KSPSetUp 14 1.0 6.4093e-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 KSPSolve 3 1.0 2.4240e+01 1.0 1.00e+10 1.0 0.0e+00 0.0e+00 0.0e+00 52 98 0 0 0 52 98 0 0 0 414 PCSetUp 3 1.0 1.0848e+01 1.0 2.12e+09 1.0 0.0e+00 0.0e+00 0.0e+00 23 21 0 0 0 23 21 0 0 0 196 PCApply 14 1.0 1.2832e+01 1.0 7.47e+09 1.0 0.0e+00 0.0e+00 0.0e+00 27 73 0 0 0 27 73 0 0 0 582 ------------------------------------------------------------------------------------------------------------------------ Memory usage is given in bytes: Object Type Creations Destructions Memory Descendants' Mem. Reports information only for process 0. --- Event Stage 0: Main Stage SNES 1 1 1324 0 SNESLineSearch 1 1 856 0 DMSNES 4 4 2784 0 Vector 97 97 732226632 0 Vector Scatter 8 8 5184 0 Matrix 8 8 365201548 0 Distributed Mesh 7 7 34280 0 Star Forest Bipartite Graph 14 14 11648 0 Discrete System 7 7 5880 0 Index Set 19 19 20133672 0 IS L to G Mapping 6 6 17242760 0 Krylov Solver 6 6 82440 0 DMKSP interface 3 3 1920 0 Preconditioner 6 6 5576 0 Viewer 1 0 0 0 ======================================================================================================================== Average time to get PetscTime(): 2.62e-08 #PETSc Option Table entries: -da_grid_x 21 -da_grid_y 21 -da_refine 6 -ksp_monitor -ksp_rtol 1.0e-9 -log_summary -pc_mg_levels 3 -pc_type mg -snes_monitor #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: --with-cc=gcc --with-cxx=g++ --with-fc=gfortran --download-fblaslapack --download-mpich ----------------------------------------- Libraries compiled on Thu Sep 24 09:58:51 2015 on iMac27Nicolas.nifs.ac.jp Machine characteristics: Darwin-14.5.0-x86_64-i386-64bit Using PETSc directory: /Users/timotheenicolas/PETSC/petsc-3.6.1 Using PETSc arch: arch-darwin-c-debug ----------------------------------------- Using C compiler: /Users/timotheenicolas/PETSC/petsc-3.6.1/arch-darwin-c-debug/bin/mpicc -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 ${COPTFLAGS} ${CFLAGS} Using Fortran compiler: /Users/timotheenicolas/PETSC/petsc-3.6.1/arch-darwin-c-debug/bin/mpif90 -fPIC -Wall -Wno-unused-variable -ffree-line-length-0 -Wno-unused-dummy-argument -g -O0 ${FOPTFLAGS} ${FFLAGS} ----------------------------------------- Using include paths: -I/Users/timotheenicolas/PETSC/petsc-3.6.1/arch-darwin-c-debug/include -I/Users/timotheenicolas/PETSC/petsc-3.6.1/include -I/Users/timotheenicolas/PETSC/petsc-3.6.1/include -I/Users/timotheenicolas/PETSC/petsc-3.6.1/arch-darwin-c-debug/include -I/opt/X11/include ----------------------------------------- Using C linker: /Users/timotheenicolas/PETSC/petsc-3.6.1/arch-darwin-c-debug/bin/mpicc Using Fortran linker: /Users/timotheenicolas/PETSC/petsc-3.6.1/arch-darwin-c-debug/bin/mpif90 Using libraries: -Wl,-rpath,/Users/timotheenicolas/PETSC/petsc-3.6.1/arch-darwin-c-debug/lib -L/Users/timotheenicolas/PETSC/petsc-3.6.1/arch-darwin-c-debug/lib -lpetsc -Wl,-rpath,/Users/timotheenicolas/PETSC/petsc-3.6.1/arch-darwin-c-debug/lib -L/Users/timotheenicolas/PETSC/petsc-3.6.1/arch-darwin-c-debug/lib -lflapack -lfblas -Wl,-rpath,/opt/X11/lib -L/opt/X11/lib -lX11 -lssl -lcrypto -Wl,-rpath,/Library/Developer/CommandLineTools/usr/lib/clang/7.0.0/lib/darwin -L/Library/Developer/CommandLineTools/usr/lib/clang/7.0.0/lib/darwin -lmpifort -lgfortran -Wl,-rpath,/usr/local/lib/gcc/x86_64-apple-darwin14.0.0/5.0.0 -L/usr/local/lib/gcc/x86_64-apple-darwin14.0.0/5.0.0 -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lgfortran -lgcc_ext.10.5 -lquadmath -lm -lclang_rt.osx -lmpicxx -lc++ -Wl,-rpath,/Library/Developer/CommandLineTools/usr/bin/../lib/clang/7.0.0/lib/darwin -L/Library/Developer/CommandLineTools/usr/bin/../lib/clang/7.0.0/lib/darwin -lclang_rt.osx -Wl,-rpath,/Users/timotheenicolas/PETSC/petsc-3.6.1/arch-darwin-c-debug/lib -L/Users/timotheenicolas/PETSC/petsc-3.6.1/arch-darwin-c-debug/lib -ldl -lmpi -lpmpi -lSystem -Wl,-rpath,/Library/Developer/CommandLineTools/usr/bin/../lib/clang/7.0.0/lib/darwin -L/Library/Developer/CommandLineTools/usr/bin/../lib/clang/7.0.0/lib/darwin -lclang_rt.osx -ldl -----------------------------------------