I speedup (red curve,
>> right?), even decreasing if I use too many threads. I don't fully
>> understand the reasons given in the discussion you linked since this is all
>> very new to me, but I take that this is a problem with my computer which I
>> can't easily fix, right?
which I can't easily fix,
right?
- Message from Barry Smith -
Date: Thu, 11 Jan 2024 11:56:24 -0500
From: Barry Smith
Subject: Re: [petsc-users] Parallel processes run significantly slower
To: Steffen Wilksen | Universitaet Bremen
Cc: PETSc users list
can't easily fix, right?
>
>
> - Message from Barry Smith -
>Date: Thu, 11 Jan 2024 11:56:24 -0500
>From: Barry Smith
> Subject: Re: [petsc-users] Parallel processes run significantly slower
> To: Steffen Wilksen | Universitaet Bremen >
&g
-0500
From: Barry Smith
Subject: Re: [petsc-users] Parallel processes run significantly slower
To: Steffen Wilksen | Universitaet Bremen
Cc: PETSc users list
Take a look at the discussion
in https://petsc.gitlab.io/-/petsc/-/jobs/5814862879/artifacts/public/html/manual
Take a look at the discussion in
https://petsc.gitlab.io/-/petsc/-/jobs/5814862879/artifacts/public/html/manual/streams.html
and I suggest you run the streams benchmark from the branch
barry/2023-09-15/fix-log-pcmpi on your machine to get a baseline for what kind
of speedup you can expect.
You are creating the matrix on the wrong communicator if you want it
parallel. You are using PETSc.COMM_SELF
On Thu, Jan 11, 2024, 19:28 Steffen Wilksen | Universitaet Bremen <
swilk...@itp.uni-bremen.de> wrote:
> Hi all,
>
> I'm trying to do repeated matrix-vector-multiplication of large sparse
Hi all,
I'm trying to do repeated matrix-vector-multiplication of large sparse
matrices in python using petsc4py. Even the most simple method of
parallelization, dividing up the calculation to run on multiple
processes indenpendtly, does not seem to give a singnificant speed up
for large