Compile libMesh failed using HPC Cluster #21388
-
|
Dear MOOSE experts, Recently I wanted to link libmesh directly to moose, and completed the installation of PESTs according to HPC Cluster, the results are as follows, But when compiling libmesh, -- Done configuring core library features ---
---------------------------------------------
---------------------------------------------
----- Configuring for optional packages -----
---------------------------------------------
checking for built-in XDR support... yes
checking for boostlib >= 1.57.0... configure: We could not detect the boost libraries (version 1.57 or higher). If you have a staged boost library (still not installed) please specify $BOOST_ROOT in your environment and do not give a PATH to --with-boost option. If you are sure you have boost installed, then check your version number looking in <boost/version.hpp>. See http://randspringer.de/boost for more documentation.
<<< External boost installation *not* found... will try to configure for libmesh's internal boost >>>
checking for boostlib >= 1.57.0... yes
<<< Using libmesh-provided boost in ./contrib >>>
checking for boost::movelib::unique_ptr support... yes
note: Checking /lib and /include for MPI
note: Could not find /lib/libmpi(.a/.so/.dylib)
mpicxx -std=gnu++17 Compiler Supports MPI
<<< Found PETSc 3.16.5 installation in /home/pengwei/projects/libmesh/moose/petsc ... >>>
checking whether we can compile a trivial PETSc program... yes
checking for TAO support via PETSc... yes
configure: error: *** PETSc with Hypre was not found, but --enable-petsc-hypre-required was specified.
Running make -j 1...
make: *** No targets specified and no makefile found. Stop.
Any suggestions or recommendations to fix the problem would be greatly appreciated. Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 10 replies
-
|
MOOSE requires libMesh and PETSc. But also that PETSc to be built with HYPRE support ( cat moose/scripts/configure_petsc.sh
<trimmed>
python ./configure --download-hypre=1 \
--with-shared-libraries=$SHARED \
"$HDF5_STR" \
"$HDF5_FORTRAN_STR" \
"$MAKE_NP_STR" \
--with-debugging=no \
--download-fblaslapack=1 \
--download-metis=1 \
--download-ptscotch=1 \
--download-parmetis=1 \
--download-superlu_dist=1 \
--download-mumps=1 \
--download-strumpack=1 \
--download-scalapack=1 \
--download-slepc=1 \
--with-mpi=1 \
--with-openmp=1 \
--with-cxx-dialect=C++11 \
--with-fortran-bindings=0 \
--with-sowing=0 \
--with-64-bit-indices \
"$@" |
Beta Was this translation helpful? Give feedback.


MOOSE requires libMesh and PETSc. But also that PETSc to be built with HYPRE support (
--download-hypre=1during PETSc configure). You can see the options MOOSE requires or recommends in the moose/scripts/configure_petsc.sh script: