<div dir="ltr">Attached is the configure.log.<div><br></div><div>TK</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, 14 Nov 2021 at 16:24, Barry Smith <<a href="mailto:bsmith@petsc.dev">bsmith@petsc.dev</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 style="overflow-wrap: break-word;"><div><br></div>  You need to send configure.log to <a href="mailto:petsc-maint@mcs.anl.gov" target="_blank">petsc-maint@mcs.anl.gov</a> so we can see why the PETSc configure CUDA checks failed. Once we have that we can either make configure more robust for the type of system you are working on or tell you what to change to get the configure to complete. If at all possible please use the main git branch of PETSc when running configure while working with GPUs.<div><br></div><div>  Barry</div><div><br><div><br><blockquote type="cite"><div>On Nov 14, 2021, at 11:15 AM, Ted Kord <<a href="mailto:teddy.kord@gmail.com" target="_blank">teddy.kord@gmail.com</a>> wrote:</div><br><div><div dir="ltr">Dear all<div><br></div><div>I am trying to install PETSc with Kokkos and with the CUDA option but I keep getting the following error:<div><br></div><div>"UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log for details):<br>-------------------------------------------------------------------------------<br>Could not find a CUDA compiler. Please set with the option --with-cudac or -CUDAC and load the config.compilers module.<br><div>"</div><div>'nvcc' is on my path and works fine.</div><div><br></div><div>I have also tried specifying --with-cudac=/usr/local/cuda/bin/nvcc still with the same error.</div><div><br></div><div>This is my 'configure line:'</div><div><br></div><div>./configure --download-openmpi --download-kokkos-kernels --download-kokkos-kernels-shared=1 --download-kokkos --with-cuda=1 --with-cudac=/usr/local/cuda/bin/nvcc --with-cuda-dir=/usr/local/cuda --download-viennacl --download-fblaslapack --download-adios-shared=1 --download-hdf5 --download-hdf5-shared-libraries=1 --download-adolc --download-colpack --download-hypre --download-hypre-shared=1 --download-codipack --download-metis --download-slepc --download-libceed --download-eigen --download-parmetis --download-ptscotch --download-mumps --download-scalapack --download-hwloc --download-pastix --download-random123 --download-suitesparse --download-superlu --download-superlu-shared=1 --download-superlu_dist --download-superlu_dist-shared=1 --download-trilinos --download-trilinos-shared=1 --download-ml --download-ml-shared=1 --download-fftw --download-fftw-shared=1 --download-gsl --download-magma --download-radau5 --download-sundials2 --download-tchem<br></div><div><br></div><div><br></div><div>-- <br><div dir="ltr">Best regards,<div><br></div><div>Theodore</div><div><br></div></div></div></div></div></div>
</div></blockquote></div><br></div></div></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">Best regards,<div><br></div><div>Theodore</div><div><br></div></div>