Error in LCD

Lisandro Dalcin dalcinl at gmail.com
Mon Oct 29 15:49:09 CDT 2007


Are you calling KSPSetUp() before calling KSPSolve() ?? That should
work, but I believe some KSP methods are going to have problem with
this.


On 10/29/07, Keita Teranishi <keita at cray.com> wrote:
> Hi,
> I am having a trouble with LCD in KSP module.  I got following error
> messages as I executed src/ksp/ksp/example/tutorials/ex10.
> There is no error message when running much simpler examples such as ex2.
>
>
>
> Regards,
>
>
>
> keita $ ex10 -f0 ./xerox2000c3.spd -f1 ./xerox2000c3.spd -ksp_type lcd
>
> [0]PETSC ERROR: --------------------- Error Message
> ------------------------------------
>
> [0]PETSC ERROR: Null argument, when expecting valid pointer!
>
> [0]PETSC ERROR: Null Object: Parameter # 1!
>
> [0]PETSC ERROR:
> ------------------------------------------------------------------------
>
> :
>
> :
>
> :
>
> :
>
> [0]PETSC ERROR:
> ------------------------------------------------------------------------
>
> [0]PETSC ERROR: VecDuplicateVecs() line 533 in
> src/vec/vec/interface/vector.c
>
> [0]PETSC ERROR: KSPSetUp_LCD() line 48 in src/ksp/ksp/impls/lcd/lcd.c
>
> [0]PETSC ERROR: KSPSetUp() line 198 in src/ksp/ksp/interface/itfunc.c
>
> [0]PETSC ERROR: main() line 293 in
> src/ksp/ksp/examples/tutorials/ex10.c
>
> [unset]: aborting job:
>
> application called MPI_Abort(MPI_COMM_WORLD, 85) - process 0
>
>
>
> ================================
>   Keita Teranishi
>   Math Software Group
>   Cray Inc.
>   keita at cray.com
>  ================================
>
>


-- 
Lisandro Dalcín
---------------
Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC)
Instituto de Desarrollo Tecnológico para la Industria Química (INTEC)
Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET)
PTLC - Güemes 3450, (3000) Santa Fe, Argentina
Tel/Fax: +54-(0)342-451.1594




More information about the petsc-users mailing list