<div dir="ltr">Dear all,
<br>
<br>I just wanted to add what we found in case that it can help to solve 
this problem:
<br>
<br>* Examples ex2.c, ex11.c and ex32.c under src/ksp/ksp/tutorials all of 
them seg-fault with "-mat_type mpiaijcusparse" or "-vec_type mpicuda" 
with CUDA 9.2 and 10.2.
<br>   Examples ex2.c and ex32.c work fine if PETSc scalar type is set to 
real instead of complex. PETSc has been compiled with gcc-6.4.0
<br>
<br>* Here:
<br>  <a class="gmail-moz-txt-link-freetext" href="https://dynamite.readthedocs.io/en/latest/tips.html#gpu-support">https://dynamite.readthedocs.io/en/latest/tips.html#gpu-support</a>
<br>  it is mentioned that there is some problem for CUDA versions 8 and above.
<br>
<br>* It seems that the same problem was mentioned in this thread:
<br><a class="gmail-moz-txt-link-freetext" href="https://lists.mcs.anl.gov/mailman/htdig/petsc-users/2019-February/037748.html">https://lists.mcs.anl.gov/mailman/htdig/petsc-users/2019-February/037748.html</a>
<br>
<br>Please, let me know if you need any extra information.
<br>
<br>Thank you very much for your help.
<br>
<br>Best regards,
<br>
<br>Jorge<br></div>