<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi All, I keep running into this issue when trying to configure PETSc downloading HYPRE in Polaris.</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
My modules are:</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="line-height: normal; margin: 0px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
export <b>MPICH_GPU_SUPPORT_ENABLED</b>=1</div>
<div style="line-height: normal; margin: 0px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
module use /soft/modulefiles</div>
<div style="line-height: normal; margin: 0px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
module load spack-pe-base cmake</div>
<div style="line-height: normal; margin: 0px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
module unload darshan</div>
<div style="line-height: normal; margin: 0px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
module load cudatoolkit-standalone PrgEnv-gnu cray-libsci</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
and my configure line is:</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="line-height: normal; margin: 0px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
$./configure COPTFLAGS="-O2" CXXOPTFLAGS="-O2" FOPTFLAGS="-O2" FCOPTFLAGS="-O2" CUDAOPTFLAGS="-O2" --with-debugging=1 --download-suitesparse --download-hypre --with-cuda --with-cc=cc --with-cxx=CC --with-fc=ftn --with-cudac=nvcc --with-cuda-arch=80</div>
<div style="line-height: normal; margin: 0px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="line-height: normal; margin: 0px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
What I see in the configure phase is:</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
=============================================================================================</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
                         Configuring PETSc to compile on your system</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
=============================================================================================</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
=============================================================================================</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
           Trying to download <a href="https://urldefense.us/v3/__https://bitbucket.org/petsc/pkg-sowing.git__;!!G_uCfscf7eWS!cmVCEe9Yo9XY7yJT97YkbQmjoCgOuxhiJ2FQxtDUKX1EeWJlKWt0pLawxoHeUS0ZDgSfwCHAoJNUjc5uQW3gQdHH9OXszklO$">https://bitbucket.org/petsc/pkg-sowing.git</a> for SOWING</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
=============================================================================================</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
=============================================================================================</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
                  Running configure on SOWING; this may take several minutes</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
=============================================================================================</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
=============================================================================================</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
                    Running make on SOWING; this may take several minutes</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
=============================================================================================</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
=============================================================================================</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
                Running make install on SOWING; this may take several minutes</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
=============================================================================================</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
=============================================================================================</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
                 Running arch-polaris-dbg/bin/bfort to generate Fortran stubs</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
=============================================================================================</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
=============================================================================================</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
    Trying to download <a href="https://urldefense.us/v3/__https://github.com/DrTimothyAldenDavis/SuiteSparse__;!!G_uCfscf7eWS!cmVCEe9Yo9XY7yJT97YkbQmjoCgOuxhiJ2FQxtDUKX1EeWJlKWt0pLawxoHeUS0ZDgSfwCHAoJNUjc5uQW3gQdHH9Ho5-hpl$">https://github.com/DrTimothyAldenDavis/SuiteSparse</a> for SUITESPARSE</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
=============================================================================================</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
=============================================================================================</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
              Configuring SUITESPARSE with CMake; this may take several minutes</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
=============================================================================================</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
=============================================================================================</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
             Compiling and installing SUITESPARSE; this may take several minutes</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
=============================================================================================</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
=============================================================================================</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
              Trying to download <a href="https://urldefense.us/v3/__https://github.com/hypre-space/hypre__;!!G_uCfscf7eWS!cmVCEe9Yo9XY7yJT97YkbQmjoCgOuxhiJ2FQxtDUKX1EeWJlKWt0pLawxoHeUS0ZDgSfwCHAoJNUjc5uQW3gQdHH9JxTYrQ0$">https://github.com/hypre-space/hypre</a> for HYPRE</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
=============================================================================================</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
=============================================================================================</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
                  Running configure on HYPRE; this may take several minutes</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
=============================================================================================</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
=============================================================================================</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
                     Running make on HYPRE; this may take several minutes</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
=============================================================================================</div>
<div style="line-height: normal; margin: 0px; min-height: 20px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
*********************************************************************************************</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
           UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details):</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
---------------------------------------------------------------------------------------------</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
                          Error running make; make install on HYPRE</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
*********************************************************************************************</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
 the configure.log file ends with:</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
*********************************************************************************************</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
           UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details):</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
---------------------------------------------------------------------------------------------</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
                          Error running make; make install on HYPRE</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
*********************************************************************************************</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
  File "/home/mnv/Software/petsc/config/configure.py", line 462, in petsc_configure</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
    framework.configure(out = sys.stdout)</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
  File "/home/mnv/Software/petsc/config/BuildSystem/config/framework.py", line 1455, in configure</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
    self.processChildren()</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
  File "/home/mnv/Software/petsc/config/BuildSystem/config/framework.py", line 1443, in processChildren</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
    self.serialEvaluation(self.childGraph)</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
  File "/home/mnv/Software/petsc/config/BuildSystem/config/framework.py", line 1418, in serialEvaluation</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
    child.configure()</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
  File "/home/mnv/Software/petsc/config/BuildSystem/config/package.py", line 1354, in configure</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
    self.executeTest(self.configureLibrary)</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
  File "/home/mnv/Software/petsc/config/BuildSystem/config/base.py", line 138, in executeTest</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
    ret = test(*args,**kargs)</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
  File "/home/mnv/Software/petsc/config/BuildSystem/config/packages/hypre.py", line 199, in configureLibrary</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
    config.package.Package.configureLibrary(self)</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
  File "/home/mnv/Software/petsc/config/BuildSystem/config/package.py", line 1041, in configureLibrary</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
    for location, directory, lib, incl in self.generateGuesses():</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
  File "/home/mnv/Software/petsc/config/BuildSystem/config/package.py", line 609, in generateGuesses</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
    d = self.checkDownload()</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
  File "/home/mnv/Software/petsc/config/BuildSystem/config/package.py", line 743, in checkDownload</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
    return self.getInstallDir()</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
  File "/home/mnv/Software/petsc/config/BuildSystem/config/package.py", line 545, in getInstallDir</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
    installDir = self.Install()</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
  File "/home/mnv/Software/petsc/config/BuildSystem/config/package.py", line 1892, in Install</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
    raise RuntimeError('Error running make; make install on '+self.PACKAGE)</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
================================================================================</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
Finishing configure run at Fri, 09 Aug 2024 15:44:54 +0000</div>
<div style="line-height: normal; margin: 0px; font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
================================================================================</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Any help in debugging this is much appreciated. I can provide the whole configure.log file if needed.<br>
Thank you for your time,</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Marcos</div>
</body>
</html>