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

Matthew Knepley knepley at gmail.com
Fri Aug 9 15:12:20 CDT 2024


As a start, please send configure.log

  Thanks,

    Matt

On Fri, Aug 9, 2024 at 1:17 PM Vanella, Marcos (Fed) via petsc-users <
petsc-users at mcs.anl.gov> wrote:

> 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!bC2nF0niuYrmvBqOKJhC2c7ynXepezhMCen7e9RqnIO_bj8qEvum1TAPesC1XjzU0AEgkVpR4B20xSeFpvUg$ 
> <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!bC2nF0niuYrmvBqOKJhC2c7ynXepezhMCen7e9RqnIO_bj8qEvum1TAPesC1XjzU0AEgkVpR4B20xQ43P-ld$ 
> <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!bC2nF0niuYrmvBqOKJhC2c7ynXepezhMCen7e9RqnIO_bj8qEvum1TAPesC1XjzU0AEgkVpR4B20xeK92H5d$ 
> <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
>


-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener

https://urldefense.us/v3/__https://www.cse.buffalo.edu/*knepley/__;fg!!G_uCfscf7eWS!bC2nF0niuYrmvBqOKJhC2c7ynXepezhMCen7e9RqnIO_bj8qEvum1TAPesC1XjzU0AEgkVpR4B20xdqmkbnf$  <https://urldefense.us/v3/__http://www.cse.buffalo.edu/*knepley/__;fg!!G_uCfscf7eWS!bC2nF0niuYrmvBqOKJhC2c7ynXepezhMCen7e9RqnIO_bj8qEvum1TAPesC1XjzU0AEgkVpR4B20xZJqvPeJ$ >
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20240809/9e29005e/attachment-0001.html>


More information about the petsc-users mailing list