<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">Lisandro :</div><div class="gmail_quote">I fixed bug in branch hzhang/fix-ao2petscis:</div><div class="gmail_quote"><a href="https://bitbucket.org/petsc/petsc/commits/260dbea8cadd3eeca7e59945a235ff92ceae1333">https://bitbucket.org/petsc/petsc/commits/260dbea8cadd3eeca7e59945a235ff92ceae1333</a><br></div><div class="gmail_quote"><br></div><div class="gmail_quote">I tested "-iga_dof 3" as well.</div><div class="gmail_quote">Let me know if you still encounter problems, or have any comments on this fix.</div><div class="gmail_quote"><br></div><div class="gmail_quote">Hong</div><div class="gmail_quote"><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-">On 20 June 2017 at 01:46, Hong <<a href="mailto:hzhang@mcs.anl.gov">hzhang@mcs.anl.gov</a>> wrote:<br>
> Thanks for detailed instruction. I built PetIGA and reproduced error.<br>
><br>
> Did you permute IS used as input for MatCreateSubMatrix? ISGetMinMax() gives<br>
> incorrect output min and max, thus delegates to incorrect private<br>
> implementation routine.<br>
><br>
<br>
</span>I don't think so, but look at the implementations:<br>
<br>
<a href="https://github.com/dalcinl/PetIGA/blob/master/src/petigamat.c#L34" rel="noreferrer" target="_blank">https://github.com/dalcinl/<wbr>PetIGA/blob/master/src/<wbr>petigamat.c#L34</a><br>
<br>
The test fails for the case of bs=1 (default unless you pass let say<br>
"-iga_dof 3" for bs=3 in the command line), so...<br>
<br>
Maybe OApplicationToPetscIS() is not handling appropriately stride index sets?<br>
<div class="gmail-HOEnZb"><div class="gmail-h5"><br>
<br>
<br>
<br>
<br>
--<br>
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/" rel="noreferrer" 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" rel="noreferrer" target="_blank">http://www.kaust.edu.sa</a><br>
<br>
Office Phone: <a href="tel:%2B966%2012%20808-0459" value="+966128080459">+966 12 808-0459</a><br>
</div></div></blockquote></div><br></div></div>