[petsc-users] Issue configuring PETSc with HYPRE in Polaris

Vanella, Marcos (Fed) marcos.vanella at nist.gov
Fri Aug 9 12:17:10 CDT 2024


Hi All, I keep running into this issue when trying to configure PETSc downloading HYPRE in Polaris.
My modules are:

export MPICH_GPU_SUPPORT_ENABLED=1
module use /soft/modulefiles
module load spack-pe-base cmake
module unload darshan
module load cudatoolkit-standalone PrgEnv-gnu cray-libsci

and my configure line is:

$./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

What I see in the configure phase is:
=============================================================================================
                         Configuring PETSc to compile on your system
=============================================================================================
=============================================================================================
           Trying to download https://urldefense.us/v3/__https://bitbucket.org/petsc/pkg-sowing.git__;!!G_uCfscf7eWS!cmVCEe9Yo9XY7yJT97YkbQmjoCgOuxhiJ2FQxtDUKX1EeWJlKWt0pLawxoHeUS0ZDgSfwCHAoJNUjc5uQW3gQdHH9OXszklO$  for SOWING
=============================================================================================
=============================================================================================
                  Running configure on SOWING; this may take several minutes
=============================================================================================
=============================================================================================
                    Running make on SOWING; this may take several minutes
=============================================================================================
=============================================================================================
                Running make install on SOWING; this may take several minutes
=============================================================================================
=============================================================================================
                 Running arch-polaris-dbg/bin/bfort to generate Fortran stubs
=============================================================================================
=============================================================================================
    Trying to download https://urldefense.us/v3/__https://github.com/DrTimothyAldenDavis/SuiteSparse__;!!G_uCfscf7eWS!cmVCEe9Yo9XY7yJT97YkbQmjoCgOuxhiJ2FQxtDUKX1EeWJlKWt0pLawxoHeUS0ZDgSfwCHAoJNUjc5uQW3gQdHH9Ho5-hpl$  for SUITESPARSE
=============================================================================================
=============================================================================================
              Configuring SUITESPARSE with CMake; this may take several minutes
=============================================================================================
=============================================================================================
             Compiling and installing SUITESPARSE; this may take several minutes
=============================================================================================
=============================================================================================
              Trying to download https://urldefense.us/v3/__https://github.com/hypre-space/hypre__;!!G_uCfscf7eWS!cmVCEe9Yo9XY7yJT97YkbQmjoCgOuxhiJ2FQxtDUKX1EeWJlKWt0pLawxoHeUS0ZDgSfwCHAoJNUjc5uQW3gQdHH9JxTYrQ0$  for HYPRE
=============================================================================================
=============================================================================================
                  Running configure on HYPRE; this may take several minutes
=============================================================================================
=============================================================================================
                     Running make on HYPRE; this may take several minutes
=============================================================================================

*********************************************************************************************
           UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details):
---------------------------------------------------------------------------------------------
                          Error running make; make install on HYPRE
*********************************************************************************************

 the configure.log file ends with:

*********************************************************************************************
           UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details):
---------------------------------------------------------------------------------------------
                          Error running make; make install on HYPRE
*********************************************************************************************
  File "/home/mnv/Software/petsc/config/configure.py", line 462, in petsc_configure
    framework.configure(out = sys.stdout)
  File "/home/mnv/Software/petsc/config/BuildSystem/config/framework.py", line 1455, in configure
    self.processChildren()
  File "/home/mnv/Software/petsc/config/BuildSystem/config/framework.py", line 1443, in processChildren
    self.serialEvaluation(self.childGraph)
  File "/home/mnv/Software/petsc/config/BuildSystem/config/framework.py", line 1418, in serialEvaluation
    child.configure()
  File "/home/mnv/Software/petsc/config/BuildSystem/config/package.py", line 1354, in configure
    self.executeTest(self.configureLibrary)
  File "/home/mnv/Software/petsc/config/BuildSystem/config/base.py", line 138, in executeTest
    ret = test(*args,**kargs)
  File "/home/mnv/Software/petsc/config/BuildSystem/config/packages/hypre.py", line 199, in configureLibrary
    config.package.Package.configureLibrary(self)
  File "/home/mnv/Software/petsc/config/BuildSystem/config/package.py", line 1041, in configureLibrary
    for location, directory, lib, incl in self.generateGuesses():
  File "/home/mnv/Software/petsc/config/BuildSystem/config/package.py", line 609, in generateGuesses
    d = self.checkDownload()
  File "/home/mnv/Software/petsc/config/BuildSystem/config/package.py", line 743, in checkDownload
    return self.getInstallDir()
  File "/home/mnv/Software/petsc/config/BuildSystem/config/package.py", line 545, in getInstallDir
    installDir = self.Install()
  File "/home/mnv/Software/petsc/config/BuildSystem/config/package.py", line 1892, in Install
    raise RuntimeError('Error running make; make install on '+self.PACKAGE)
================================================================================
Finishing configure run at Fri, 09 Aug 2024 15:44:54 +0000
================================================================================

Any help in debugging this is much appreciated. I can provide the whole configure.log file if needed.
Thank you for your time,
Marcos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20240809/75bbe510/attachment-0001.html>


More information about the petsc-users mailing list