0 SNES Function norm 1.034922128099e+00 0 KSP Residual norm 1.335611823842e+02 1 KSP Residual norm 3.795496078700e-01 2 KSP Residual norm 1.585627800673e-03 3 KSP Residual norm 5.252804636032e-05 4 KSP Residual norm 7.430084299566e-07 5 KSP Residual norm 1.241471131275e-08 1 SNES Function norm 6.469930215046e-05 0 KSP Residual norm 1.042776285887e+01 1 KSP Residual norm 1.735627460599e-03 2 KSP Residual norm 3.723649663381e-06 3 KSP Residual norm 3.348771535911e-09 2 SNES Function norm 4.967674696673e-07 0 KSP Residual norm 8.543268935996e-02 1 KSP Residual norm 1.227835994348e-05 2 KSP Residual norm 1.553924402376e-08 3 KSP Residual norm 4.580534661962e-12 3 SNES Function norm 3.462567212970e-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 11:01:11 2015 Using Petsc Release Version 3.6.1, Jul, 22, 2015 Max Max/Min Avg Total Time (sec): 4.445e+01 1.00000 4.445e+01 Objects: 3.740e+02 1.00000 3.740e+02 Flops: 8.478e+09 1.00000 8.478e+09 8.478e+09 Flops/sec: 1.907e+08 1.00000 1.907e+08 1.907e+08 Memory: 1.036e+09 1.00000 1.036e+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.4451e+01 100.0% 8.4780e+09 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.0397e+01 1.0 8.48e+09 1.0 0.0e+00 0.0e+00 0.0e+00 91100 0 0 0 91100 0 0 0 210 SNESFunctionEval 4 1.0 1.3312e-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 18 1.0 2.3918e+01 1.0 0.00e+00 0.0 0.0e+00 0.0e+00 0.0e+00 54 0 0 0 0 54 0 0 0 0 0 SNESLineSearch 3 1.0 2.7373e-01 1.0 1.53e+08 1.0 0.0e+00 0.0e+00 0.0e+00 1 2 0 0 0 1 2 0 0 0 557 VecDot 3 1.0 7.3908e-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 1332 VecMDot 161 1.0 3.7650e-01 1.0 8.10e+08 1.0 0.0e+00 0.0e+00 0.0e+00 1 10 0 0 0 1 10 0 0 0 2153 VecNorm 186 1.0 1.2554e-01 1.0 2.13e+08 1.0 0.0e+00 0.0e+00 0.0e+00 0 3 0 0 0 0 3 0 0 0 1699 VecScale 179 1.0 1.6401e-01 1.0 9.52e+07 1.0 0.0e+00 0.0e+00 0.0e+00 0 1 0 0 0 0 1 0 0 0 580 VecCopy 94 1.0 4.7735e-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 419 1.0 2.7136e-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 18 1.0 2.6892e-02 1.0 2.30e+07 1.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 0 0 0 0 0 854 VecAYPX 560 1.0 6.2659e-01 1.0 3.06e+08 1.0 0.0e+00 0.0e+00 0.0e+00 1 4 0 0 0 1 4 0 0 0 489 VecAXPBYCZ 280 1.0 4.1331e-01 1.0 6.12e+08 1.0 0.0e+00 0.0e+00 0.0e+00 1 7 0 0 0 1 7 0 0 0 1482 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 179 1.0 5.7544e-01 1.0 9.78e+08 1.0 0.0e+00 0.0e+00 0.0e+00 1 12 0 0 0 1 12 0 0 0 1699 VecPointwiseMult 15 1.0 4.0906e-03 1.0 1.64e+06 1.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 0 0 0 0 0 402 VecScatterBegin 27 1.0 1.4219e-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.1464e-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 1718 VecReduceComm 3 1.0 1.2482e-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 179 1.0 2.7853e-01 1.0 2.85e+08 1.0 0.0e+00 0.0e+00 0.0e+00 1 3 0 0 0 1 3 0 0 0 1025 MatMult 584 1.0 4.3155e+00 1.0 2.45e+09 1.0 0.0e+00 0.0e+00 0.0e+00 10 29 0 0 0 10 29 0 0 0 567 MatMultAdd 70 1.0 2.9709e-01 1.0 1.38e+08 1.0 0.0e+00 0.0e+00 0.0e+00 1 2 0 0 0 1 2 0 0 0 463 MatMultTranspose 90 1.0 3.7537e-01 1.0 1.77e+08 1.0 0.0e+00 0.0e+00 0.0e+00 1 2 0 0 0 1 2 0 0 0 472 MatSolve 14 1.0 2.1758e-03 1.0 1.29e+06 1.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 0 0 0 0 0 594 MatSOR 585 1.0 6.6648e+00 1.0 2.56e+09 1.0 0.0e+00 0.0e+00 0.0e+00 15 30 0 0 0 15 30 0 0 0 385 MatLUFactorSym 1 1.0 2.3987e-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 MatLUFactorNum 3 1.0 8.2152e-03 1.0 3.31e+06 1.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 0 0 0 0 0 403 MatResidual 70 1.0 5.6863e-01 1.0 3.06e+08 1.0 0.0e+00 0.0e+00 0.0e+00 1 4 0 0 0 1 4 0 0 0 538 MatAssemblyBegin 29 1.0 1.0692e-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 MatAssemblyEnd 29 1.0 3.1421e-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 8.5860e-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 MatGetOrdering 1 1.0 1.2904e-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 KSPGMRESOrthog 161 1.0 8.6030e-01 1.0 1.62e+09 1.0 0.0e+00 0.0e+00 0.0e+00 2 19 0 0 0 2 19 0 0 0 1884 KSPSetUp 26 1.0 7.1694e-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.2105e+01 1.0 8.30e+09 1.0 0.0e+00 0.0e+00 0.0e+00 50 98 0 0 0 50 98 0 0 0 376 PCSetUp 3 1.0 8.0325e+00 1.0 4.43e+07 1.0 0.0e+00 0.0e+00 0.0e+00 18 1 0 0 0 18 1 0 0 0 6 PCApply 14 1.0 1.3508e+01 1.0 7.81e+09 1.0 0.0e+00 0.0e+00 0.0e+00 30 92 0 0 0 30 92 0 0 0 578 ------------------------------------------------------------------------------------------------------------------------ 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 7 7 4992 0 Vector 199 199 757345384 0 Vector Scatter 17 17 11016 0 Matrix 17 17 313363012 0 Distributed Mesh 13 13 63992 0 Star Forest Bipartite Graph 26 26 21728 0 Discrete System 13 13 10920 0 Index Set 37 37 19746572 0 IS L to G Mapping 12 12 17519760 0 Krylov Solver 12 12 176712 0 DMKSP interface 6 6 3840 0 Preconditioner 12 12 10880 0 Viewer 1 0 0 0 ======================================================================================================================== Average time to get PetscTime(): 2.71e-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 6 -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 -----------------------------------------