[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: EXTERNAL: Re: Problems using external packages Spooles and Hy pre with PETSc v2. 3.1






Hi

Your example runs OK, as do some of my other problems. But with some
problems
PETSc v2.3.1 fails while PETSc v2.3.0 works. I have attached the output from
both PETSc versions for one of these problems. If you are interested,
perhaps
we could make arrangements for me sending you one of these problems.

Regards

Stephen




-----Original Message-----
From: Hong Zhang [mailto:hzhang@xxxxxxxxxxx] 
Sent: 02 June 2006 14:47
To: petsc-users@xxxxxxxxxxx
Subject: EXTERNAL: Re: Problems using external packages Spooles and Hypre
with PETSc v2. 3.1 


Stephen,

>
> I am using Spooles downloaded from the PETSc ftp site and built into 
> PETSC_DIR/externalpackages. When solving a partcular problem I am 
> getting the error:
>
> MatFactorNumeric_MPIAIJSpooles line 199 
> src/mat/impls/aij/mpi/spooles/mpispooles.c
> MatLUFactorNumeric line 2200 src/mat/interface/matix.c KSPSetUp line 
> 183 src/ksp/ksp/interface/itfunc.c KSPSolve line 305 
> src/ksp/ksp/interface/itfunc.c

May I have the complete error message after the crash?
Can you run
~petsc/src/ksp/ksp/examples/tutorials/ex5.c
with the cmd:

mpirun -np 2 ./ex5 -ksp_type preonly -pc_type lu -mat_type aijspooles?

Hong

>
> The problem also occurs in serial.
>
> I am using Hypre v1.10.0b downloaded from the LLNL site and built 
> separatly to PETSc. When I have been using Pilut and Parasails as 
> either global problem preconditioners of as sub preconditioners for 
> ASM or BJACOBI, I have been getting errors indicating that there could 
> be a memory access out of range. I suspect that there may be a memory 
> overwrite or mismatch occuring somewhere. Note that BOOMERAMG and 
> EUCLID seem to work OK. Again these problems were not apparent when I 
> was using PETSc v2.3.0.
>
> Have there been any significant changes in the PETSc source that 
> handles Spooles and Hypre between versions 2.3.0 and 2.3.1 that could 
> be causing these problems? I don't really want to go back to using 
> PETSc v2.3.0 if I can help it. I don't know if it makes any 
> difference, but I am using the Fortran interface to PETSc.
>
> Hope you can help.
>
> Regards
>
> Stephen R. Ball
> -- 
> ______________________________________________________________________
> _________
>
> The information in this email and in any attachment(s) is commercial 
> in confidence. If you are not the named addressee(s) or if you receive 
> this email in error then any distribution, copying or use of this 
> communication or the information in it is strictly prohibited.  Please 
> notify us immediately by email at admin.internet(at)awe.co.uk, and 
> then delete this message from your computer.  While attachments are 
> virus checked, AWE plc does not accept any liability in respect of any 
> virus which is not detected.
>
> AWE Plc
> Registered in England and Wales
> Registration No 02763902
> AWE, Aldermaston, Reading, RG7 4PR
>
>


--
_______________________________________________________________________________

The information in this email and in any attachment(s) is commercial in confidence. If you are not the named addressee(s) or if you receive this email in error then any distribution, copying or use of this communication or the information in it is strictly prohibited.  Please notify us immediately by email at admin.internet(at)awe.co.uk, and then delete this message from your computer.  While attachments are virus checked, AWE plc does not accept any liability in respect of any virus which is not detected.

AWE Plc
Registered in England and Wales
Registration No 02763902
AWE, Aldermaston, Reading, RG7 4PR
KSP Object:
  type: preonly
  maximum iterations=10000, initial guess is zero
  tolerances:  relative=1e-05, absolute=1e-50, divergence=10000
  left preconditioning
PC Object:
  type: lu
    LU: out-of-place factorization
      matrix ordering: natural
    LU: tolerance for zero pivot 1e-12
      LU nonzeros 0
    Spooles run parameters:
      symmetryflag:    SPOOLES_NONSYMMETRIC
      pivotingflag:   SPOOLES_PIVOTING
      tau:            100 
      seed:           10101 
      msglvl:         0 
      ordering:       BestOfNDandMS
      maxdomainsize:  500 
      maxzeros:       1000 
      maxsize:        96 
      FrontMtxInfo:   0 
  linear system matrix = precond matrix:
  Matrix Object:
    type=aijspooles, rows=94800, cols=94800
    total: nonzeros=472768, allocated nonzeros=663600
      not using I-node (on process 0) routines

------------------------------------------------------------------------
Petsc Release Version 2.3.1, Patch 9, Tue Feb 28 15:25:35 CST 2006
BK revision: balay@xxxxxxxxxxxxxxxxxxx|ChangeSet|20060228212501|08486
See docs/changes/index.html for recent updates.
See docs/faq.html for hints about trouble shooting.
See docs/index.html for manual pages.
------------------------------------------------------------------------
/mnt/<usid>/PETSc/PETSc_dev/v2.3.1/intel/./PETSc_test_v231 on a linux-dbg named galaxy2 by <usid> Fri Jun  2 16:46:44 2006
Libraries linked from /prod/share/pts/PETSc/parallel/intel8.0/petsc-2.3.1/lib/linux-dbg
Configure run at Tue May 30 12:54:20 2006
Configure options --CFLAGS=-w --FFLAGS="-w90 -w" --COPTFLAGS=-g --FOPTFLAGS=-g --with-gnu-compilers=0 --with-vendor-compilers=0 --with-x=0 --with-mpi-dir=/usr/local/mpi/mpich-125-gm-intel8.0 --with-blas-lapack-lib="-L/usr/local/mkl/lib/32 -lmkl_lapack -lmkl_ia32 -lguide -lpthread" --with-lgrind=0 --with-hypre-dir=/prod/share/pts/Hypre/intel8.0/hypre-1.10.0b/src/hypre --download-spooles=yes --with-dynamic=0 --with-shared=0 --with-debugging=1 -PETSC_ARCH=linux-dbg --useThreads=0
------------------------------------------------------------------------
[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 try http://valgrind.org on linux 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] MatFactorNumeric_MPIAIJSpooles line 199 src/mat/impls/aij/mpi/spooles/mpispooles.c
[1]PETSC ERROR: [1] MatLUFactorNumeric line 2200 src/mat/interface/matrix.c
[1]PETSC ERROR: [1] KSPSetUp line 183 src/ksp/ksp/interface/itfunc.c
[1]PETSC ERROR: [1] KSPSolve line 305 src/ksp/ksp/interface/itfunc.c
[1]PETSC ERROR: --------------------------------------------
[1]PETSC ERROR: User provided function() line 0 in unknown directory unknown file
[1]PETSC ERROR: Signal received!
[1]PETSC ERROR:  !
------------------------------------------------------------------------
Petsc Release Version 2.3.1, Patch 9, Tue Feb 28 15:25:35 CST 2006
BK revision: balay@xxxxxxxxxxxxxxxxxxx|ChangeSet|20060228212501|08486
See docs/changes/index.html for recent updates.
See docs/faq.html for hints about trouble shooting.
See docs/index.html for manual pages.
------------------------------------------------------------------------
/mnt/<usid>/PETSc/PETSc_dev/v2.3.1/intel/./PETSc_test_v231 on a linux-dbg named galaxy2 by <usid> Fri Jun  2 16:46:44 2006
Libraries linked from /prod/share/pts/PETSc/parallel/intel8.0/petsc-2.3.1/lib/linux-dbg
Configure run at Tue May 30 12:54:20 2006
Configure options --CFLAGS=-w --FFLAGS="-w90 -w" --COPTFLAGS=-g --FOPTFLAGS=-g --with-gnu-compilers=0 --with-vendor-compilers=0 --with-x=0 --with-mpi-dir=/usr/local/mpi/mpich-125-gm-intel8.0 --with-blas-lapack-lib="-L/usr/local/mkl/lib/32 -lmkl_lapack -lmkl_ia32 -lguide -lpthread" --with-lgrind=0 --with-hypre-dir=/prod/share/pts/Hypre/intel8.0/hypre-1.10.0b/src/hypre --download-spooles=yes --with-dynamic=0 --with-shared=0 --with-debugging=1 -PETSC_ARCH=linux-dbg --useThreads=0
------------------------------------------------------------------------
[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 try http://valgrind.org on linux 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] MatFactorNumeric_MPIAIJSpooles line 199 src/mat/impls/aij/mpi/spooles/mpispooles.c
[0]PETSC ERROR: [0] MatLUFactorNumeric line 2200 src/mat/interface/matrix.c
[0]PETSC ERROR: [0] KSPSetUp line 183 src/ksp/ksp/interface/itfunc.c
[0]PETSC ERROR: [0] KSPSolve line 305 src/ksp/ksp/interface/itfunc.c
[0]PETSC ERROR: --------------------------------------------
[0]PETSC ERROR: User provided function() line 0 in unknown directory unknown file
[0]PETSC ERROR: Signal received!
[0]PETSC ERROR:  !