0 SNES Function norm 1.034922128099e+00 0 KSP Residual norm 1.340356724887e+02 1 KSP Residual norm 3.314380252750e-02 2 KSP Residual norm 1.088016710440e-03 3 KSP Residual norm 1.416518962370e-05 4 KSP Residual norm 3.344961316635e-07 5 KSP Residual norm 8.412526930978e-09 1 SNES Function norm 6.469930122445e-05 0 KSP Residual norm 1.044418869779e+01 1 KSP Residual norm 9.304516845949e-06 2 KSP Residual norm 3.003597854565e-08 3 KSP Residual norm 1.002692253846e-11 2 SNES Function norm 4.967666881692e-07 0 KSP Residual norm 8.556889992358e-02 1 KSP Residual norm 5.466090972247e-08 2 KSP Residual norm 1.468173855975e-10 3 KSP Residual norm 6.708827589662e-15 3 SNES Function norm 3.366077388138e-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:11:06 2015 Using Petsc Release Version 3.6.1, Jul, 22, 2015 Max Max/Min Avg Total Time (sec): 6.562e+01 1.00000 6.562e+01 Objects: 1.260e+02 1.00000 1.260e+02 Flops: 2.422e+10 1.00000 2.422e+10 2.422e+10 Flops/sec: 3.690e+08 1.00000 3.690e+08 3.690e+08 Memory: 1.614e+09 1.00000 1.614e+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: 6.5620e+01 100.0% 2.4217e+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 6.1711e+01 1.0 2.42e+10 1.0 0.0e+00 0.0e+00 0.0e+00 94100 0 0 0 94100 0 0 0 392 SNESFunctionEval 4 1.0 1.3550e-01 1.0 7.22e+07 1.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 0 0 0 0 0 533 SNESJacobianEval 6 1.0 2.2441e+01 1.0 0.00e+00 0.0 0.0e+00 0.0e+00 0.0e+00 34 0 0 0 0 34 0 0 0 0 0 SNESLineSearch 3 1.0 2.8269e-01 1.0 1.53e+08 1.0 0.0e+00 0.0e+00 0.0e+00 0 1 0 0 0 0 1 0 0 0 540 VecDot 3 1.0 7.2062e-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 1366 VecMDot 41 1.0 2.9580e-01 1.0 6.30e+08 1.0 0.0e+00 0.0e+00 0.0e+00 0 3 0 0 0 0 3 0 0 0 2130 VecNorm 54 1.0 1.0712e-01 1.0 1.77e+08 1.0 0.0e+00 0.0e+00 0.0e+00 0 1 0 0 0 0 1 0 0 0 1654 VecScale 47 1.0 1.1042e-01 1.0 7.71e+07 1.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 0 0 0 0 0 698 VecCopy 26 1.0 4.1249e-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 131 1.0 2.3854e-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 VecAXPY 6 1.0 2.1404e-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 920 VecAYPX 112 1.0 4.8722e-01 1.0 2.30e+08 1.0 0.0e+00 0.0e+00 0.0e+00 1 1 0 0 0 1 1 0 0 0 472 VecAXPBYCZ 56 1.0 3.2325e-01 1.0 4.59e+08 1.0 0.0e+00 0.0e+00 0.0e+00 0 2 0 0 0 0 2 0 0 0 1421 VecWAXPY 3 1.0 1.4258e-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 345 VecMAXPY 47 1.0 4.6339e-01 1.0 7.65e+08 1.0 0.0e+00 0.0e+00 0.0e+00 1 3 0 0 0 1 3 0 0 0 1650 VecPointwiseMult 3 1.0 3.1452e-03 1.0 1.23e+06 1.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 0 0 0 0 0 392 VecScatterBegin 11 1.0 1.4363e-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.1923e-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 1652 VecReduceComm 3 1.0 1.3482e-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 47 1.0 2.0435e-01 1.0 2.31e+08 1.0 0.0e+00 0.0e+00 0.0e+00 0 1 0 0 0 0 1 0 0 0 1132 MatMult 128 1.0 3.4496e+00 1.0 1.89e+09 1.0 0.0e+00 0.0e+00 0.0e+00 5 8 0 0 0 5 8 0 0 0 548 MatMultAdd 14 1.0 2.3129e-01 1.0 1.03e+08 1.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 0 0 0 0 0 447 MatMultTranspose 18 1.0 2.9961e-01 1.0 1.33e+08 1.0 0.0e+00 0.0e+00 0.0e+00 0 1 0 0 0 0 1 0 0 0 443 MatSolve 14 1.0 9.8234e-01 1.0 6.85e+08 1.0 0.0e+00 0.0e+00 0.0e+00 1 3 0 0 0 1 3 0 0 0 698 MatSOR 117 1.0 5.1641e+00 1.0 1.92e+09 1.0 0.0e+00 0.0e+00 0.0e+00 8 8 0 0 0 8 8 0 0 0 373 MatLUFactorSym 1 1.0 1.5942e+00 1.0 0.00e+00 0.0 0.0e+00 0.0e+00 0.0e+00 2 0 0 0 0 2 0 0 0 0 0 MatLUFactorNum 3 1.0 2.3239e+01 1.0 1.70e+10 1.0 0.0e+00 0.0e+00 0.0e+00 35 70 0 0 0 35 70 0 0 0 732 MatResidual 14 1.0 4.4051e-01 1.0 2.30e+08 1.0 0.0e+00 0.0e+00 0.0e+00 1 1 0 0 0 1 1 0 0 0 521 MatAssemblyBegin 9 1.0 3.7389e-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 9 1.0 2.9110e-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 MatGetRowIJ 1 1.0 1.7998e-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 MatGetOrdering 1 1.0 5.9837e-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 KSPGMRESOrthog 41 1.0 6.8068e-01 1.0 1.26e+09 1.0 0.0e+00 0.0e+00 0.0e+00 1 5 0 0 0 1 5 0 0 0 1851 KSPSetUp 10 1.0 6.0538e-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 4.3385e+01 1.0 2.40e+10 1.0 0.0e+00 0.0e+00 0.0e+00 66 99 0 0 0 66 99 0 0 0 554 PCSetUp 3 1.0 3.1401e+01 1.0 1.70e+10 1.0 0.0e+00 0.0e+00 0.0e+00 48 70 0 0 0 48 70 0 0 0 543 PCApply 14 1.0 1.1399e+01 1.0 6.54e+09 1.0 0.0e+00 0.0e+00 0.0e+00 17 27 0 0 0 17 27 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 3 3 2048 0 Vector 63 63 656541928 0 Vector Scatter 5 5 3240 0 Matrix 5 5 562018532 0 Distributed Mesh 5 5 24376 0 Star Forest Bipartite Graph 10 10 8288 0 Discrete System 5 5 4200 0 Index Set 13 13 21355292 0 IS L to G Mapping 4 4 16417200 0 Krylov Solver 4 4 51016 0 DMKSP interface 2 2 1280 0 Preconditioner 4 4 3808 0 Viewer 1 0 0 0 ======================================================================================================================== Average time to get PetscTime(): 2.74998e-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 2 -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 -----------------------------------------