0 SNES Function norm 1.034922128099e+00 0 KSP Residual norm 1.338350673702e+02 1 KSP Residual norm 2.571003855460e-01 2 KSP Residual norm 1.551943209933e-03 3 KSP Residual norm 4.768990887875e-05 4 KSP Residual norm 7.745818182078e-07 5 KSP Residual norm 1.323446200854e-08 1 SNES Function norm 6.469930232031e-05 0 KSP Residual norm 1.044004040600e+01 1 KSP Residual norm 6.474252359859e-04 2 KSP Residual norm 1.099641175766e-06 3 KSP Residual norm 2.779490656550e-09 2 SNES Function norm 4.967677473711e-07 0 KSP Residual norm 8.553452887253e-02 1 KSP Residual norm 4.033458396445e-06 2 KSP Residual norm 2.187789348127e-09 3 KSP Residual norm 4.845149424424e-12 3 SNES Function norm 3.526073465239e-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:00:06 2015 Using Petsc Release Version 3.6.1, Jul, 22, 2015 Max Max/Min Avg Total Time (sec): 4.399e+01 1.00000 4.399e+01 Objects: 3.120e+02 1.00000 3.120e+02 Flops: 8.486e+09 1.00000 8.486e+09 8.486e+09 Flops/sec: 1.929e+08 1.00000 1.929e+08 1.929e+08 Memory: 1.037e+09 1.00000 1.037e+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.3993e+01 100.0% 8.4860e+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 3.9996e+01 1.0 8.49e+09 1.0 0.0e+00 0.0e+00 0.0e+00 91100 0 0 0 91100 0 0 0 212 SNESFunctionEval 4 1.0 1.3485e-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 535 SNESJacobianEval 15 1.0 2.3450e+01 1.0 0.00e+00 0.0 0.0e+00 0.0e+00 0.0e+00 53 0 0 0 0 53 0 0 0 0 0 SNESLineSearch 3 1.0 2.7535e-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 554 VecDot 3 1.0 7.4065e-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 1329 VecMDot 131 1.0 3.8343e-01 1.0 8.08e+08 1.0 0.0e+00 0.0e+00 0.0e+00 1 10 0 0 0 1 10 0 0 0 2108 VecNorm 153 1.0 1.2755e-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 1669 VecScale 146 1.0 1.5886e-01 1.0 9.49e+07 1.0 0.0e+00 0.0e+00 0.0e+00 0 1 0 0 0 0 1 0 0 0 598 VecCopy 77 1.0 4.8812e-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 347 1.0 2.6903e-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 15 1.0 2.7133e-02 1.0 2.29e+07 1.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 0 0 0 0 0 845 VecAYPX 448 1.0 6.3370e-01 1.0 3.05e+08 1.0 0.0e+00 0.0e+00 0.0e+00 1 4 0 0 0 1 4 0 0 0 482 VecAXPBYCZ 224 1.0 4.1393e-01 1.0 6.11e+08 1.0 0.0e+00 0.0e+00 0.0e+00 1 7 0 0 0 1 7 0 0 0 1475 VecWAXPY 3 1.0 1.3675e-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 360 VecMAXPY 146 1.0 5.8693e-01 1.0 9.75e+08 1.0 0.0e+00 0.0e+00 0.0e+00 1 11 0 0 0 1 11 0 0 0 1662 VecPointwiseMult 12 1.0 4.1684e-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 393 VecScatterBegin 23 1.0 1.4133e-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.1422e-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 1724 VecReduceComm 3 1.0 1.2124e-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 146 1.0 2.7501e-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 1036 MatMult 470 1.0 4.3610e+00 1.0 2.44e+09 1.0 0.0e+00 0.0e+00 0.0e+00 10 29 0 0 0 10 29 0 0 0 560 MatMultAdd 56 1.0 2.9849e-01 1.0 1.37e+08 1.0 0.0e+00 0.0e+00 0.0e+00 1 2 0 0 0 1 2 0 0 0 460 MatMultTranspose 72 1.0 3.8086e-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 463 MatSolve 14 1.0 9.3712e-03 1.0 6.45e+06 1.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 0 0 0 0 0 688 MatSOR 468 1.0 6.6651e+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 383 MatLUFactorSym 1 1.0 1.0548e-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 MatLUFactorNum 3 1.0 5.7809e-02 1.0 2.95e+07 1.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 0 0 0 0 0 510 MatResidual 56 1.0 5.7214e-01 1.0 3.05e+08 1.0 0.0e+00 0.0e+00 0.0e+00 1 4 0 0 0 1 4 0 0 0 533 MatAssemblyBegin 24 1.0 1.0494e-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 24 1.0 3.1771e-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 2.8393e-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 MatGetOrdering 1 1.0 5.3927e-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 131 1.0 8.7651e-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 1844 KSPSetUp 22 1.0 7.0117e-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.1988e+01 1.0 8.31e+09 1.0 0.0e+00 0.0e+00 0.0e+00 50 98 0 0 0 50 98 0 0 0 378 PCSetUp 3 1.0 7.8473e+00 1.0 7.04e+07 1.0 0.0e+00 0.0e+00 0.0e+00 18 1 0 0 0 18 1 0 0 0 9 PCApply 14 1.0 1.3570e+01 1.0 7.79e+09 1.0 0.0e+00 0.0e+00 0.0e+00 31 92 0 0 0 31 92 0 0 0 574 ------------------------------------------------------------------------------------------------------------------------ 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 6 6 4256 0 Vector 165 165 756082440 0 Vector Scatter 14 14 9072 0 Matrix 14 14 315031580 0 Distributed Mesh 11 11 54088 0 Star Forest Bipartite Graph 22 22 18368 0 Discrete System 11 11 9240 0 Index Set 31 31 19760832 0 IS L to G Mapping 10 10 17505080 0 Krylov Solver 10 10 145288 0 DMKSP interface 5 5 3200 0 Preconditioner 10 10 9112 0 Viewer 1 0 0 0 ======================================================================================================================== Average time to get PetscTime(): 2.73001e-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 5 -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 -----------------------------------------