<div dir="ltr">Dear Matthew,<div><br></div><div>Please find attached configure.log</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jan 28, 2019 at 10:32 PM Matthew Knepley <<a href="mailto:knepley@gmail.com">knepley@gmail.com</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"><div dir="ltr">Send your configure.log<div><br></div><div> Thanks,</div><div><br></div><div> Matt</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail-m_-7189848758311082936gmail_attr">On Mon, Jan 28, 2019 at 2:05 PM Najeeb Ahmad via petsc-users <<a href="mailto:petsc-users@mcs.anl.gov" target="_blank">petsc-users@mcs.anl.gov</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"><div dir="ltr"><div dir="ltr"><div dir="ltr"><br clear="all"><div>Dear all,</div><div><br></div><div>I am trying to use PETSc with GPU. I have followed instructions laid down at <a href="https://www.mcs.anl.gov/petsc/features/gpus.html" target="_blank">https://www.mcs.anl.gov/petsc/features/gpus.html</a>. When I run my code, it doesn't recognize the mat_type MATSEQAIJCUSPARSE. Here is the log:</div><div><br></div><div><div>mpiexec -n 1 ./GMRES_PETSc -fin ../MM2PETScMatConverter/HV15R.bin -ksp_monitor -pc_type ilu -pc_factor_levels 0 -ksp_gmres_restart 200 -ksp_gmres_preallocate -vec_type VECSEQCUDA -mat_type MATSEQAIJCUSPARSE</div><div>Processes: 1</div><div>[0]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------</div><div>[0]PETSC ERROR: Unknown type. Check for miss-spelling or missing package: <a href="http://www.mcs.anl.gov/petsc/documentation/installation.html#external" target="_blank">http://www.mcs.anl.gov/petsc/documentation/installation.html#external</a></div><div>[0]PETSC ERROR: Unknown Mat type given: MATSEQAIJCUSPARSE</div><div>[0]PETSC ERROR: See <a href="http://www.mcs.anl.gov/petsc/documentation/faq.html" target="_blank">http://www.mcs.anl.gov/petsc/documentation/faq.html</a> for trouble shooting.</div><div>[0]PETSC ERROR: Petsc Development GIT revision: v3.10.3-1369-g58fe69bfc8 GIT Date: 2019-01-25 22:25:25 -0600</div><div>[0]PETSC ERROR: ./GMRES_PETSc on a arch-linux2-c-debug named ip-172-31-86-226 by ubuntu Mon Jan 28 18:10:34 2019</div><div>[0]PETSC ERROR: Configure options --with-cc=gcc --download-mpich --with-cuda=1 --with-cuda-dir=/usr/local/cuda-10.0/ --download-fblaslapack=1</div><div>[0]PETSC ERROR: #1 MatSetType() line 61 in /home/ubuntu/petsc/src/mat/interface/matreg.c</div><div>[0]PETSC ERROR: #2 MatSetFromOptions() line 230 in /home/ubuntu/petsc/src/mat/utils/gcreate.c</div><div>[0]PETSC ERROR: #3 main() line 48 in /home/ubuntu/koc-aramco/src_GPU/GMRES_PETSc/main.c</div><div>[0]PETSC ERROR: PETSc Option Table entries:</div><div>[0]PETSC ERROR: -fin ../MM2PETScMatConverter/HV15R.bin</div><div>[0]PETSC ERROR: -ksp_gmres_preallocate</div><div>[0]PETSC ERROR: -ksp_gmres_restart 200</div><div>[0]PETSC ERROR: -ksp_monitor</div><div>[0]PETSC ERROR: -mat_type MATSEQAIJCUSPARSE</div><div>[0]PETSC ERROR: -pc_factor_levels 0</div><div>[0]PETSC ERROR: -pc_type ilu</div><div>[0]PETSC ERROR: -vec_type VECSEQCUDA</div><div>[0]PETSC ERROR: ----------------End of Error Message -------send entire error message to petsc-maint@mcs.anl.gov----------</div><div>application called MPI_Abort(MPI_COMM_WORLD, 86) - process 0</div><div>[cli_0]: readline failed</div><div>[0]PETSC ERROR: ------------------------------------------------------------------------</div><div>[0]PETSC ERROR: Caught signal number 15 Terminate: Some process (or the batch system) has told this process to end</div><div>[0]PETSC ERROR: Try option -start_in_debugger or -on_error_attach_debugger</div><div>[0]PETSC ERROR: or see <a href="http://www.mcs.anl.gov/petsc/documentation/faq.html#valgrind" target="_blank">http://www.mcs.anl.gov/petsc/documentation/faq.html#valgrind</a></div><div>[0]PETSC ERROR: or try <a href="http://valgrind.org" target="_blank">http://valgrind.org</a> on GNU/linux and Apple Mac OS X to find memory corruption errors</div><div>[0]PETSC ERROR: likely location of problem given in stack below</div><div>[0]PETSC ERROR: --------------------- Stack Frames ------------------------------------</div><div>[0]PETSC ERROR: Note: The EXACT line numbers in the stack are not available,</div><div>[0]PETSC ERROR: INSTEAD the line number of the start of the function</div><div>[0]PETSC ERROR: is given.</div><div>[0]PETSC ERROR: [0] PetscError line 352 /home/ubuntu/petsc/src/sys/error/err.c</div><div>[0]PETSC ERROR: [0] MatSetType line 42 /home/ubuntu/petsc/src/mat/interface/matreg.c</div><div>[0]PETSC ERROR: [0] MatSetFromOptions line 214 /home/ubuntu/petsc/src/mat/utils/gcreate.c</div><div>[0]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------</div><div>[0]PETSC ERROR: Signal received</div><div>[0]PETSC ERROR: See <a href="http://www.mcs.anl.gov/petsc/documentation/faq.html" target="_blank">http://www.mcs.anl.gov/petsc/documentation/faq.html</a> for trouble shooting.</div><div>[0]PETSC ERROR: Petsc Development GIT revision: v3.10.3-1369-g58fe69bfc8 GIT Date: 2019-01-25 22:25:25 -0600</div><div>[0]PETSC ERROR: ./GMRES_PETSc on a arch-linux2-c-debug named ip-172-31-86-226 by ubuntu Mon Jan 28 18:10:34 2019</div><div>[0]PETSC ERROR: Configure options --with-cc=gcc --download-mpich --with-cuda=1 --with-cuda-dir=/usr/local/cuda-10.0/ --download-fblaslapack=1</div><div>[0]PETSC ERROR: #4 User provided function() line 0 in unknown file</div><div>application called MPI_Abort(MPI_COMM_WORLD, 59) - process 0</div><div>[0]PETSC ERROR: ------------------------------------------------------------------------</div><div>[0]PETSC ERROR: Caught signal number 13 Broken Pipe: Likely while reading or writing to a socket</div><div>[0]PETSC ERROR: Try option -start_in_debugger or -on_error_attach_debugger</div><div>[0]PETSC ERROR: or see <a href="http://www.mcs.anl.gov/petsc/documentation/faq.html#valgrind" target="_blank">http://www.mcs.anl.gov/petsc/documentation/faq.html#valgrind</a></div><div>[0]PETSC ERROR: or try <a href="http://valgrind.org" target="_blank">http://valgrind.org</a> on GNU/linux and Apple Mac OS X to find memory corruption errors</div><div>[0]PETSC ERROR: likely location of problem given in stack below</div><div>[0]PETSC ERROR: --------------------- Stack Frames ------------------------------------</div><div>[0]PETSC ERROR: Note: The EXACT line numbers in the stack are not available,</div><div>[0]PETSC ERROR: INSTEAD the line number of the start of the function</div><div>[0]PETSC ERROR: is given.</div><div>[0]PETSC ERROR: [0] PetscError line 352 /home/ubuntu/petsc/src/sys/error/err.c</div><div>[0]PETSC ERROR: [0] MatSetType line 42 /home/ubuntu/petsc/src/mat/interface/matreg.c</div><div>[0]PETSC ERROR: [0] MatSetFromOptions line 214 /home/ubuntu/petsc/src/mat/utils/gcreate.c</div><div>[0]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------</div><div>[0]PETSC ERROR: Signal received</div><div>[0]PETSC ERROR: See <a href="http://www.mcs.anl.gov/petsc/documentation/faq.html" target="_blank">http://www.mcs.anl.gov/petsc/documentation/faq.html</a> for trouble shooting.</div><div>[0]PETSC ERROR: Petsc Development GIT revision: v3.10.3-1369-g58fe69bfc8 GIT Date: 2019-01-25 22:25:25 -0600</div><div>[0]PETSC ERROR: ./GMRES_PETSc on a arch-linux2-c-debug named ip-172-31-86-226 by ubuntu Mon Jan 28 18:10:34 2019</div><div>[0]PETSC ERROR: Configure options --with-cc=gcc --download-mpich --with-cuda=1 --with-cuda-dir=/usr/local/cuda-10.0/ --download-fblaslapack=1</div><div>[0]PETSC ERROR: #5 User provided function() line 0 in unknown file</div><div>application called MPI_Abort(MPI_COMM_WORLD, 59) - process 0</div><div>[cli_0]: write_line error; fd=9 buf=:cmd=abort exitcode=59</div><div>:</div><div>system msg for write_line failure : Broken pipe</div></div><div><br></div><div><br></div><div>Any help will be greatly appreciated.</div><div><br></div><div>Regards,</div><div><br></div>-- <br><div dir="ltr" class="gmail-m_-7189848758311082936gmail-m_8569147814414831331gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div><div></div><font size="2"><b><span style="color:rgb(7,55,99)"><i>Najeeb Ahmad</i></span></b></font></div><div><font size="2"><b><font color="#073763"><i><br></i></font></b></font><div dir="ltr" style="font-size:small"><div><font size="2"><b><span style="color:rgb(120,63,4)">Research and Teaching Assistant</span><br></b></font></div><div><font size="2"><b><font color="#000000">PARallel and MultiCORE Computing Laboratory (ParCoreLab)</font><span style="color:rgb(120,63,4)"> </span></b></font></div><font size="2"><b>Computer Science and Engineering<br></b></font></div><div style="font-size:small"><font size="2"><b>Koç University, Istanbul, Turkey</b></font></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail-m_-7189848758311082936gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener</div><div><br></div><div><a href="http://www.cse.buffalo.edu/~knepley/" target="_blank">https://www.cse.buffalo.edu/~knepley/</a><br></div></div></div></div></div></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div><div></div><font size="2"><b><span style="color:rgb(7,55,99)"><i>Najeeb Ahmad</i></span></b></font></div><div><font size="2"><b><font color="#073763"><i><br></i></font></b></font><div dir="ltr" style="font-size:small"><div><font size="2"><b><span style="color:rgb(120,63,4)">Research and Teaching Assistant</span><br></b></font></div><div><font size="2"><b><font color="#000000">PARallel and MultiCORE Computing Laboratory (ParCoreLab)</font><span style="color:rgb(120,63,4)"> </span></b></font></div><font size="2"><b>Computer Science and Engineering<br></b></font></div><div style="font-size:small"><font size="2"><b>Koç University, Istanbul, Turkey</b></font></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>