[petsc-dev] testing problems please checking them
Hong Zhang
hzhang at mcs.anl.gov
Wed Nov 14 22:32:24 CST 2012
First two, "ifbcgs and tfibcgs" and "Broken MatPtAP" are fixed and pushed.
Hong
On Wed, Nov 14, 2012 at 8:57 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:
>
> There are a bunch of nightly tests with errors. Please check through them and see which ones you are guilty of and fix.
>
> Thanks
>
> Barry
>
>
>
> ifbcgs and tfibcgs are in test examples but don't appear to be types in KSP??
>
>
>
> [0]PETSC ERROR: --------------------- Error Message ------------------------------------
>> [0]PETSC ERROR: Unknown type. Check for miss-spelling or missing external package needed for type:
>> see http://www.mcs.anl.gov/petsc/documentation/installation.html#external!
>> [0]PETSC ERROR: Unable to find requested KSP type ifbcgs!
>
>> [0]PETSC ERROR: KSPSetType() line 659 in /Users/barrysmith/Src/petsc-dev/src/ksp/ksp/interface/itcreate.c
>> [0]PETSC ERROR: KSPSetFromOptions() line 356 in /Users/barrysmith/Src/petsc-dev/src/ksp/ksp/interface/itcl.c
>> [0]PETSC ERROR: main() line 203 in src/ksp/ksp/examples/tests/ex39.c
>> application called MPI_Abort(MPI_COMM_WORLD, 86) - process 0
>> [cli_0]: aborting job:
>> application called MPI_Abort(MPI_COMM_WORLD, 86) - process 0
> /Users/barrysmith/Src/petsc-dev/src/ksp/ksp/examples/tests
> Possible problem with with ex39_1, diffs above
>
>> [0]PETSC ERROR: Unknown type. Check for miss-spelling or missing external package needed for type:
>> see http://www.mcs.anl.gov/petsc/documentation/installation.html#external!
>> [0]PETSC ERROR: Unable to find requested KSP type tfibcgs!
>> [0]PETSC ERROR: ------------------------------------------------------------------------
>> [0]PETSC ERROR: Petsc Development HG revision: 1bebacb504435f8e678fe74ff73d827eb94edce3 HG Date: Mon Nov 12 12:26:42 2012 -0700
>> [0]PETSC ERROR: See docs/changes/index.html for recent updates.
>> [0]PETSC ERROR: See docs/faq.html for hints about trouble shooting.
>> [0]PETSC ERROR: See docs/index.html for manual pages.
>> [0]PETSC ERROR: ------------------------------------------------------------------------
>> [0]PETSC ERROR: ./ex2 on a arch-gnu named Barrys-MacBook-Pro.local by barrysmith Wed Nov 14 19:17:57 2012
>> [0]PETSC ERROR: Libraries linked from /Users/barrysmith/Src/petsc-dev/arch-gnu/lib
>> [0]PETSC ERROR: Configure run at Mon Nov 12 17:05:20 2012
>> [0]PETSC ERROR: Configure options --download-blacs --download-cmake --download-fftw --download-hypre --download-libyaml --download-metis --download-ml --download-mpich --download-mumps --download-parmetis --download-ptscotch --download-scalapack --download-superlu --download-superlu_dist --download-triangle --download-yaml --with-afterimage --with-ams-dir=/Users/barrysmith/Src/ams-dev --with-java --with-openmp --with-pthreadclasses --with-server --with-shared-libraries PETSC_ARCH=arch-gnu
>> [0]PETSC ERROR: ------------------------------------------------------------------------
>> [0]PETSC ERROR: KSPSetType() line 659 in /Users/barrysmith/Src/petsc-dev/src/ksp/ksp/interface/itcreate.c
>> [0]PETSC ERROR: KSPSetFromOptions() line 356 in /Users/barrysmith/Src/petsc-dev/src/ksp/ksp/interface/itcl.c
>> [0]PETSC ERROR: main() line 192 in src/ksp/ksp/examples/tutorials/ex2.c
>> application called MPI_Abort(MPI_COMM_WORLD, 86) - process 0
>> [cli_0]: aborting job:
>> application called MPI_Abort(MPI_COMM_WORLD, 86) - process 0
> /Users/barrysmith/Src/petsc-dev/src/ksp/ksp/examples/tutorials
> Possible problem with with ex2_tfibcgs_2, diffs above
>
> =======================================================================================================================
>
> Broken MatPtAP
>
>> [0]PETSC ERROR: --------------------- Error Message ------------------------------------
>> [0]PETSC ERROR: Arguments are incompatible!
>> [0]PETSC ERROR: MatPtAP requires A, mpiaij, to be compatible with P, mpimaij!
>> [0]PETSC ERROR: ------------------------------------------------------------------------
>> [0]PETSC ERROR: Petsc Development HG revision: 1bebacb504435f8e678fe74ff73d827eb94edce3 HG Date: Mon Nov 12 12:26:42 2012 -0700
>> [0]PETSC ERROR: See docs/changes/index.html for recent updates.
>> [0]PETSC ERROR: See docs/faq.html for hints about trouble shooting.
>> [0]PETSC ERROR: See docs/index.html for manual pages.
>> [0]PETSC ERROR: ------------------------------------------------------------------------
>> [0]PETSC ERROR: ./ex43 on a arch-gnu named Barrys-MacBook-Pro.local by barrysmith Wed Nov 14 19:18:10 2012
>> [0]PETSC ERROR: Libraries linked from /Users/barrysmith/Src/petsc-dev/arch-gnu/lib
>> [0]PETSC ERROR: Configure run at Mon Nov 12 17:05:20 2012
>> [0]PETSC ERROR: Configure options --download-blacs --download-cmake --download-fftw --download-hypre --download-libyaml --download-metis --download-ml --download-mpich --download-mumps --download-parmetis --download-ptscotch --download-scalapack --download-superlu --download-superlu_dist --download-triangle --download-yaml --with-afterimage --with-ams-dir=/Users/barrysmith/Src/ams-dev --with-java --with-openmp --with-pthreadclasses --with-server --with-shared-libraries PETSC_ARCH=arch-gnu
>> [0]PETSC ERROR: ------------------------------------------------------------------------
>> [0]PETSC ERROR: MatPtAP() line 8256 in /Users/barrysmith/Src/petsc-dev/src/mat/interface/matrix.c
>> [0]PETSC ERROR: PCSetUp_MG() line 596 in /Users/barrysmith/Src/petsc-dev/src/ksp/pc/impls/mg/mg.c
>> [0]PETSC ERROR: PCSetUp() line 832 in /Users/barrysmith/Src/petsc-dev/src/ksp/pc/interface/precon.c
>> [0]PETSC ERROR: KSPSetUp() line 278 in /Users/barrysmith/Src/petsc-dev/src/ksp/ksp/interface/itfunc.c
>> [0]PETSC ERROR: KSPSolve() line 402 in /Users/barrysmith/Src/petsc-dev/src/ksp/ksp/interface/itfunc.c
>> [0]PETSC ERROR: solve_stokes_2d_coupled() line 1501 in src/ksp/ksp/examples/tutorials/ex43.c
>> [0]PETSC ERROR: main() line 1620 in src/ksp/ksp/examples/tutorials/ex43.c
>> application called MPI_Abort(MPI_COMM_WORLD, 75) - process 0
>> [cli_0]: aborting job:
>> application called MPI_Abort(MPI_COMM_WORLD, 75) - process 0
> /Users/barrysmith/Src/petsc-dev/src/ksp/ksp/examples/tutorials
> Possible problem with with ex43_3, diffs above
>
> =======================================================================================================================
>
> < 1 SNES Function norm 22.8975
> < 2 SNES Function norm 20.6078
> < 3 SNES Function norm 18.547
> < 4 SNES Function norm 16.6923
> < 5 SNES Function norm 15.0231
> < 6 SNES Function norm 13.5208
> < 7 SNES Function norm 4.51122
> < 8 SNES Function norm 2.14075
> < 9 SNES Function norm 1.67019e-05
> < 10 SNES Function norm 9.632e-11
> < number of Newton iterations = 10; result = CONVERGED_FNORM_RELATIVE
> < errors: av |u-uexact| = 1.287e-03
> < |u-uexact|_inf = 7.882e-03
> ---
>> number of Newton iterations = 0; result = DIVERGED_LINE_SEARCH
>> errors: av |u-uexact| = 7.850e+00
>> |u-uexact|_inf = 1.191e+02
> /Users/barrysmith/Src/petsc-dev/src/snes/examples/tutorials
> Possible problem with with ex9_1, diffs above
>
> =======================================================================================================================
>
> Memory leak in fieldsplit
>
>> [ 0]16 bytes PetscThreadCommInitialize() line 1232 in /Users/barrysmith/Src/petsc-dev/src/sys/threadcomm/interface/threadcomm.c
>> [0] PetscThreadCommInitializePackage() line 51 in /Users/barrysmith/Src/petsc-dev/src/sys/threadcomm/interface/dlregisthreadcomm.c
>> [0] PetscInitialize() line 651 in /Users/barrysmith/Src/petsc-dev/src/sys/objects/pinit.c
>> [ 0]160 bytes PetscThreadCommInitialize() line 1228 in /Users/barrysmith/Src/petsc-dev/src/sys/threadcomm/interfac/Users/barrysmith/Src/petsc-dev/src/snes/examples/tutorials
> Possible problem with with ex19_fieldsplit_4, diffs above
>
> =======================================================================================================================
>
> Broken stuff in FAS
>
>
> [0]PETSC ERROR: ------------------------------------------------------------------------
>> [0]PETSC ERROR: Caught signal number 11 SEGV: Segmentation Violation, probably memory access out of range
>> [0]PETSC ERROR: Try option -start_in_debugger or -on_error_attach_debugger
>> [0]PETSC ERROR: or see http://www.mcs.anl.gov/petsc/documentation/faq.html#valgrind[0]PETSC ERROR: or try http://valgrind.org on GNU/linux and Apple Mac OS X to find memory corruption errors
>> [0]PETSC ERROR: likely location of problem given in stack below
>> [0]PETSC ERROR: --------------------- Stack Frames ------------------------------------
>> [0]PETSC ERROR: Note: The EXACT line numbers in the stack are not available,
>> [0]PETSC ERROR: INSTEAD the line number of the start of the function
>> [0]PETSC ERROR: is given.
>> [0]PETSC ERROR: [0] DMSNESGetContextWrite line 239 /Users/barrysmith/Src/petsc-dev/src/snes/utils/dmsnes.c
>> [0]PETSC ERROR: [0] DMSNESSetJacobian line 525 /Users/barrysmith/Src/petsc-dev/src/snes/utils/dmsnes.c
>> [0]PETSC ERROR: [0] SNESSetJacobian line 2348 /Users/barrysmith/Src/petsc-dev/src/snes/interface/snes.c
>> [0]PETSC ERROR: [0] SNESSetUpMatrices line 429 /Users/barrysmith/Src/petsc-dev/src/snes/interface/snes.c
>> [0]PETSC ERROR: [0] SNESSetUp_LS line 300 /Users/barrysmith/Src/petsc-dev/src/snes/impls/ls/ls.c
>> [0]PETSC ERROR: [0] SNESSetUp line 2449 /Users/barrysmith/Src/petsc-dev/src/snes/interface/snes.c
>> [0]PETSC ERROR: [0] SNESSolve line 3535 /Users/barrysmith/Src/petsc-dev/src/snes/interface/snes.c
>> [0]PETSC ERROR: [0] SNESFASDownSmooth_Private line 416 /Users/barrysmith/Src/petsc-dev/src/snes/impls/fas/fas.c
>> [0]PETSC ERROR: [0] SNESFASCycle_Multiplicative line 688 /Users/barrysmith/Src/petsc-dev/src/snes/impls/fas/fas.c
>> [0]PETSC ERROR: [0] SNESSolve_FAS line 713 /Users/barrysmith/Src/petsc-dev/src/snes/impls/fas/fas.c
>> [0]PETSC ERROR: [0] SNESSolve line 3535 /Users/barrysmith/Src/petsc-dev/src/snes/interface/snes.c
>> [0]PETSC ERROR: [0] SNESFASCoarseCorrection line 543 /Users/barrysmith/Src/petsc-dev/src/snes/impls/fas/fas.c
>> [0]PETSC ERROR: [0] SNESFASCycle_Multiplicative line 688 /Users/barrysmith/Src/petsc-dev/src/snes/impls/fas/fas.c
>> [0]PETSC ERROR: [0] SNESSolve_FAS line 713 /Users/barrysmith/Src/petsc-dev/src/snes/impls/fas/fas.c
>> [0]PETSC ERROR: [0] SNESSolve line 3535 /Users/barrysmith/Src/petsc-dev/src/snes/interface/snes.c
>> [0]PETSC ERROR: [0] SNESFASCoarseCorrection line 543 /Users/barrysmith/Src/petsc-dev/src/snes/impls/fas/fas.c
>> [0]PETSC ERROR: [0] SNESFASCycle_Multiplicative line 688 /Users/barrysmith/Src/petsc-dev/src/snes/impls/fas/fas.c
>> [0]PETSC ERROR: [0] SNESSolve_FAS line 713 /Users/barrysmith/Src/petsc-dev/src/snes/impls/fas/fas.c
>> [0]PETSC ERROR: [0] SNESSolve line 3535 /Users/barrysmith/Src/petsc-dev/src/snes/interface/snes.c
>> [0]PETSC ERROR: [0] SNESFASCoarseCorrection line 543 /Users/barrysmith/Src/petsc-dev/src/snes/impls/fas/fas.c
>> [0]PETSC ERROR: [0] SNESFASCycle_Multiplicative line 688 /Users/barrysmith/Src/petsc-dev/src/snes/impls/fas/fas.c
>> [0]PETSC ERROR: [0] SNESSolve_FAS line 713 /Users/barrysmith/Src/petsc-dev/src/snes/impls/fas/fas.c
>> [0]PETSC ERROR: [0] SNESSolve line 3535 /Users/barrysmith/Src/petsc-dev/src/snes/interface/snes.c
>> [0]PETSC ERROR: [0] SNESFASCoarseCorrection line 543 /Users/barrysmith/Src/petsc-dev/src/snes/impls/fas/fas.c
>> [0]PETSC ERROR: [0] SNESFASCycle_Multiplicative line 688 /Users/barrysmith/Src/petsc-dev/src/snes/impls/fas/fas.c
>> [0]PETSC ERROR: [0] SNESSolve_FAS line 713 /Users/barrysmith/Src/petsc-dev/src/snes/impls/fas/fas.c
>> [0]PETSC ERROR: [0] SNESSolve line 3535 /Users/barrysmith/Src/petsc-dev/src/snes/interface/snes.c
>> [0]PETSC ERROR: --------------------- Error Message ------------------------------------
>> [0]PETSC ERROR: Signal received!
>> [0]PETSC ERROR: ------------------------------------------------------------------------
>> [0]PETSC ERROR: Petsc Development HG revision: 1bebacb504435f8e678fe74ff73d827eb94edce3 HG Date: Mon Nov 12 12:26:42 2012 -0700
>> [0]PETSC ERROR: See docs/changes/index.html for recent updates.
>> [0]PETSC ERROR: See docs/faq.html for hints about trouble shooting.
>> [0]PETSC ERROR: See docs/index.html for manual pages.
>> [0]PETSC ERROR: ------------------------------------------------------------------------
>> [0]PETSC ERROR: ./ex19 on a arch-gnu named Barrys-MacBook-Pro.local by barrysmith Wed Nov 14 19:20:52 2012
>> [0]PETSC ERROR: Libraries linked from /Users/barrysmith/Src/petsc-dev/arch-gnu/lib
>> [0]PETSC ERROR: Configure run at Mon Nov 12 17:05:20 2012
>> [0]PETSC ERROR: Configure options --download-blacs --download-cmake --download-fftw --download-hypre --download-libyaml --download-metis --download-ml --download-mpich --download-mumps --download-parmetis --download-ptscotch --download-scalapack --download-superlu --download-superlu_dist --download-triangle --download-yaml --with-afterimage --with-ams-dir=/Users/barrysmith/Src/ams-dev --with-java --with-openmp --with-pthreadclasses --with-server --with-shared-libraries PETSC_ARCH=arch-gnu
>> [0]PETSC ERROR: ------------------------------------------------------------------------
>> [0]PETSC ERROR: User provided function() line 0 in unknown directory unknown file
>> application called MPI_Abort(MPI_COMM_WORLD, 59) - process 0
>> [cli_0]: aborting job:
>> application called MPI_Abort(MPI_COMM_WORLD, 59) - process 0
> /Users/barrysmith/Src/petsc-dev/src/snes/examples/tutorials
> Possible problem with ex19_fas, diffs above
>
> =======================================================================================================================
>
> Error in SNES example bad crash
>
>
>> [0]PETSC ERROR: ------------------------------------------------------------------------
>> [0]PETSC ERROR: Caught signal number 11 SEGV: Segmentation Violation, probably memory access out of range
>> [0]PETSC ERROR: Try option -start_in_debugger or -on_error_attach_debugger
>> [0]PETSC ERROR: or see http://www.mcs.anl.gov/petsc/documentation/faq.html#valgrind[0]PETSC ERROR: or try http://valgrind.org on GNU/linux and Apple Mac OS X to find memory corruption errors
>> [1]PETSC ERROR: ------------------------------------------------------------------------
>> [1]PETSC ERROR: Caught signal number 11 SEGV: Segmentation Violation, probably memory access out of range
>> [1]PETSC ERROR: Try option -start_in_debugger or -on_error_attach_debugger
>> [1]PETSC ERROR: or see http://www.mcs.anl.gov/petsc/documentation/faq.html#valgrind[1]PETSC ERROR: or try http://valgrind.org on GNU/linux and Apple Mac OS X to find memory corruption errors
>> [0]PETSC ERROR: likely location of problem given in stack below
>> [0]PETSC ERROR: --------------------- Stack Frames ------------------------------------
>> [1]PETSC ERROR: likely location of problem given in stack below
>> [1]PETSC ERROR: --------------------- Stack Frames ------------------------------------
>> [1]PETSC ERROR: Note: The EXACT line numbers in the stack are not available,
>> [1]PETSC ERROR: INSTEAD the line number of the start of the function
>> [1]PETSC ERROR: is given.
>> [0]PETSC ERROR: Note: The EXACT line numbers in the stack are not available,
>> [0]PETSC ERROR: INSTEAD the line number of the start of the function
>> [0]PETSC ERROR: [1]PETSC ERROR: [1] ComputeFunction line 155 src/snes/examples/tutorials/ex22.c
>> [1]PETSC ERROR: [1] SNES user function line 0 unknownunknown
>> [1]PETSC ERROR: [1] SNESComputeFunction line 1928 /Users/barrysmith/Src/petsc-dev/src/snes/interface/snes.c
>> [1]PETSC ERROR: [1] SNESSolve_LS line 144 /Users/barrysmith/Src/petsc-dev/src/snes/impls/ls/ls.c
>> [1]PETSC ERROR: is given.
>> [0]PETSC ERROR: [0] ComputeFunction line 155 src/snes/examples/tutorials/ex22.c
>> [0]PETSC ERROR: [0] SNES user function line 0 unknownunknown
>> [0]PETSC ERROR: [0] SNESComputeFunction line 1928 /Users/barrysmith/Src/petsc-dev/src/snes/interface/snes.c
>> [0]PETSC ERROR: [1] SNESSolve line 3535 /Users/barrysmith/Src/petsc-dev/src/snes/interface/snes.c
>> [0] SNESSolve_LS line 144 /Users/barrysmith/Src/petsc-dev/src/snes/impls/ls/ls.c
>> [0]PETSC ERROR: [0] SNESSolve line 3535 /Users/barrysmith/Src/petsc-dev/src/snes/interface/snes.c
>> [1]PETSC ERROR: --------------------- Error Message ------------------------------------
>> [1]PETSC ERROR: Signal received!
>> [1]PETSC ERROR: ------------------------------------------------------------------------
>> [1]PETSC ERROR: [0]PETSC ERROR: --------------------- Error Message ------------------------------------
>> [0]PETSC ERROR: Signal received!
>> [0]PETSC ERROR: ------------------------------------------------------------------------
>> [0]PETSC ERROR: Petsc Development HG revision: 1bebacb504435f8e678fe74ff73d827eb94edce3 HG Date: Mon Nov 12 12:26:42 2012 -0700
>> [1]PETSC ERROR: See docs/changes/index.html for recent updates.
>> [1]PETSC ERROR: See docs/faq.html for hints about trouble shooting.
>> [1]PETSC ERROR: See docs/index.html for manual pages.
>> [1]PETSC ERROR: ------------------------------------------------------------------------
>> Petsc Development HG revision: 1bebacb504435f8e678fe74ff73d827eb94edce3 HG Date: Mon Nov 12 12:26:42 2012 -0700
>> [0]PETSC ERROR: See docs/changes/index.html for recent updates.
>> [0]PETSC ERROR: See docs/faq.html for hints about trouble shooting.
>> [0]PETSC ERROR: See docs/index.html for manual pages.
>> [0]PETSC ERROR: ------------------------------------------------------------------------
>> [0]PETSC ERROR: [1]PETSC ERROR: ./ex22 on a arch-gnu named Barrys-MacBook-Pro.local by barrysmith Wed Nov 14 19:20:56 2012
>> [1]PETSC ERROR: Libraries linked from /Users/barrysmith/Src/petsc-dev/arch-gnu/lib
>> [1]PETSC ERROR: Configure run at Mon Nov 12 17:05:20 2012
>> [1]PETSC ERROR: Configure options --download-blacs --download-cmake --download-fftw --download-hypre --download-libyaml --download-metis --download-ml --download-mpich --download-mumps --download-parmetis --download-ptscotch --download-scalapack --download-superlu --download-superlu_dist --download-triangle --download-yaml --with-afterimage --with-ams-dir=/Users/barrysmith/Src/ams-dev --with-java --with-openmp --with-pthreadclasses --with-server --with-shared-libraries PETSC_ARCH=arch-gnu
>> [1]PETSC ERROR: ------------------------------------------------------------------------
>> ./ex22 on a arch-gnu named Barrys-MacBook-Pro.local by barrysmith Wed Nov 14 19:20:56 2012
>> [0]PETSC ERROR: Libraries linked from /Users/barrysmith/Src/petsc-dev/arch-gnu/lib
>> [0]PETSC ERROR: Configure run at Mon Nov 12 17:05:20 2012
>> [0]PETSC ERROR: Configure options --download-blacs --download-cmake --download-fftw --download-hypre --download-libyaml --download-metis --download-ml --download-mpich --download-mumps --download-parmetis --download-ptscotch --download-scalapack --download-superlu --download-superlu_dist --download-triangle --download-yaml --with-afterimage --with-ams-dir=/Users/barrysmith/Src/ams-dev --with-java --with-openmp --with-pthreadclasses --with-server --with-shared-libraries PETSC_ARCH=arch-gnu
>> [0]PETSC ERROR: ------------------------------------------------------------------------
>> [0]PETSC ERROR: User provided function() line 0 in unknown directory unknown file
>> [1]PETSC ERROR: User provided function() line 0 in unknown directory unknown file
>> application called MPI_Abort(MPI_COMM_WORLD, 59) - process 0
>> application called MPI_Abort(MPI_COMM_WORLD, 59) - process 1
>> [cli_0]: aborting job:
>> application called MPI_Abort(MPI_COMM_WORLD, 59) - process 0
>> [cli_1]: aborting job:
>> application called MPI_Abort(MPI_COMM_WORLD, 59) - process 1
> /Users/barrysmith/Src/petsc-dev/src/snes/examples/tutorials
> Possible problem with with ex22_1, diffs above
>
> =======================================================================================================================
>
>
> /Users/barrysmith/Src/petsc-dev/arch-gnu/bin/mpicc -o ex30.o -c -PIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -fno-inline -O0 -fopenmp -I/Users/barrysmith/Src/petsc-dev/include -I/Users/barrysmith/Src/petsc-dev/arch-gnu/include -I/usr/local/include/libAfterImage/ -I/opt/X11/include -I/Users/barrysmith/Src/ams-dev/include -I/opt/local/include -D__INSDIR__=src/snes/examples/tutorials/ ex30.c
> ex30.c: In function ‘XMomentumResidual’:
> ex30.c:507: error: expected expression before ‘PetscScalar’
> ex30.c:519: error: expected expression before ‘PetscScalar’
> ex30.c:519: error: too few arguments to function ‘Viscosity’
> ex30.c:520: error: expected expression before ‘PetscScalar’
> ex30.c:520: error: too few arguments to function ‘Viscosity’
> ex30.c: In function ‘ZMomentumResidual’:
> ex30.c:565: error: expected expression before ‘PetscScalar’
> ex30.c:567: error: expected expression before ‘PetscScalar’
> ex30.c: In function ‘XNormalStress’:
> ex30.c:734: error: expected expression before ‘PetscScalar’
> ex30.c:734: error: too few arguments to function ‘Viscosity’
> ex30.c:742: error: expected expression before ‘PetscScalar’
> ex30.c: In function ‘ZNormalStress’:
> ex30.c:775: error: expected expression before ‘PetscScalar’
> ex30.c:775: error: too few arguments to function ‘Viscosity’
> ex30.c:781: error: expected expression before ‘PetscScalar’
> make[7]: [ex30.o] Error 1 (ignored)
> /Users/barrysmith/Src/petsc-dev/arch-gnu/bin/mpicc -fopenmp -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first -PIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -fno-inline -O0 -fopenmp -o ex30 ex30.o -L/Users/barrysmith/Src/petsc-dev/arch-gnu/lib -L/Users/barrysmith/Src/petsc-dev/arch-gnu/lib -lpetsc -lcmumps -ldmumps -lsmumps -lzmumps -lmumps_common -lpord -lscalapack -lblacs -lHYPRE -L/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/x86_64 -L/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/x86_64 -L/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1 -L/usr/llvm-gcc-4.2/lib/gcc -L/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1 -L/usr/llvm-gcc-4.2/lib -L/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib -lmpichcxx -lstdc++ -lml -lmpichcxx -lstdc++ -lsuperlu_4.3 -lsuperlu_dist_3.1 -llapack -lblas -L/usr/local/include/libAfterImage/../../lib -lAfterImage -ltriangle -L/opt/X11/lib -lX11 -L/Users/barrysmith/Src/ams-dev/lib -lamspub -lparmetis -lmetis -lfftw3_mpi -lfftw3 -lptesmumps -lptscotch -lptscotcherr -lpthread -lyaml -lmpichf90 -lgfortran -L/usr/local/lib/gcc/x86_64-apple-darwin10.7.0/4.6.0 -L/usr/local/lib -lgfortran -lgcc_ext.10.5 -lquadmath -lm -lm -lmpichcxx -lstdc++ -lm -lz -lz -ldl -lpmpich -lmpich -lopa -lmpl -lpthread -lSystem -ldl
> i686-apple-darwin11-llvm-gcc-4.2: ex30.o: No such file or directory
> make[7]: [ex30] Error 1 (ignored)
> /bin/rm -f ex30.o
> 1,123c1
>
>
> =======================================================================================================================
>
>
>> [0]PETSC ERROR: --------------------- Error Message ------------------------------------
>> [0]PETSC ERROR: Object is in wrong state!
>> [0]PETSC ERROR: Need to provide function with DMSetFunction()!
>> [0]PETSC ERROR: ------------------------------------------------------------------------
>> [0]PETSC ERROR: Petsc Development HG revision: 1bebacb504435f8e678fe74ff73d827eb94edce3 HG Date: Mon Nov 12 12:26:42 2012 -0700
>> [0]PETSC ERROR: See docs/changes/index.html for recent updates.
>> [0]PETSC ERROR: See docs/faq.html for hints about trouble shooting.
>> [0]PETSC ERROR: See docs/index.html for manual pages.
>> [0]PETSC ERROR: ------------------------------------------------------------------------
>> [0]PETSC ERROR: ./ex48 on a arch-gnu named Barrys-MacBook-Pro.local by barrysmith Wed Nov 14 19:21:08 2012
>> [0]PETSC ERROR: Libraries linked from /Users/barrysmith/Src/petsc-dev/arch-gnu/lib
>> [0]PETSC ERROR: Configure run at Mon Nov 12 17:05:20 2012
>> [0]PETSC ERROR: Configure options --download-blacs --download-cmake --download-fftw --download-hypre --download-libyaml --download-metis --download-ml --download-mpich --download-mumps --download-parmetis --download-ptscotch --download-scalapack --download-superlu --download-superlu_dist --download-triangle --download-yaml --with-afterimage --with-ams-dir=/Users/barrysmith/Src/ams-dev --with-java --with-openmp --with-pthreadclasses --with-server --with-shared-libraries PETSC_ARCH=arch-gnu
>> [0]PETSC ERROR: ------------------------------------------------------------------------
>> [0]PETSC ERROR: DMComputeFunction() line 2543 in /Users/barrysmith/Src/petsc-dev/src/dm/interface/dm.c
>> [0]PETSC ERROR: SNESDefaultComputeFunction_DMLegacy() line 644 in /Users/barrysmith/Src/petsc-dev/src/snes/utils/dmsnes.c
>> [0]PETSC ERROR: SNESComputeFunction() line 1945 in /Users/barrysmith/Src/petsc-dev/src/snes/interface/snes.c
>> [0]PETSC ERROR: SNESSolve_LS() line 162 in /Users/barrysmith/Src/petsc-dev/src/snes/impls/ls/ls.c
>> [0]PETSC ERROR: SNESSolve() line 3580 in /Users/barrysmith/Src/petsc-dev/src/snes/interface/snes.c
>> [0]PETSC ERROR: main() line 1555 in src/snes/examples/tutorials/ex48.c
>> application called MPI_Abort(MPI_COMM_WORLD, 73) - process 0
>> [cli_0]: aborting job:
>> application called MPI_Abort(MPI_COMM_WORLD, 73) - process 0
> /Users/barrysmith/Src/petsc-dev/src/snes/examples/tutorials
> Possible problem with ex48_2, diffs above
> =========================================
>
>
>> [0]PETSC ERROR: ------------------------------------------------------------------------
>> [0]PETSC ERROR: ./ex48 on a arch-gnu named Barrys-MacBook-Pro.local by barrysmith Wed Nov 14 19:21:12 2012
>> [0]PETSC ERROR: Libraries linked from /Users/barrysmith/Src/petsc-dev/arch-gnu/lib
>> [0]PETSC ERROR: Configure run at Mon Nov 12 17:05:20 2012
>> [0]PETSC ERROR: Configure options --download-blacs --download-cmake --download-fftw --download-hypre --download-libyaml --download-metis --download-ml --download-mpich --download-mumps --download-parmetis --download-ptscotch --download-scalapack --download-superlu --download-superlu_dist --download-triangle --download-yaml --with-afterimage --with-ams-dir=/Users/barrysmith/Src/ams-dev --with-java --with-openmp --with-pthreadclasses --with-server --with-shared-libraries PETSC_ARCH=arch-gnu
>> [0]PETSC ERROR: ------------------------------------------------------------------------
>> [0]PETSC ERROR: DMComputeFunction() line 2543 in /Users/barrysmith/Src/petsc-dev/src/dm/interface/dm.c
>> [0]PETSC ERROR: SNESDefaultComputeFunction_DMLegacy() line 644 in /Users/barrysmith/Src/petsc-dev/src/snes/utils/dmsnes.c
>> [0]PETSC ERROR: SNESComputeFunction() line 1945 in /Users/barrysmith/Src/petsc-dev/src/snes/interface/snes.c
>> [0]PETSC ERROR: SNESSolve_LS() line 162 in /Users/barrysmith/Src/petsc-dev/src/snes/impls/ls/ls.c
>> [0]PETSC ERROR: SNESSolve() line 3580 in /Users/barrysmith/Src/petsc-dev/src/snes/interface/snes.c
>> [0]PETSC ERROR: main() line 1555 in src/snes/examples/tutorials/ex48.c
>> application called MPI_Abort(MPI_COMM_WORLD, 73) - process 0
>> [cli_0]: aborting job:
>> application called MPI_Abort(MPI_COMM_WORLD, 73) - process 0
> /Users/barrysmith/Src/petsc-dev/src/snes/examples/tutorials
> Possible problem with ex48_4, diffs above
>
More information about the petsc-dev
mailing list