users@mcs.anl.gov<mailto:petsc-users@mcs.anl.gov>
> Objet : Re: [petsc-users] When to perform PETSc.Vec assembly with petsc4py
> On Tue, Jul 15, 2025 at 8:13 AM SCOTTO Alexandre via petsc-users
> mailto:petsc-users@mcs.anl.gov>> wrote:
> Hello Jose,
>
> Thanks f
PETSc.Vec assembly with petsc4py
On Tue, Jul 15, 2025 at 8:13 AM SCOTTO Alexandre via petsc-users
mailto:petsc-users@mcs.anl.gov>> wrote:
Hello Jose,
Thanks for your answer. Then it seems that I have under the hood usages of
setValues() in my code since I do not explicitly make use of it but
call
x.setValues() under the hood.
Jose
> El 15 jul 2025, a las 12:02, SCOTTO Alexandre via petsc-users
> escribió:
>
> Dear PETSc community,
> As a beginner in the MPI world and with the PETSc library, I come with a
> possibly very naive question.
> I know from the documen
Dear PETSc community,
As a beginner in the MPI world and with the PETSc library, I come with a
possibly very naive question.
I know from the documentation that assembling vectors must be done, but it is
not clear to me when to perform this operation.
Is there a simple way to know when a vector n
e.sco...@irt-saintexupery.com>>
Cc : petsc-users@mcs.anl.gov<mailto:petsc-users@mcs.anl.gov>
Objet : Re: [petsc-users] Insertion mode for Scatter
On 13 Jun 2025, at 11:32 AM, SCOTTO Alexandre via petsc-users
mailto:petsc-users@mcs.anl.gov>> wrote:
Dear PETSc community,
I am currently
Dear PETSc community,
I am currently struggling with the ADD_VALUE mode of the Scatter object. Here
is a simple piece of (Python) code to illustrate the issue:
vec_1 = PETSc.Vec().createMPI(size=10)
vec_1.shift(2.0)
vec_2 = PETSc.Vec().createMPI(size=10)
vec_2.shift(1.0)
index_set = PETSc.IS()
Tue, Jun 10, 2025 at 5:30 AM SCOTTO Alexandre via petsc-users
mailto:petsc-users@mcs.anl.gov>> wrote:
Dear PETSc community,
I am using the PETSc API petsc4py and I am interested in profiling the number
of PETSc objects created during the run of my script.
I have used the -log_view option
Dear PETSc community,
I am using the PETSc API petsc4py and I am interested in profiling the number
of PETSc objects created during the run of my script.
I have used the -log_view option to get information on the run in a dedicated
file, and I got this (among other infirmation):
[cid:image001.