[petsc-users] Problem in MPI execution

Matthew Knepley knepley at gmail.com
Wed Jan 30 09:24:56 CST 2019


On Wed, Jan 30, 2019 at 8:57 AM Fazlul Huq <huq2090 at gmail.com> wrote:

> Thanks Matt.
>
> Is there anyway to go over this problem?
> I need to run program with parallel Cholesky and ILU.
>

>From the link I sent you, you can try MUMPS and PasTiX for Cholesky.

   Matt


> Thanks.
> Sincerely,
> Huq
>
> On Wed, Jan 30, 2019 at 7:32 AM Matthew Knepley <knepley at gmail.com> wrote:
>
>> On Wed, Jan 30, 2019 at 8:25 AM Fazlul Huq via petsc-users <
>> petsc-users at mcs.anl.gov> wrote:
>>
>>> Hello PETSc Developers,
>>>
>>> I am trying to run my code with the following commands:
>>> $PETSC_DIR/$PETSC_ARCH/bin/mpiexec -n 6 ./poisson_m -n $x -pc_type hypre
>>> -pc_hypre_type boomeramg
>>> $PETSC_DIR/$PETSC_ARCH/bin/mpiexec -n 2 ./poisson_m -n $x -pc_type
>>> cholesky -log_view
>>> $PETSC_DIR/$PETSC_ARCH/bin/mpiexec -n 2 ./poisson_m -n $x -pc_type ilu
>>> -log_view
>>>
>>
>> We do not have parallel Cholesky or ILU by default. Here is the table of
>> solvers:
>> https://www.mcs.anl.gov/petsc/documentation/linearsolvertable.html
>>
>>   Matt
>>
>>
>>> It works with fine first case (-pc_type hypre -pc_hyper_type boomeramg)
>>> but for 2nd and 3rd case I got the following error message:
>>>
>>> Solving the problem...[0]PETSC ERROR: --------------------- Error
>>> Message --------------------------------------------------------------
>>> [0]PETSC ERROR: See
>>> http://www.mcs.anl.gov/petsc/documentation/linearsolvertable.html for
>>> possible LU and Cholesky solvers
>>> [0]PETSC ERROR: Could not locate a solver package. Perhaps you must
>>> ./configure with --download-<package>
>>> [0]PETSC ERROR: See http://www.mcs.anl.gov/petsc/documentation/faq.html
>>> for trouble shooting.
>>> [0]PETSC ERROR: Petsc Release Version 3.10.2, Oct, 09, 2018
>>> [0]PETSC ERROR: ./poisson_m on a arch-linux2-c-debug named
>>> huq2090-XPS-15-9570 by huq2090 Wed Jan 30 07:17:40 2019
>>> [0]PETSC ERROR: Configure options --with-debugging=no
>>> --with-64-bit-indices --download-hypre --download-mpich
>>> [0]PETSC ERROR: #1 MatGetFactor() line 4415 in
>>> /home/huq2090/petsc-3.10.2/src/mat/interface/matrix.c
>>> [0]PETSC ERROR: #2 PCSetUp_ILU() line 142 in
>>> /home/huq2090/petsc-3.10.2/src/ksp/pc/impls/factor/ilu/ilu.c
>>> [0]PETSC ERROR: #3 PCSetUp() line 932 in
>>> /home/huq2090/petsc-3.10.2/src/ksp/pc/interface/precon.c
>>> [0]PETSC ERROR: #4 KSPSetUp() line 391 in
>>> /home/huq2090/petsc-3.10.2/src/ksp/ksp/interface/itfunc.c
>>> [0]PETSC ERROR: #5 KSPSolve() line 723 in
>>> /home/huq2090/petsc-3.10.2/src/ksp/ksp/interface/itfunc.c
>>> [0]PETSC ERROR: #6 main() line 199 in
>>> /home/huq2090/petsc-3.10.2/problems/ksp/poisson_m.c
>>> [0]PETSC ERROR: PETSc Option Table entries:
>>> [0]PETSC ERROR: -log_view
>>> [0]PETSC ERROR: -n 9999999
>>> [0]PETSC ERROR: -pc_type ilu
>>> [0]PETSC ERROR: ----------------End of Error Message -------send entire
>>> error message to petsc-maint at mcs.anl.gov----------
>>> application called MPI_Abort(MPI_COMM_WORLD, 92) - process 0
>>>
>>>
>>> Any suggestion?
>>> Thanks.
>>> Sincerely,
>>> Huq
>>>
>>> --
>>>
>>> Fazlul Huq
>>> Graduate Research Assistant
>>> Department of Nuclear, Plasma & Radiological Engineering (NPRE)
>>> University of Illinois at Urbana-Champaign (UIUC)
>>> E-mail: huq2090 at gmail.com
>>>
>>
>>
>> --
>> What most experimenters take for granted before they begin their
>> experiments is infinitely more interesting than any results to which their
>> experiments lead.
>> -- Norbert Wiener
>>
>> https://www.cse.buffalo.edu/~knepley/
>> <http://www.cse.buffalo.edu/~knepley/>
>>
>
>
> --
>
> Fazlul Huq
> Graduate Research Assistant
> Department of Nuclear, Plasma & Radiological Engineering (NPRE)
> University of Illinois at Urbana-Champaign (UIUC)
> E-mail: huq2090 at gmail.com
>


-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener

https://www.cse.buffalo.edu/~knepley/ <http://www.cse.buffalo.edu/~knepley/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20190130/4ab2d893/attachment.html>


More information about the petsc-users mailing list