Hi Satish, Thanks for your input. I will try to debug it and discuss with the petsc-maint alias.
Regards, Adam Satish Balay wrote: > We have it working on a solaris [sparc] box - so I'm not sure what the > problem here is.. > > You can run this in a debugger to chek where it crashing.. If you have > -lsunperf, configure shoul automatically detect it [so no extra option > is necessary] > > Also - looks like -lsunperf requires -lsunmath -lm - so perhaps these > need specifying? > > [petsc-dev at mcs.anl.gov is not an appropriate list for such > discussions. You can send these issues to petsc-maint at mcs.anl.gov. If > you wish to discuss thse issues in a public list - then you can use > petsc-users at mcs.anl.gov list] > > Satish > > On Wed, 16 May 2007, Yi-Feng Adam Zhang wrote: > > >> Hi all, >> >> Does anyone use the latest Sun Studio Performance Library(libsunperf.a) with >> PETSc? I just make a compilation but failed in the test stage. >> >> The configure.py is : >> #!/usr/bin/env python >> if __name__ == '__main__': >> import sys >> sys.path.insert(0, '/work/adam/petsc/perf.mpi.suncc.blas.c/config') >> import configure >> configure_options = ['--with-cc-cc', '--with-shared=0', >> '--download-mpich=1', >> '-PETSC_ARCH=solaris2.10-c-debug', >> '--with-blas-lapack-lib=/opt/SUNWspro/lib/libsunperf.so', '--with-fc=0'] >> configure.petsc_configure(configure_options) >> >> >> The error message I get after issue "make test": >> -bash-3.00# make test >> Running test examples to verify correct installation >> Possible error running C/C++ src/snes/examples/tutorials/ex19 with 1 MPI >> processSee >> http://www.mcs.anl.gov/petsc/petsc-as/documentation/troubleshooting.html >> [cli_0]: aborting job: >> application called MPI_Abort(MPI_COMM_WORLD, 59) - process 0 >> lid velocity = 0.0016, prandtl # = 1, grashof # = 1 >> [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/petsc-as/documentation/troubleshooting.html#Signal[0]PETSC >> ERROR: or try http://valgrind.org on linux or man libgmalloc on Apple 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] VecNorm_MPI line 57 src/vec/vec/impls/mpi/pvec2.c >> [0]PETSC ERROR: [0] VecNorm line 148 src/vec/vec/interface/rvector.c >> [0]PETSC ERROR: [0] SNESSolve line 1811 src/snes/interface/snes.c >> [0]PETSC ERROR: [0] DMMGSolveSNES line 402 src/snes/utils/damgsnes.c >> [0]PETSC ERROR: [0] DMMGSolve line 250 src/snes/utils/damg.c >> [0]PETSC ERROR: --------------------- Error Message >> ------------------------------------ >> [0]PETSC ERROR: Signal received! >> [0]PETSC ERROR: >> ------------------------------------------------------------------------ >> [0]PETSC ERROR: Petsc Release Version 2.3.2, Patch 10, Wed Mar 28 19:13:22 >> CDT >> 2007 HG revision: d7298c71db7f5e767f359ae35d33cab3bed44428 >> [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 solaris2. named newjersey by root Wed May 16 >> 14:07:31 2007 >> [0]PETSC ERROR: Libraries linked from >> /work/adam/petsc/perf.mpi.suncc.blas.c/lib/solaris2.10-c-debug >> [0]PETSC ERROR: Configure run at Tue May 15 11:05:42 2007 >> [0]PETSC ERROR: Configure options --with-cc-cc >> --with-blas-lapack-lib=/opt/SUNWspro/lib/libsunperf.so --download-mpich=1 >> --with-fc=0 --with-shared=0 >> [0]PETSC ERROR: >> ------------------------------------------------------------------------ >> [0]PETSC ERROR: User provided function() line 0 in unknown directory unknown >> file >> Possible error running C/C++ src/snes/examples/tutorials/ex19 with 2 MPI >> processes >> See http://www.mcs.anl.gov/petsc/petsc-as/documentation/troubleshooting.html >> [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 >> lid velocity = 0.0016, prandtl # = 1, grashof # = 1 >> [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/petsc-as/documentation/troubleshooting.html#Signal[0]PETSC >> ERROR: or try http://valgrind.org on linux or man libgmalloc on Apple 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] VecNorm_MPI line 57 src/vec/vec/impls/mpi/pvec2.c >> [0]PETSC ERROR: [0] VecNorm line 148 src/vec/vec/interface/rvector.c >> [0]PETSC ERR[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/petsc-as/documentation/troubleshooting.html#Signal[1]PETSC >> ERROR: or try http://valgrind.org on linux or man libgmalloc on Apple to find >> memory corruption errors >> [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. >> [1]PETSC ERROR: [1] VecNorm_MPI line 57 src/vec/vec/impls/mpi/pvec2.c >> [1]PETSC ERROR: [1] VecNorm line 148 src/vec/vec/interface/rvector.c >> [1]PETSC ERROR: [1] SNESSolve line 1811 src/snes/interface/snes.OR: [0] >> SNESSolve line 1811 src/snes/interface/snes.c >> [0]PETSC ERROR: [0] DMMGSolveSNES line 402 src/snes/utils/damgsnes.c >> [0]PETSC ERROR: [0] DMMGSolve line 250 src/snes/utils/damg.c >> [0]PETSC ERROR: --------------------- Error Message >> ------------------------------------ >> [0]PETSC ERROR: Signal received! >> [0]PETSC ERROR: >> ------------------------------------------------------------------------ >> [0]PETSC ERROR: Petsc Release Version 2.3.2, Patch 10, Wed Mar 28 19:13:22 >> CDT >> 2007 HG revision: d7298c71db7f5e767f359ae35d33cab3bed44428 >> [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 solaris2. named newjersey by root Wed May 16 >> 14:07:32 2007 >> [0]PETSC ERROR: Libraries linked from >> /work/adam/petsc/perf.mpi.suncc.blas.c/lib/solaris2.10-c-debug >> [0]PETSC ERROR: Configure ruc >> [1]PETSC ERROR: [1] DMMGSolveSNES line 402 src/snes/utils/damgsnes.c >> [1]PETSC ERROR: [1] DMMGSolve line 250 src/snes/utils/damg.c >> [1]PETSC ERROR: --------------------- Error Message >> ------------------------------------ >> [1]PETSC ERROR: Signal received! >> [1]PETSC ERROR: >> ------------------------------------------------------------------------ >> [1]PETSC ERROR: Petsc Release Version 2.3.2, Patch 10, Wed Mar 28 19:13:22 >> CDT >> 2007 HG revision: d7298c71db7f5e767f359ae35d33cab3bed44428 >> [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: >> ------------------------------------------------------------------------ >> [1]PETSC ERROR: ./ex19 on a solaris2. named newjersey by root Wed May 16 >> 14:07:32 2007 >> [1]PETSC ERROR: Libraries linked from >> /work/adam/petsc/perf.mpi.suncc.blas.c/lib/solaris2.10-c-debug >> [1]PETSC ERROR: Configure run at Tue May 15 11:05:42 2007 >> [1]PETSC ERROR: Confign at Tue May 15 11:05:42 2007 >> [0]PETSC ERROR: Configure options --with-cc-cc >> --with-blas-lapack-lib=/opt/SUNWspro/lib/libsunperf.so --download-mpich=1 >> --with-fc=0 --with-shared=0 >> [0]PETSC ERROR: >> ------------------------------------------------------------------------ >> [0]PETSC ERROR: User provided function() line 0 in unknown directory unknown >> file >> ure options --with-cc-cc >> --with-blas-lapack-lib=/opt/SUNWspro/lib/libsunperf.so --download-mpich=1 >> --with-fc=0 --with-shared=0 >> [1]PETSC ERROR: >> ------------------------------------------------------------------------ >> [1]PETSC ERROR: User provided function() line 0 in unknown directory unknown >> file >> Possible error running Graphics examples src/snes/examples/tutorials/ex19 1 >> MPI process >> See http://www.mcs.anl.gov/petsc/petsc-as/documentation/troubleshooting.html >> [cli_0]: aborting job: >> application called MPI_Abort(MPI_COMM_WORLD, 59) - process 0 >> lid velocity = 0.0016, prandtl # = 1, grashof # = 1 >> [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/petsc-as/documentation/troubleshooting.html#Signal[0]PETSC >> ERROR: or try http://valgrind.org on linux or man libgmalloc on Apple 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] VecNorm_MPI line 57 src/vec/vec/impls/mpi/pvec2.c >> [0]PETSC ERROR: [0] VecNorm line 148 src/vec/vec/interface/rvector.c >> [0]PETSC ERROR: [0] SNESSolve line 1811 src/snes/interface/snes.c >> [0]PETSC ERROR: [0] DMMGSolveSNES line 402 src/snes/utils/damgsnes.c >> [0]PETSC ERROR: [0] DMMGSolve line 250 src/snes/utils/damg.c >> [0]PETSC ERROR: --------------------- Error Message >> ------------------------------------ >> [0]PETSC ERROR: Signal received! >> [0]PETSC ERROR: >> ------------------------------------------------------------------------ >> [0]PETSC ERROR: Petsc Release Version 2.3.2, Patch 10, Wed Mar 28 19:13:22 >> CDT >> 2007 HG revision: d7298c71db7f5e767f359ae35d33cab3bed44428 >> [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 solaris2. named newjersey by root Wed May 16 >> 14:07:34 2007 >> [0]PETSC ERROR: Libraries linked from >> /work/adam/petsc/perf.mpi.suncc.blas.c/lib/solaris2.10-c-debug >> [0]PETSC ERROR: Configure run at Tue May 15 11:05:42 2007 >> [0]PETSC ERROR: Configure options --with-cc-cc >> --with-blas-lapack-lib=/opt/SUNWspro/lib/libsunperf.so --download-mpich=1 >> --with-fc=0 --with-shared=0 >> [0]PETSC ERROR: >> ------------------------------------------------------------------------ >> [0]PETSC ERROR: User provided function() line 0 in unknown directory unknown >> file >> Completed test examples >> >> It looks like there is a fatal error in memory operations at the >> PetscFunctionBegin macro. >> >> Regards, >> Adam >> >> >> > >
