<div dir="ltr"><div>Hi All</div><div><br></div><div>I am having trouble getting petsc to build with cuda / superlu-dist enabled.  I have been trying to build it as part of another software tool, moose, hence the choice of options being passed to configure<br></div><div><br></div><div>python3 ./configure --download-hypre=1 \<br>--with-shared-libraries=1 \<br>--download-hdf5=1 \<br>--download-hdf5-fortran-bindings=0 \<br>--with-debugging=no \<br>--download-fblaslapack=1 \<br>--download-metis=1 \<br>--download-ptscotch=1 \<br>--download-parmetis=1 \<br>--download-superlu_dist=1 \<br>--download-mumps=1 \<br>--download-strumpack=1 \<br>--download-scalapack=1 \<br>--download-slepc=1 \<br>--with-mpi=1 \<br>--with-openmp=1 \<br>--with-cxx-dialect=C++11 \<br>--with-fortran-bindings=0 \<br>--with-sowing=0 \<br>--with-64-bit-indices \<br>--with-cuda \<br>--prefix=/home/blah/blah</div><div><br></div><div>it fails with <br></div><div><br></div><div>=============================================================================================                                                                                                             Installing PTScotch; this may take several minutes                                                                                                                                            =============================================================================================                                                                                                       =============================================================================================                                                                                                             Trying to download git://<a href="https://github.com/xiaoyeli/superlu_dist">https://github.com/xiaoyeli/superlu_dist</a> for SUPERLU_DIST                                                                                                            =============================================================================================                                                                                                       =============================================================================================                                                                                                             Configuring SUPERLU_DIST with cmake; this may take several minutes                                                                                                                            =============================================================================================                                                                                                       =============================================================================================                                                                                                             Compiling and installing SUPERLU_DIST; this may take several minutes                                                                                                                          =============================================================================================                                                                                                                             *******************************************************************************<br>         UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log for details):<br>-------------------------------------------------------------------------------<br>Error running make on  SUPERLU_DIST<br>*******************************************************************************</div><div><br></div><div>I've attached the configure.log.</div><div><br></div><div>I've tried a few different things but nothing that resulted in a successfull build.  The most promising was I tried to build superlu_dist separately with the configure options that petsc passes it and then kept trying the build over and over droping out different configure options until I got it to work.  In that case removing a "-std=c++14" entry appeared to fix the problem but then when I made the same change in how petsc builds superlu-dist the make failed on superlu-dist with a different error.  I get the feeling I'm dealing with symptoms of the problem rather than the cause.  <br></div><div><br></div><div>Thanks</div><div>Byron<br></div><div>           </div><div><br></div><div><br></div><div> <br></div></div>