[petsc-users] PETSc-GPU

2024-04-26 Thread Karthikeyan Chockalingam - STFC UKRI via petsc-users
Hello, When PETSc is installed with GPU support, will it run only on GPUs or can it be run on CPUs (without GPUs)? Currently, PETSc crashes when run on CPUs. Thank you. Best regards, Karthik. -- Karthik Chockalingam, Ph.D. Senior Research Software Engineer High Performance Systems Engineering

Re: [petsc-users] PETSc-GPU

2024-04-26 Thread Matthew Knepley
On Fri, Apr 26, 2024 at 7:23 AM Karthikeyan Chockalingam - STFC UKRI via petsc-users wrote: > Hello, When PETSc is installed with GPU support, will it run only on GPUs > or can it be run on CPUs (without GPUs)? Currently, PETSc crashes when run > on CPUs. Thank you. Best regards, Karthik. -- Kart

Re: [petsc-users] [petsc-maint] Inquiry about Multithreading Capabilities in PETSc's KSPSolver

2024-04-26 Thread Yongzhong Li
Hi Barry, Thanks, I am interested in this PCMPI solution provided by PETSc! I tried the src/ksp/ksp/tutorials/ex1.c which is configured in CMakelists as follows: ./configure PETSC_ARCH=config-debug --with-scalar-type=complex --with-fortran-kernels=1 --with-debugging=0 --with-logging=0 --with-c