On Mon, Feb 27, 2023 at 8:41 AM Long, Jianbo wrote:
> Thanks for the explanations ! It turns out the issue of running
> sequentially compiled petsc is PetscFinalize() function. Since my
> subroutine involving petsc functions needs to be called multiple times in
> the program, I have to comment
Thanks for the explanations ! It turns out the issue of running
sequentially compiled petsc is PetscFinalize() function. Since my
subroutine involving petsc functions needs to be called multiple times in
the program, I have to comment out PetscFinalize() at the end of the
subroutine, otherwise at
On Sun, 26 Feb 2023, Pierre Jolivet wrote:
>
>
> > On 25 Feb 2023, at 11:44 PM, Long, Jianbo wrote:
> >
> > Hello,
> >
> > For some of my applications, I need to use petsc without mpi, or use it
> > sequentially. I wonder where I can find examples/tutorials for this ?
>
> You can run
> On 25 Feb 2023, at 11:44 PM, Long, Jianbo wrote:
>
> Hello,
>
> For some of my applications, I need to use petsc without mpi, or use it
> sequentially. I wonder where I can find examples/tutorials for this ?
You can run sequentially with just a single MPI process (-n 1).
If you need to
Hello,
For some of my applications, I need to use petsc without mpi, or use it
sequentially. I wonder where I can find examples/tutorials for this ?
Thanks very much,
Jianbo Long