0 SNES Function norm 1.034922128099e+00 0 KSP Residual norm 1.331641660038e+02 1 KSP Residual norm 2.807548094108e-01 2 KSP Residual norm 1.331978401224e-03 3 KSP Residual norm 3.194099827134e-05 4 KSP Residual norm 6.311572713591e-07 5 KSP Residual norm 1.002348123159e-08 1 SNES Function norm 6.469930248741e-05 0 KSP Residual norm 1.038359685058e+01 1 KSP Residual norm 1.806439071407e-03 2 KSP Residual norm 1.235067031682e-06 3 KSP Residual norm 6.797364964839e-10 2 SNES Function norm 4.967673541095e-07 0 KSP Residual norm 8.506559276958e-02 1 KSP Residual norm 1.402702350544e-05 2 KSP Residual norm 7.583441411505e-09 3 KSP Residual norm 4.985614230263e-12 3 SNES Function norm 3.433435271422e-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:02:29 2015 Using Petsc Release Version 3.6.1, Jul, 22, 2015 Max Max/Min Avg Total Time (sec): 4.509e+01 1.00000 4.509e+01 Objects: 4.360e+02 1.00000 4.360e+02 Flops: 8.480e+09 1.00000 8.480e+09 8.480e+09 Flops/sec: 1.881e+08 1.00000 1.881e+08 1.881e+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.5089e+01 100.0% 8.4800e+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.0935e+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 207 SNESFunctionEval 4 1.0 1.3350e-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 541 SNESJacobianEval 21 1.0 2.4364e+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.7384e-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.4012e-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 1330 VecMDot 191 1.0 3.7838e-01 1.0 8.11e+08 1.0 0.0e+00 0.0e+00 0.0e+00 1 10 0 0 0 1 10 0 0 0 2143 VecNorm 219 1.0 1.2570e-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 1698 VecScale 212 1.0 1.7363e-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 548 VecCopy 111 1.0 4.8021e-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 491 1.0 2.7321e-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 21 1.0 2.7936e-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 823 VecAYPX 672 1.0 6.2870e-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 487 VecAXPBYCZ 336 1.0 4.1266e-01 1.0 6.13e+08 1.0 0.0e+00 0.0e+00 0.0e+00 1 7 0 0 0 1 7 0 0 0 1485 VecWAXPY 3 1.0 1.3669e-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 212 1.0 5.7688e-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 1696 VecPointwiseMult 18 1.0 4.1177e-03 1.0 1.65e+06 1.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 0 0 0 0 0 400 VecScatterBegin 31 1.0 1.4424e-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.1428e-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 1723 VecReduceComm 3 1.0 1.2976e-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 212 1.0 2.8858e-01 1.0 2.86e+08 1.0 0.0e+00 0.0e+00 0.0e+00 1 3 0 0 0 1 3 0 0 0 990 MatMult 698 1.0 4.3039e+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 569 MatMultAdd 84 1.0 2.9735e-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 108 1.0 3.7535e-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 6.7312e-04 1.0 2.52e+05 1.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 0 0 0 0 0 374 MatSOR 702 1.0 6.5916e+00 1.0 2.57e+09 1.0 0.0e+00 0.0e+00 0.0e+00 15 30 0 0 0 15 30 0 0 0 389 MatLUFactorSym 1 1.0 5.8725e-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 MatLUFactorNum 3 1.0 1.3269e-03 1.0 3.43e+05 1.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 0 0 0 0 0 259 MatResidual 84 1.0 5.6778e-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 539 MatAssemblyBegin 34 1.0 1.1971e-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 34 1.0 3.6282e-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 3.1274e-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 4.1642e-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 KSPGMRESOrthog 191 1.0 8.6366e-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 1878 KSPSetUp 30 1.0 7.1408e-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.2295e+01 1.0 8.31e+09 1.0 0.0e+00 0.0e+00 0.0e+00 49 98 0 0 0 49 98 0 0 0 373 PCSetUp 3 1.0 8.2806e+00 1.0 4.14e+07 1.0 0.0e+00 0.0e+00 0.0e+00 18 0 0 0 0 18 0 0 0 0 5 PCApply 14 1.0 1.3449e+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 581 ------------------------------------------------------------------------------------------------------------------------ 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 8 8 5728 0 Vector 233 233 757708488 0 Vector Scatter 20 20 12960 0 Matrix 20 20 313061292 0 Distributed Mesh 15 15 73896 0 Star Forest Bipartite Graph 30 30 25088 0 Discrete System 15 15 12600 0 Index Set 43 43 19746552 0 IS L to G Mapping 14 14 17524520 0 Krylov Solver 14 14 208136 0 DMKSP interface 7 7 4480 0 Preconditioner 14 14 12648 0 Viewer 1 0 0 0 ======================================================================================================================== Average time to get PetscTime(): 2.59999e-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 7 -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 -----------------------------------------