Skip to content

Instantly share code, notes, and snippets.

@Alessandro-Barbieri
Created May 20, 2022 09:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Alessandro-Barbieri/abe090bc3b7760184fba1388374b6c3c to your computer and use it in GitHub Desktop.
Save Alessandro-Barbieri/abe090bc3b7760184fba1388374b6c3c to your computer and use it in GitHub Desktop.
* Package: sci-libs/mfem-4.4
* Repository: guru
* Maintainer: lssndrbarbieri@gmail.com
* Upstream: https://github.com/mfem/mfem/issues
* USE: abi_x86_64 amd64 benchmark codipack cpu_flags_x86_avx cpu_flags_x86_avx2 cpu_flags_x86_mmx cpu_flags_x86_mmxext cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_sse4_1 cpu_flags_x86_sse4_2 cpu_flags_x86_sse4a cpu_flags_x86_ssse3 elibc_glibc ginkgo kernel_linux lapack metis mpfr mpi mumps openmp petsc slepc sparse ssl sundials unwind userland_GNU zlib
* FEATURES: fakeroot network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox
>>> Unpacking source...
>>> Unpacking mfem-4.4.tar.gz to /var/tmp/portage/sci-libs/mfem-4.4/work
>>> Source unpacked in /var/tmp/portage/sci-libs/mfem-4.4/work
>>> Preparing source in /var/tmp/portage/sci-libs/mfem-4.4/work/mfem-4.4 ...
* Source directory (CMAKE_USE_DIR): "/var/tmp/portage/sci-libs/mfem-4.4/work/mfem-4.4"
* Build directory (BUILD_DIR): "/var/tmp/portage/sci-libs/mfem-4.4/work/mfem-4.4_build"
* Applying mfem-4.4-bump-cmake-version.patch ...
[ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sci-libs/mfem-4.4/work/mfem-4.4 ...
* Source directory (CMAKE_USE_DIR): "/var/tmp/portage/sci-libs/mfem-4.4/work/mfem-4.4"
* Build directory (BUILD_DIR): "/var/tmp/portage/sci-libs/mfem-4.4/work/mfem-4.4_build"
cmake -C /var/tmp/portage/sci-libs/mfem-4.4/work/mfem-4.4_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_SHARED_LIBS=ON -DMFEM_ENABLE_MINIAPPS=ON -DMFEM_USE_ADIOS2=NO -DMFEM_USE_AMGX=NO -DMFEM_USE_CALIPER=NO -DMFEM_USE_CEED=NO -DMFEM_USE_CONDUIT=NO -DMFEM_USE_CUDA=NO -DMFEM_USE_FMS=NO -DMFEM_USE_GSLIB=NO -DMFEM_USE_HIOP=NO -DMFEM_USE_MKL_CPARDISO=NO -DMFEM_USE_MOONOLITH=NO -DMFEM_USE_OCCA=NO -DMFEM_USE_PARELAG=NO -DMFEM_USE_PUMI=NO -DMFEM_USE_RAJA=NO -DMFEM_USE_SIDRE=NO -DMFEM_USE_STRUMPACK=NO -DMFEM_USE_SUPERLU=NO -DMFEM_USE_UMPIRE=NO -DMFEM_DEBUG=no -DMFEM_ENABLE_EXAMPLES=no -DMFEM_ENABLE_TESTING=no -DMFEM_THREAD_SAFE=no -DMFEM_USE_BENCHMARK=yes -DMFEM_USE_CODIPACK=yes -DMFEM_USE_EXCEPTIONS=no -DMFEM_USE_GINKGO=yes -DMFEM_USE_GNUTLS=yes -DMFEM_USE_HIP=no -DMFEM_USE_LAPACK=yes -DMFEM_USE_LIBUNWIND=yes -DMFEM_USE_METIS=yes -DMFEM_USE_MPFR=yes -DMFEM_USE_MPI=yes -DMFEM_USE_MUMPS=yes -DMFEM_USE_NETCDF=no -DMFEM_USE_OPENMP=yes -DMFEM_USE_PETSC=yes -DMFEM_USE_SLEPC=yes -DMFEM_USE_SUITESPARSE=yes -DMFEM_USE_ZLIB=yes -DCODIPACK_INCLUDE_DIRS=/usr/include/codi -DHYPRE_INCLUDE_DIRS=/usr/include/hypre -DPETSC_DIR=/usr/lib64/petsc -DPETSC_ARCH= -DMFEM_USE_SIMD=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/sci-libs/mfem-4.4/work/mfem-4.4_build/gentoo_toolchain.cmake /var/tmp/portage/sci-libs/mfem-4.4/work/mfem-4.4
loading initial cache file /var/tmp/portage/sci-libs/mfem-4.4/work/mfem-4.4_build/gentoo_common_config.cmake
-- (optional) USER_CONFIG = /var/tmp/portage/sci-libs/mfem-4.4/work/mfem-4.4/config/user.cmake
-- USE_XSDK_DEFAULTS = 'OFF'
-- The CXX compiler identification is GNU 11.2.1
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- The C compiler identification is GNU 11.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Found MPI_C: /usr/lib64/libmpi.so (found version "3.1")
-- Found MPI_CXX: /usr/lib64/libmpicxx.so (found version "3.1")
-- Found MPI: TRUE (found version "3.1")
-- Found HYPRE version 22100
-- petsc_lib_dir /usr/lib64/petsc/lib
-- Recognized PETSc install with single library for all packages
-- Performing Test MULTIPASS_TEST_1_petsc_works_minimal
-- Performing Test MULTIPASS_TEST_1_petsc_works_minimal - Success
-- Minimal PETSc includes and libraries work. This probably means we are building with shared libs.
-- Found PETSc: /usr/lib64/petsc/include;/usr/lib64/petsc/include
-- Found PETSc version 3.16.0p0
-- Looking for SLEPc ...
-- in SLEPC_DIR = /var/tmp/portage/sci-libs/mfem-4.4/work/mfem-4.4/../slepc
-- in ENV{SLEPC_DIR} = /usr/lib64/slepc
-- SLEPc: config:
-- SLEPc: looking for required package: PETSC
-- Performing Test SLEPC_VERSION_OK
-- Performing Test SLEPC_VERSION_OK - Success
-- Found SLEPc: /usr/lib64/slepc/lib/libslepc.so;/usr/lib64/petsc/lib/libpetsc.so
-- SLEPC_INCLUDE_DIRS=/usr/lib64/slepc/include;/usr/lib64/petsc/include
-- Found SLEPc version
-- Looking for METIS ...
-- in METIS_DIR = /var/tmp/portage/sci-libs/mfem-4.4/work/mfem-4.4/../metis-4.0
-- Performing Test METIS_VERSION_5
-- Performing Test METIS_VERSION_5 - Success
-- Found METIS: /usr/lib64/libmetis.so
-- METIS_INCLUDE_DIRS=/usr/include
-- Looking for pthread.h
CMake Warning (dev) at /usr/share/cmake/Modules/CheckIncludeFile.cmake:82 (message):
Policy CMP0075 is not set: Include file check macros honor
CMAKE_REQUIRED_LIBRARIES. Run "cmake --help-policy CMP0075" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.
CMAKE_REQUIRED_LIBRARIES is set to:
/usr/lib64/petsc/lib/libpetsc.so
For compatibility with CMake 3.11 and below this check is ignoring it.
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindThreads.cmake:146 (CHECK_INCLUDE_FILE)
/usr/lib64/cmake/Ginkgo/GinkgoConfig.cmake:190 (find_package)
CMakeLists.txt:236 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.12")
-- Looking for MFEMBacktrace ...
-- MFEMBacktrace: looking for required package: Libunwind
-- Looking for Libunwind ...
-- checking library: <standard c/c++>
-- checking library: unwind
-- Found Libunwind: unwind
-- MFEMBacktrace: looking for required package: LIBDL
-- Looking for LIBDL ...
-- checking library: <standard c/c++>
-- Found LIBDL: TRUE
-- MFEMBacktrace: looking for required package: CXXABIDemangle
-- Looking for CXXABIDemangle ...
-- checking library: <standard c/c++>
-- Found CXXABIDemangle: TRUE
-- Found MFEMBacktrace: unwind
-- Found PkgConfig: /usr/bin/x86_64-pc-linux-gnu-pkg-config (found version "1.8.0")
-- Checking for module 'blas'
-- Found blas, version 3.10.1
-- Checking for module 'lapack'
-- Found lapack, version 3.10.1
-- Found OpenMP_C: -fopenmp (found version "4.5")
-- Found OpenMP_CXX: -fopenmp (found version "4.5")
-- Found OpenMP: TRUE (found version "4.5")
-- Looking for SuiteSparse ...
-- in SuiteSparse_DIR = /var/tmp/portage/sci-libs/mfem-4.4/work/mfem-4.4/../SuiteSparse
-- SuiteSparse: UMFPACK: /usr/lib64/libumfpack.so
-- SuiteSparse: KLU: /usr/lib64/libklu.so
-- SuiteSparse: AMD: /usr/lib64/libamd.so
-- SuiteSparse: BTF: /usr/lib64/libbtf.so
-- SuiteSparse: CHOLMOD: /usr/lib64/libcholmod.so
-- SuiteSparse: COLAMD: /usr/lib64/libcolamd.so
-- SuiteSparse: CAMD: /usr/lib64/libcamd.so
-- SuiteSparse: CCOLAMD: /usr/lib64/libccolamd.so
-- SuiteSparse: config: /usr/lib64/libsuitesparseconfig.so
-- SuiteSparse: looking for required package: BLAS
-- SuiteSparse: looking for required package: METIS
-- Found SuiteSparse: /usr/lib64/libumfpack.so;/usr/lib64/libklu.so;/usr/lib64/libamd.so;/usr/lib64/libbtf.so;/usr/lib64/libcholmod.so;/usr/lib64/libcolamd.so;/usr/lib64/libcamd.so;/usr/lib64/libccolamd.so;/usr/lib64/libsuitesparseconfig.so;/usr/lib64/libblas.so;/usr/lib64/libmetis.so
-- SuiteSparse_INCLUDE_DIRS=/usr/include
-- *** Warning: using SuiteSparse with METIS v5!
-- Looking for MUMPS ...
-- in MUMPS_DIR = /var/tmp/portage/sci-libs/mfem-4.4/work/mfem-4.4/../MUMPS_5.2.0
-- MUMPS: mumps_common: /usr/lib64/libmumps_common.so
-- MUMPS: pord: /usr/lib64/libpord.so
-- MUMPS: looking for required package: MPI
-- MUMPS: looking for required package: BLAS
-- MUMPS: looking for required package: METIS
-- MUMPS: looking for required package: ScaLAPACK
-- Imported ScaLAPACK[NO_CONFIG]:
-- Found MUMPS: /usr/lib64/libdmumps.so;/usr/lib64/libmumps_common.so;/usr/lib64/libpord.so;/usr/lib64/libmpicxx.so;/usr/lib64/libmpi.so;/usr/lib64/libblas.so;/usr/lib64/libmetis.so
-- MUMPS_INCLUDE_DIRS=/usr/include
-- Looking for _GnuTLS ...
-- Found _GnuTLS: /usr/lib64/libgnutls.so
-- GNUTLS_INCLUDE_DIRS=/usr/include
-- Looking for MPFR ...
-- checking library: mpfr
-- Found MPFR: mpfr
-- Looking for Benchmark ...
-- in BENCHMARK_DIR = /var/tmp/portage/sci-libs/mfem-4.4/work/mfem-4.4/../google-benchmark
-- Found Benchmark: /usr/lib64/libbenchmark.so
-- BENCHMARK_INCLUDE_DIRS=/usr/include
-- Looking for POSIXClocks ...
-- checking library: <standard c/c++>
-- Found POSIXClocks: TRUE
-- MFEM: using package OPENMP
-- MFEM: using package HYPRE
-- MFEM: using package BLAS
-- MFEM: using package LAPACK
-- MFEM: using package METIS
-- MFEM: using package SuiteSparse
-- MFEM: using package PETSC
-- MFEM: using package SLEPC
-- MFEM: using package MUMPS
-- MFEM: using package Ginkgo
-- MFEM: using package GNUTLS
-- MFEM: using package MPFR
-- MFEM: using package POSIXCLOCKS
-- MFEM: using package MFEMBacktrace
-- MFEM: using package ZLIB
-- MFEM: using package CODIPACK
-- MFEM: using package BENCHMARK
-- MFEM: using package MPI_CXX
-- MFEM: using package OpenMP
-- MFEM build type: CMAKE_BUILD_TYPE = RelWithDebInfo
-- MFEM version: v4.4.0
-- MFEM git string: (unknown)
-- Writing substitute header --> "mfem.hpp"
-- Writing substitute header --> "mfem-performance.hpp"
-- performance_ex1: add flags "-march=native -Wall -pedantic"
-- performance_ex1p: add flags "-march=native -Wall -pedantic"
-- Found Doxygen: /usr/bin/doxygen (found version "1.9.4") found components: doxygen dot
-- CMAKE_INSTALL_PREFIX = /usr
-- <<< Gentoo configuration >>>
Build type RelWithDebInfo
Install path /usr
Compiler flags:
C -Os -pipe -march=native -frecord-gcc-switches
C++ -Os -pipe -march=native -frecord-gcc-switches -fopenmp
Linker flags:
Executable -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0
Module -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0
Shared -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
MFEM_USE_MOONOLITH
-- Build files have been written to: /var/tmp/portage/sci-libs/mfem-4.4/work/mfem-4.4_build
>>> Source configured.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment