<div dir="ltr"><div dir="ltr">On Wed, Jul 23, 2025 at 11:49 AM Blondel, Sophie via petsc-users <<a href="mailto:petsc-users@mcs.anl.gov">petsc-users@mcs.anl.gov</a>> wrote:</div><div class="gmail_quote gmail_quote_container"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="msg1568536367053691586">




<div dir="ltr">
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Hi,</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
I am trying to install PETSc (3.22.2) with Kokkos and cuda support on an Ubuntu laptop with dependencies loaded with Conda.</div></div></div></blockquote><div><br></div><div>You are likely to have to turn off Conda before configuring. It messes up paths for Python and other things.</div><div><br></div><div>  Thanks,</div><div><br></div><div>     Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="msg1568536367053691586"><div dir="ltr">
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
The configure line is: ./configure PETSC_DIR=/home/sophie/Workspace/xolotl-develop-source/external/petsc PETSC_ARCH=rel-cuda --prefix=/home/sophie/Workspace/xolotl-develop-cuda/external/petsc_install --with-fc=0 --with-cuda=1 --with-mpi --with-openmp=0 --with-debugging=0
 --with-shared-libraries --with-64-bit-indices --download-kokkos --download-kokkos-kernels --download-hdf5 --download-hdf5-configure-arguments=--enable-parallel --COPTFLAGS=-O3 --CXXOPTFLAGS=-O3 --with-cuda-arch=86 --CUDAOPTFLAGS=-O3</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
And the configure.log is attached. Let me know if I can provide additional information.</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Best,</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Sophie</div>
</div>

</div></blockquote></div><div><br clear="all"></div><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_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="https://urldefense.us/v3/__http://www.cse.buffalo.edu/*knepley/__;fg!!G_uCfscf7eWS!agMVStAAIH9wbZe0e-cFdZ4WjTbwZrweNZu7-go8ZAWNhd-pdXsjVKaHKw732n2ipdeGu6Ifzps6ZK7cVWbY$" target="_blank">https://www.cse.buffalo.edu/~knepley/</a><br></div></div></div></div></div></div></div></div>