[petsc-dev] Regression in Vec assembly

Jed Brown jed at jedbrown.org
Tue Feb 19 16:27:06 CST 2019


Is this what I'm supposed to see?  What should I be looking at?

$ mpiexec.hydra -n 3 mpich-clang/tests/vec/vec/examples/tests/ex29 -n 126 -info | grep malloc
[0] VecAssemblyBegin_MPI_BTS(): Stash has 252 entries, uses 2 mallocs.
[0] VecAssemblyBegin_MPI_BTS(): Block-Stash has 0 entries, uses 0 mallocs.
[0] VecAssemblyBegin_MPI_BTS(): Stash has 0 entries, uses 0 mallocs.
[0] VecAssemblyBegin_MPI_BTS(): Block-Stash has 252 entries, uses 2 mallocs.

$ mpiexec.hydra -n 3 mpich-clang/tests/vec/vec/examples/tests/ex29 -n 126 -vec_assembly_legacy -info | grep malloc
[0] VecAssemblyBegin_MPI(): Stash has 252 entries, uses 2 mallocs.
[0] VecAssemblyBegin_MPI(): Block-Stash has 0 entries, uses 0 mallocs.
[0] VecAssemblyBegin_MPI(): Stash has 0 entries, uses 0 mallocs.
[0] VecAssemblyBegin_MPI(): Block-Stash has 252 entries, uses 2 mallocs.

Stefano Zampini <stefano.zampini at gmail.com> writes:

> Jed,
>
> I’m resurrecting this thread since I believe this bug has not yet been fixed.
> I have spent a couple of hours today tracking down a bug in my code, that I finally confined to be related with VecSetValuesBlocked.
>
> I have pushed an example that shows the problem here https://bitbucket.org/petsc/petsc/commits/1cb7fb90b416ce1d4e4767a0d5a2ef5043656d53?at=stefano_zampini/feature-pcbddc-enablelor <https://bitbucket.org/petsc/petsc/commits/1cb7fb90b416ce1d4e4767a0d5a2ef5043656d53?at=stefano_zampini/feature-pcbddc-enablelor>
>
> Could you please have a look?
>
> Thanks,
> Stefano
>
>> On Apr 24, 2016, at 10:52 PM, Jed Brown <jed at jedbrown.org> wrote:
>> 
>> Lisandro Dalcin <dalcinl at gmail.com> writes:
>> 
>>> Do you remember about this regression? My PetIGA tests are still
>>> failing with petsc/master.
>> 
>> Yes, I have most of a fix in a branch that I'm working to finish.


More information about the petsc-dev mailing list