<div dir="ltr">Jed,<div><br></div><div>thanks. It fixed my issue too.</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno mer 20 feb 2019 alle ore 09:33 Lisandro Dalcin <<a href="mailto:dalcinl@gmail.com">dalcinl@gmail.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">I tested your fix (on top of master) with my original PetIGA reproducer, and the issue seems to be fixed.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 20 Feb 2019 at 08:32, Jed Brown <<a href="mailto:jed@jedbrown.org" target="_blank">jed@jedbrown.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Yuck, bad bug.  I pushed a one-line fix to your branch.  Can you let me<br>
know if there are any outstanding issues?  If it solves the problem for<br>
you, I'll cherry-pick it to 'maint'.  Thanks.<br>
<br>
Stefano Zampini <<a href="mailto:stefano.zampini@gmail.com" target="_blank">stefano.zampini@gmail.com</a>> writes:<br>
<br>
> In the link I have sent you, ex29 was modified to invert the order of values set. There’s also a command line that shows the error<br>
><br>
> mpiexec -n 3 ./ex29 -n 4 -invert -bs 2<br>
><br>
><br>
> I have added the correct output, but if you run with bts you’ll see some of the entries are scrambled up.<br>
><br>
><br>
>> On Feb 20, 2019, at 1:27 AM, Jed Brown <<a href="mailto:jed@jedbrown.org" target="_blank">jed@jedbrown.org</a>> wrote:<br>
>> <br>
>> Is this what I'm supposed to see?  What should I be looking at?<br>
>> <br>
>> $ mpiexec.hydra -n 3 mpich-clang/tests/vec/vec/examples/tests/ex29 -n 126 -info | grep malloc<br>
>> [0] VecAssemblyBegin_MPI_BTS(): Stash has 252 entries, uses 2 mallocs.<br>
>> [0] VecAssemblyBegin_MPI_BTS(): Block-Stash has 0 entries, uses 0 mallocs.<br>
>> [0] VecAssemblyBegin_MPI_BTS(): Stash has 0 entries, uses 0 mallocs.<br>
>> [0] VecAssemblyBegin_MPI_BTS(): Block-Stash has 252 entries, uses 2 mallocs.<br>
>> <br>
>> $ mpiexec.hydra -n 3 mpich-clang/tests/vec/vec/examples/tests/ex29 -n 126 -vec_assembly_legacy -info | grep malloc<br>
>> [0] VecAssemblyBegin_MPI(): Stash has 252 entries, uses 2 mallocs.<br>
>> [0] VecAssemblyBegin_MPI(): Block-Stash has 0 entries, uses 0 mallocs.<br>
>> [0] VecAssemblyBegin_MPI(): Stash has 0 entries, uses 0 mallocs.<br>
>> [0] VecAssemblyBegin_MPI(): Block-Stash has 252 entries, uses 2 mallocs.<br>
>> <br>
>> Stefano Zampini <<a href="mailto:stefano.zampini@gmail.com" target="_blank">stefano.zampini@gmail.com</a>> writes:<br>
>> <br>
>>> Jed,<br>
>>> <br>
>>> I’m resurrecting this thread since I believe this bug has not yet been fixed.<br>
>>> I have spent a couple of hours today tracking down a bug in my code, that I finally confined to be related with VecSetValuesBlocked.<br>
>>> <br>
>>> I have pushed an example that shows the problem here <a href="https://bitbucket.org/petsc/petsc/commits/1cb7fb90b416ce1d4e4767a0d5a2ef5043656d53?at=stefano_zampini/feature-pcbddc-enablelor" rel="noreferrer" target="_blank">https://bitbucket.org/petsc/petsc/commits/1cb7fb90b416ce1d4e4767a0d5a2ef5043656d53?at=stefano_zampini/feature-pcbddc-enablelor</a> <<a href="https://bitbucket.org/petsc/petsc/commits/1cb7fb90b416ce1d4e4767a0d5a2ef5043656d53?at=stefano_zampini/feature-pcbddc-enablelor" rel="noreferrer" target="_blank">https://bitbucket.org/petsc/petsc/commits/1cb7fb90b416ce1d4e4767a0d5a2ef5043656d53?at=stefano_zampini/feature-pcbddc-enablelor</a>><br>
>>> <br>
>>> Could you please have a look?<br>
>>> <br>
>>> Thanks,<br>
>>> Stefano<br>
>>> <br>
>>>> On Apr 24, 2016, at 10:52 PM, Jed Brown <<a href="mailto:jed@jedbrown.org" target="_blank">jed@jedbrown.org</a>> wrote:<br>
>>>> <br>
>>>> Lisandro Dalcin <<a href="mailto:dalcinl@gmail.com" target="_blank">dalcinl@gmail.com</a>> writes:<br>
>>>> <br>
>>>>> Do you remember about this regression? My PetIGA tests are still<br>
>>>>> failing with petsc/master.<br>
>>>> <br>
>>>> Yes, I have most of a fix in a branch that I'm working to finish.<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail-m_-2796016912246713191gmail_signature">Lisandro Dalcin<br>============<br>Research Scientist<br>Computer, Electrical and Mathematical Sciences & Engineering (CEMSE)<br>Extreme Computing Research Center (ECRC)<br>King Abdullah University of Science and Technology (KAUST)<br><a href="http://ecrc.kaust.edu.sa/" target="_blank">http://ecrc.kaust.edu.sa/</a><br><br>4700 King Abdullah University of Science and Technology<br>al-Khawarizmi Bldg (Bldg 1), Office # 0109<br>Thuwal 23955-6900, Kingdom of Saudi Arabia<br><a href="http://www.kaust.edu.sa" target="_blank">http://www.kaust.edu.sa</a><br><br>Office Phone: +966 12 808-0459</div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">Stefano</div>