Re: [petsc-users] On PCFIELDSPLIT and its implementation

2022-11-15 Thread Edoardo alinovi
Thanks, I'll do it then :) Il Mar 15 Nov 2022, 19:25 Jed Brown ha scritto: > You do if preconditioners (like AMG) will use it or if using functions > like MatSetValuesBlocked(). If you have uniform block structure, it doesn't > hurt. > > Edoardo alinovi writes: > > > Hi Guys, > > > > Very

Re: [petsc-users] [EXTERNAL] Re: Using multiple MPI ranks with COO interface crashes in some cases

2022-11-15 Thread Fackler, Philip via petsc-users
I built petsc with: $ ./configure PETSC_DIR=$PWD PETSC_ARCH=arch-kokkos-serial-debug --with-cc=mpicc --with-cxx=mpicxx --with-fc=0 --with-debugging=0 --prefix=$HOME/build/petsc/debug/install --with-64-bit-indices --with-shared-libraries --COPTFLAGS=-O3 --CXXOPTFLAGS=-O3 --download-kokkos

Re: [petsc-users] [EXTERNAL] Re: Using multiple MPI ranks with COO interface crashes in some cases

2022-11-15 Thread Mark Adams
Junchao, this is the same problem that I have been having right? On Tue, Nov 15, 2022 at 11:56 AM Fackler, Philip via petsc-users < petsc-users@mcs.anl.gov> wrote: > I built petsc with: > > $ ./configure PETSC_DIR=$PWD PETSC_ARCH=arch-kokkos-serial-debug > --with-cc=mpicc --with-cxx=mpicxx

Re: [petsc-users] [EXTERNAL] Re: Using multiple MPI ranks with COO interface crashes in some cases

2022-11-15 Thread Junchao Zhang
Mark, Do you have a reproducer using petsc examples? On Tue, Nov 15, 2022, 12:49 PM Mark Adams wrote: > Junchao, this is the same problem that I have been having right? > > On Tue, Nov 15, 2022 at 11:56 AM Fackler, Philip via petsc-users < > petsc-users@mcs.anl.gov> wrote: > >> I built petsc

Re: [petsc-users] [EXTERNAL] Re: Kokkos backend for Mat and Vec diverging when running on CUDA device.

2022-11-15 Thread Junchao Zhang
Can you paste -log_view result so I can see what functions are used? --Junchao Zhang On Tue, Nov 15, 2022 at 10:24 AM Fackler, Philip wrote: > Yes, most (but not all) of our system test cases fail with the kokkos/cuda > or cuda backends. All of them pass with the CPU-only kokkos backend. > >

Re: [petsc-users] On PCFIELDSPLIT and its implementation

2022-11-15 Thread Jed Brown
You do if preconditioners (like AMG) will use it or if using functions like MatSetValuesBlocked(). If you have uniform block structure, it doesn't hurt. Edoardo alinovi writes: > Hi Guys, > > Very quick one. Do I need to set the block size with MPIAIJ?

Re: [petsc-users] [EXTERNAL] Re: Kokkos backend for Mat and Vec diverging when running on CUDA device.

2022-11-15 Thread Fackler, Philip via petsc-users
Yes, most (but not all) of our system test cases fail with the kokkos/cuda or cuda backends. All of them pass with the CPU-only kokkos backend. Philip Fackler Research Software Engineer, Application Engineering Group Advanced Computing Systems Research Section Computer Science and Mathematics

Re: [petsc-users] On PCFIELDSPLIT and its implementation

2022-11-15 Thread Edoardo alinovi
Hi Guys, Very quick one. Do I need to set the block size with MPIAIJ?