[dune-fem] Installing dune-fem on Mac with M2 processor
Jesus Vellojin
jesusvellojin at gmail.com
Mon Sep 11 00:31:03 CEST 2023
Dear Dune fem developers/users,
I am trying to install Dune-Fem and all of its dependencies in a docker container using the pip module. However, the installer throws an error when installing the Alugrid module. It is a pretty long verbose cmake error, but I put some of it below.
I have tried several Ubuntu versions for the container with no luck. Similar approach is working in all my x86 machines. I have no idea what is failing with respect to the Alugrid module. Or maybe there is an extra step for ARM64 arch that has to be taken into account?.
Thanks in advance for any help!
Building wheel for dune-alugrid (PEP 517) ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 /tmp/tmpar7i7mgr build_wheel /tmp/tmp9pd4bsfn
cwd: /tmp/pip-install-0cmwx278/dune-alugrid
Complete output (318 lines):
--------------------------------------------------------------------------------
-- Trying 'Ninja' generator
--------------------------------
---------------------------
----------------------
-----------------
------------
-------
--
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
Not searching for unused variables given on the command line.
-- The C compiler identification is GNU 9.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- The CXX compiler identification is GNU 9.4.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done (0.2s)
-- Generating done (0.0s)
-- Build files have been written to: /tmp/pip-install-0cmwx278/dune-alugrid/_cmake_test_compile/build
--
-------
------------
-----------------
----------------------
---------------------------
--------------------------------
-- Trying 'Ninja' generator - success
--------------------------------------------------------------------------------
Configuring Project
Working directory:
/tmp/pip-install-0cmwx278/dune-alugrid/_skbuild/linux-aarch64-3.8/cmake-build
Command:
/tmp/pip-build-env-vto25yjl/overlay/lib/python3.8/site-packages/cmake/data/bin/cmake /tmp/pip-install-0cmwx278/dune-alugrid -G Ninja -DCMAKE_MAKE_PROGRAM:FILEPATH=/tmp/pip-build-env-vto25yjl/overlay/lib/python3.8/site-packages/ninja/data/bin/ninja --no-warn-unused-cli -DCMAKE_INSTALL_PREFIX:PATH=/tmp/pip-install-0cmwx278/dune-alugrid/_skbuild/linux-aarch64-3.8/cmake-install -DPYTHON_VERSION_STRING:STRING=3.8.10 -DSKBUILD:INTERNAL=TRUE -DCMAKE_MODULE_PATH:PATH=/tmp/pip-build-env-vto25yjl/overlay/lib/python3.8/site-packages/skbuild/resources/cmake -DPYTHON_EXECUTABLE:PATH=/usr/bin/python3 -DPYTHON_INCLUDE_DIR:PATH=/usr/include/python3.8 -DPYTHON_LIBRARY:PATH=/usr/lib/aarch64-linux-gnu/libpython3.8.so -DPython_EXECUTABLE:PATH=/usr/bin/python3 -DPython_ROOT_DIR:PATH=/usr -DPython_FIND_REGISTRY:STRING=NEVER -DPython_INCLUDE_DIR:PATH=/usr/include/python3.8 -DPython_NumPy_INCLUDE_DIRS:PATH=/tmp/pip-build-env-vto25yjl/overlay/lib/python3.8/site-packages/numpy/core/include -DPython3_EXECUTABLE:PATH=/usr/bin/python3 -DPython3_ROOT_DIR:PATH=/usr -DPython3_FIND_REGISTRY:STRING=NEVER -DPython3_INCLUDE_DIR:PATH=/usr/include/python3.8 -DPython3_NumPy_INCLUDE_DIRS:PATH=/tmp/pip-build-env-vto25yjl/overlay/lib/python3.8/site-packages/numpy/core/include -DCMAKE_MAKE_PROGRAM:FILEPATH=/tmp/pip-build-env-vto25yjl/overlay/lib/python3.8/site-packages/ninja/data/bin/ninja '-DCMAKE_CXX_FLAGS=-O3 -DNDEBUG' -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=TRUE -DDUNE_ENABLE_PYTHONBINDINGS=TRUE -DALLOW_CXXFLAGS_OVERWRITE=ON -DCMAKE_DISABLE_FIND_PACKAGE_LATEX=TRUE -DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=TRUE -DINKSCAPE=FALSE -DCMAKE_BUILD_TYPE:STRING=Release
Not searching for unused variables given on the command line.
-- The C compiler identification is GNU 9.4.0
-- The CXX compiler identification is GNU 9.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Dependencies for dune-alugrid: dune-grid (>= 2.9)
-- Dependencies for dune-grid: dune-geometry (>= 2.9)
-- Suggestions for dune-grid: dune-uggrid (>=2.9)
-- Dependencies for dune-geometry: dune-common (>= 2.9)
-- Could NOT find dune-uggrid (missing: dune-uggrid_DIR)
-- No full CMake package configuration support available. Falling back to pkg-config.
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Checking for module 'dune-uggrid>=2.9'
-- No package 'dune-uggrid' found
-- Performing Test cxx_std_flag_17
-- Performing Test cxx_std_flag_17 - Success
-- Performing Test compiler_supports_cxx17
-- Performing Test compiler_supports_cxx17 - Success
-- Looking for std::experimental::make_array<int,int>
-- Looking for std::experimental::make_array<int,int> - found
-- Looking for std::move<std::experimental::detected_t<std::decay_t,int>>
-- Looking for std::move<std::experimental::detected_t<std::decay_t,int>> - found
-- Looking for std::identity
-- Looking for std::identity - not found
-- Performing Test DUNE_HAVE_CXX_UNEVALUATED_CONTEXT_LAMBDA
-- Performing Test DUNE_HAVE_CXX_UNEVALUATED_CONTEXT_LAMBDA - Failed
-- Could NOT find LatexMk (missing: LATEXMK_EXECUTABLE)
-- Could NOT find Sphinx (missing: SPHINX_EXECUTABLE)
-- Performing tests for dune-common (from /tmp/pip-build-env-vto25yjl/overlay/share/dune/cmake/modules/DuneCommonMacros.cmake)
-- Set Minimal Debug Level to 4
-- Looking for sgemm_
-- Looking for sgemm_ - not found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Found Threads: TRUE
-- Looking for sgemm_
-- Looking for sgemm_ - found
-- Found BLAS: /usr/lib/aarch64-linux-gnu/libblas.so
-- Looking for cheev_
-- Looking for cheev_ - not found
-- Looking for cheev_
-- Looking for cheev_ - found
-- Found LAPACK: /usr/lib/aarch64-linux-gnu/liblapack.so;/usr/lib/aarch64-linux-gnu/libblas.so
-- Looking for dsyev_
-- Looking for dsyev_ - found
-- Could NOT find GMP (missing: GMPXX_LIB GMPXX_INCLUDE_DIR GMP_INCLUDE_DIR GMP_LIB)
-- Performing Test QuadMath_COMPILES
-- Performing Test QuadMath_COMPILES - Failed
-- Could NOT find QuadMath (missing: QuadMath_VAR QuadMath_COMPILES)
-- Found MPI_C: /usr/lib/aarch64-linux-gnu/openmpi/lib/libmpi.so (found suitable version "3.1", minimum required is "3.0")
-- Found MPI: TRUE (found suitable version "3.1", minimum required is "3.0") found components: C
-- Could NOT find TBB (set TBB_DIR to path containing TBBConfig.cmake or set PKG_CONFIG_PATH to include the location of the tbb.pc file) (missing: PkgConfigTBB_LINK_LIBRARIES PkgConfigTBB_FOUND) (found version "")
-- Could NOT find PTScotch (missing: SCOTCH_LIBRARY SCOTCHERR_LIBRARY SCOTCH_INCLUDE_DIR)
-- Could NOT find METIS (missing: METIS_LIBRARY METIS_INCLUDE_DIR METIS_API_VERSION)
-- Could NOT find METIS (missing: METIS_LIBRARY METIS_INCLUDE_DIR METIS_API_VERSION)
-- Found MPI_C: /usr/lib/aarch64-linux-gnu/openmpi/lib/libmpi.so (found version "3.1")
-- Found MPI: TRUE (found version "3.1") found components: C
-- Could NOT find ParMETIS (missing: PARMETIS_LIBRARY PARMETIS_INCLUDE_DIR METIS_FOUND) (Required is at least version "4.0")
-- Could NOT find Vc (missing: Vc_DIR)
-- Found Python3: /usr/bin/python3 (found version "3.8.10") found components: Interpreter Development Development.Module Development.Embed
-- Found pip_/usr/bin/python3: TRUE
-- Failed to find the python package virtualenv with interpreter /usr/bin/python3. (missing: DUNE_PYTHON_virtualenv_FOUND)
/tmp/pip-build-env-vto25yjl/overlay/share/dune/cmake/scripts/pyversion.py:32: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources
-- Found venv_/usr/bin/python3: TRUE
-- Building a virtualenv in /tmp/pip-install-0cmwx278/dune-alugrid/_skbuild/linux-aarch64-3.8/cmake-build/dune-env
CMake Warning at /tmp/pip-build-env-vto25yjl/overlay/share/dune/cmake/modules/DunePythonVirtualenv.cmake:192 (message):
Failed to build a virtual env with pip installed, trying again without pip.
If you are using Debian or Ubuntu, consider installing python3-venv and/or
python-virtualenv
Call Stack (most recent call first):
/tmp/pip-build-env-vto25yjl/overlay/share/dune/cmake/modules/DunePythonCommonMacros.cmake:126 (include)
/tmp/pip-build-env-vto25yjl/overlay/share/dune/cmake/modules/DuneCommonMacros.cmake:54 (include)
/tmp/pip-build-env-vto25yjl/overlay/share/dune/cmake/modules/DuneModuleDependencies.cmake:112 (include)
/tmp/pip-build-env-vto25yjl/overlay/share/dune/cmake/modules/DuneProject.cmake:123 (dune_process_dependency_macros)
CMakeLists.txt:45 (dune_project)
-- Found pip_/tmp/pip-install-0cmwx278/dune-alugrid/_skbuild/linux-aarch64-3.8/cmake-build/dune-env/bin/python: TRUE
-- Setting dune-common_INCLUDE_DIRS=/tmp/pip-build-env-vto25yjl/overlay/include
-- Setting dune-common_LIBRARIES=dunecommon
-- Setting dune-geometry_INCLUDE_DIRS=/tmp/pip-build-env-vto25yjl/overlay/include
-- Setting dune-geometry_LIBRARIES=dunegeometry
-- Performing tests for dune-grid (from /tmp/pip-build-env-vto25yjl/overlay/share/dune/cmake/modules/DuneGridMacros.cmake)
-- Looking for mkstemp
-- Looking for mkstemp - found
-- Could NOT find METIS (missing: METIS_LIBRARY METIS_INCLUDE_DIR METIS_API_VERSION)
-- Could NOT find METIS (missing: METIS_LIBRARY METIS_INCLUDE_DIR METIS_API_VERSION)
-- Could NOT find ParMETIS (missing: PARMETIS_LIBRARY PARMETIS_INCLUDE_DIR METIS_FOUND)
-- Checking for module 'alberta-grid_1d>=3.0'
-- No package 'alberta-grid_1d' found
-- Checking for module 'alberta-grid_2d>=3.0'
-- No package 'alberta-grid_2d' found
-- Checking for module 'alberta-grid_3d>=3.0'
-- No package 'alberta-grid_3d' found
-- Could NOT find Alberta (set PKG_CONFIG_PATH to include the location of the alberta-grid_[n]d.pc files) (missing: ALBERTA_GRID_PREFIX) (Required is at least version "3.0")
-- Setting dune-grid_INCLUDE_DIRS=/tmp/pip-build-env-vto25yjl/overlay/include
-- Setting dune-grid_LIBRARIES=dunegrid
-- Performing tests for dune-alugrid (from /tmp/pip-install-0cmwx278/dune-alugrid/cmake/modules/DuneAlugridMacros.cmake)
-- Found ZLIB: /usr/lib/aarch64-linux-gnu/libz.so (found version "1.2.11")
-- Looking for include file sion.h
-- Looking for include file sion.h - not found
-- Could NOT find SIONlib (missing: SIONLIB_INCLUDE_DIR SIONLIB_LIBRARY SIONLIB_HEADER_USABLE SIONLIB_LIB_WORKS SIONLIB_LIB_SIONSER_WORKS)
-- Could NOT find DLMalloc (missing: DLMALLOC_INCLUDE_DIR DLMALLOC_SOURCE_INCLUDE)
-- Could NOT find PTScotch (missing: SCOTCH_LIBRARY SCOTCHERR_LIBRARY SCOTCH_INCLUDE_DIR)
-- Could NOT find METIS (missing: METIS_LIBRARY METIS_INCLUDE_DIR METIS_API_VERSION)
-- Performing Test DUNE_CV_PTHREAD_TLS_COMPILES
-- Performing Test DUNE_CV_PTHREAD_TLS_COMPILES - Failed
-- Not enabling torture-tests
-- Using scripts from /tmp/pip-build-env-vto25yjl/overlay/share/dune/cmake/scripts for creating doxygen stuff.
-- Installing python package abstract requirements: dune-common dune-geometry dune-grid
-- Generating the CMake metadata file at dune/data/dune-alugrid.cmake
-- Adding custom target for config.h generation
-- The following OPTIONAL packages have been found:
* BLAS, fast linear algebra routines
* LAPACK, fast linear algebra routines
* Threads, Multi-threading library
* Python3
* ZLIB
-- The following REQUIRED packages have been found:
* dune-common
* dune-grid
* dune-geometry
-- The following OPTIONAL packages have not been found:
* dune-uggrid
* LatexMk
* Sphinx, Documentation generator, <www.sphinx-doc.org>
To generate the documentation from CMake and Python sources
* GMP, GNU multi-precision library, <https://gmplib.org>
* QuadMath, GCC Quad-Precision Math Library, <https://gcc.gnu.org/onlinedocs/libquadmath>
* Inkscape, converts SVG images, <www.inkscape.org>
To generate the documentation with LaTeX
* TBB, Intel's Threading Building Blocks, <https://github.com/oneapi-src/oneTBB>
* Vc, C++ Vectorization library, <https://github.com/VcDevel/Vc>
For use of SIMD instructions
* ParMETIS, Parallel Graph Partitioning, <http://glaros.dtc.umn.edu/gkhome/metis/parmetis/overview>
* Alberta (required version >= 3.0), An adaptive hierarchical finite element toolbox and grid manager
* SIONlib
* DLMalloc
* PTScotch, Sequential and Parallel Graph Partitioning, <https://gitlab.inria.fr/scotch/scotch>
* ZOLTAN
* METIS, Serial Graph Partitioning, <http://glaros.dtc.umn.edu/gkhome/metis/metis/overview>
-- Configuring done (3.6s)
-- Generating done (0.1s)
-- Build files have been written to: /tmp/pip-install-0cmwx278/dune-alugrid/_skbuild/linux-aarch64-3.8/cmake-build
[1/28] Building CXX object CMakeFiles/dunealugrid.dir/dune/alugrid/3d/topology.cc.o
[2/28] Building CXX object CMakeFiles/dunealugrid.dir/dune/alugrid/impl/binaryio.cc.o
[3/28] Building CXX object CMakeFiles/dunealugrid.dir/dune/alugrid/impl/macrofileheader.cc.o
[4/28] Building CXX object CMakeFiles/dunealugrid.dir/dune/alugrid/impl/serial/ghost_info.cc.o
FAILED: CMakeFiles/dunealugrid.dir/dune/alugrid/impl/serial/ghost_info.cc.o
/usr/bin/c++ -DENABLE_MPI=1 -DHAVE_CONFIG_H -I/tmp/pip-install-0cmwx278/dune-alugrid/_skbuild/linux-aarch64-3.8/cmake-build -I/tmp/pip-install-0cmwx278/dune-alugrid -I/usr/include/python3.8 -I/tmp/pip-build-env-vto25yjl/overlay/include -isystem /usr/lib/aarch64-linux-gnu/openmpi/include/openmpi -isystem /usr/lib/aarch64-linux-gnu/openmpi/include -std=c++17 -O3 -DNDEBUG -O3 -DNDEBUG -fPIC -pthread -MD -MT CMakeFiles/dunealugrid.dir/dune/alugrid/impl/serial/ghost_info.cc.o -MF CMakeFiles/dunealugrid.dir/dune/alugrid/impl/serial/ghost_info.cc.o.d -o CMakeFiles/dunealugrid.dir/dune/alugrid/impl/serial/ghost_info.cc.o -c /tmp/pip-install-0cmwx278/dune-alugrid/dune/alugrid/impl/serial/ghost_info.cc
In file included from /tmp/pip-install-0cmwx278/dune-alugrid/dune/alugrid/impl/serial/gitter_sti.h:23,
from /tmp/pip-install-0cmwx278/dune-alugrid/dune/alugrid/impl/serial/ghost_info.h:5,
from /tmp/pip-install-0cmwx278/dune-alugrid/dune/alugrid/impl/serial/ghost_info.cc:4:
/tmp/pip-install-0cmwx278/dune-alugrid/dune/alugrid/impl/serial/walk.h: In function ‘std::string ALUGrid::inMkGiter()’:
/tmp/pip-install-0cmwx278/dune-alugrid/dune/alugrid/impl/serial/walk.h:875:585: error: narrowing conversion of ‘-127’ from ‘int’ to ‘char’ [-Wnarrowing]
875 | std::string msg {{97,120,126,42,107,125,112,44,-127,-128,118,124,117,47,83,101,94,86,62,83,94,104,90,-122,125,121,65,54,-122,-125,124,121,-117,126,57,126,-119,-119,66,-112,60,-125,-116,-112,-123,-124,-109,64,-108,-112,65,-123,-117,-105,-120,68,-104,-115,-118,70,-106,-120,-105,-115,-102,99,51,107,-106,-106,-116,-111,-103,-99,-110,-96,90,79,115,-107,-108,-97,-106,-92,94,83,126,-96,-93,-102,-101,-95,-91,-87,-91,100,88,-121,-88,-90,-82,-96,105,92,-112,-91,-94,94,-126,-108,-115,-123,109,-126,-115,-105,-119,-75,-84,-88,100,-110,-76,-86,-69,-77,-84,116,104,123,121,123,-128,121,85}};
| ^
[5/28] Building CXX object CMakeFiles/dunealugrid.dir/dune/alugrid/impl/serial/gitter_geo.cc.o
FAILED: CMakeFiles/dunealugrid.dir/dune/alugrid/impl/serial/gitter_geo.cc.o
/usr/bin/c++ -DENABLE_MPI=1 -DHAVE_CONFIG_H -I/tmp/pip-install-0cmwx278/dune-alugrid/_skbuild/linux-aarch64-3.8/cmake-build -I/tmp/pip-install-0cmwx278/dune-alugrid -I/usr/include/python3.8 -I/tmp/pip-build-env-vto25yjl/overlay/include -isystem /usr/lib/aarch64-linux-gnu/openmpi/include/openmpi -isystem /usr/lib/aarch64-linux-gnu/openmpi/include -std=c++17 -O3 -DNDEBUG -O3 -DNDEBUG -fPIC -pthread -MD -MT CMakeFiles/dunealugrid.dir/dune/alugrid/impl/serial/gitter_geo.cc.o -MF CMakeFiles/dunealugrid.dir/dune/alugrid/impl/serial/gitter_geo.cc.o.d -o CMakeFiles/dunealugrid.dir/dune/alugrid/impl/serial/gitter_geo.cc.o -c /tmp/pip-install-0cmwx278/dune-alugrid/dune/alugrid/impl/serial/gitter_geo.cc
In file included from /tmp/pip-install-0cmwx278/dune-alugrid/dune/alugrid/impl/serial/gitter_sti.h:23,
from /tmp/pip-install-0cmwx278/dune-alugrid/dune/alugrid/impl/serial/mapp_cube_3d.h:7,
from /tmp/pip-install-0cmwx278/dune-alugrid/dune/alugrid/impl/serial/gitter_geo.cc:14:
/tmp/pip-install-0cmwx278/dune-alugrid/dune/alugrid/impl/serial/walk.h: In function ‘std::string ALUGrid::inMkGiter()’:
/tmp/pip-install-0cmwx278/dune-alugrid/dune/alugrid/impl/serial/walk.h:875:585: error: narrowing conversion of ‘-127’ from ‘int’ to ‘char’ [-Wnarrowing]
875 | std::string msg {{97,120,126,42,107,125,112,44,-127,-128,118,124,117,47,83,101,94,86,62,83,94,104,90,-122,125,121,65,54,-122,-125,124,121,-117,126,57,126,-119,-119,66,-112,60,-125,-116,-112,-123,-124,-109,64,-108,-112,65,-123,-117,-105,-120,68,-104,-115,-118,70,-106,-120,-105,-115,-102,99,51,107,-106,-106,-116,-111,-103,-99,-110,-96,90,79,115,-107,-108,-97,-106,-92,94,83,126,-96,-93,-102,-101,-95,-91,-87,-91,100,88,-121,-88,-90,-82,-96,105,92,-112,-91,-94,94,-126,-108,-115,-123,109,-126,-115,-105,-119,-75,-84,-88,100,-110,-76,-86,-69,-77,-84,116,104,123,121,123,-128,121,85}};
| ^
[6/28] Building CXX object CMakeFiles/dunealugrid.dir/dune/alugrid/impl/serial/gitter_hexa_top.cc.o
FAILED: CMakeFiles/dunealugrid.dir/dune/alugrid/impl/serial/gitter_hexa_top.cc.o
/usr/bin/c++ -DENABLE_MPI=1 -DHAVE_CONFIG_H -I/tmp/pip-install-0cmwx278/dune-alugrid/_skbuild/linux-aarch64-3.8/cmake-build -I/tmp/pip-install-0cmwx278/dune-alugrid -I/usr/include/python3.8 -I/tmp/pip-build-env-vto25yjl/overlay/include -isystem /usr/lib/aarch64-linux-gnu/openmpi/include/openmpi -isystem /usr/lib/aarch64-linux-gnu/openmpi/include -std=c++17 -O3 -DNDEBUG -O3 -DNDEBUG -fPIC -pthread -MD -MT CMakeFiles/dunealugrid.dir/dune/alugrid/impl/serial/gitter_hexa_top.cc.o -MF CMakeFiles/dunealugrid.dir/dune/alugrid/impl/serial/gitter_hexa_top.cc.o.d -o CMakeFiles/dunealugrid.dir/dune/alugrid/impl/serial/gitter_hexa_top.cc.o -c /tmp/pip-install-0cmwx278/dune-alugrid/dune/alugrid/impl/serial/gitter_hexa_top.cc
In file included from /tmp/pip-install-0cmwx278/dune-alugrid/dune/alugrid/impl/serial/gitter_sti.h:23,
from /tmp/pip-install-0cmwx278/dune-alugrid/dune/alugrid/impl/serial/mapp_cube_3d.h:7,
from /tmp/pip-install-0cmwx278/dune-alugrid/dune/alugrid/impl/serial/gitter_hexa_top.cc:4:
/tmp/pip-install-0cmwx278/dune-alugrid/dune/alugrid/impl/serial/walk.h: In function ‘std::string ALUGrid::inMkGiter()’:
/tmp/pip-install-0cmwx278/dune-alugrid/dune/alugrid/impl/serial/walk.h:875:585: error: narrowing conversion of ‘-127’ from ‘int’ to ‘char’ [-Wnarrowing]
875 | std::string msg {{97,120,126,42,107,125,112,44,-127,-128,118,124,117,47,83,101,94,86,62,83,94,104,90,-122,125,121,65,54,-122,-125,124,121,-117,126,57,126,-119,-119,66,-112,60,-125,-116,-112,-123,-124,-109,64,-108,-112,65,-123,-117,-105,-120,68,-104,-115,-118,70,-106,-120,-105,-115,-102,99,51,107,-106,-106,-116,-111,-103,-99,-110,-96,90,79,115,-107,-108,-97,-106,-92,94,83,126,-96,-93,-102,-101,-95,-91,-87,-91,100,88,-121,-88,-90,-82,-96,105,92,-112,-91,-94,94,-126,-108,-115,-123,109,-126,-115,-105,-119,-75,-84,-88,100,-110,-76,-86,-69,-77,-84,116,104,123,121,123,-128,121,85}};
| ^
[7/28] Building CXX object CMakeFiles/dunealugrid.dir/dune/alugrid/impl/serial/gitter_impl.cc.o
FAILED: CMakeFiles/dunealugrid.dir/dune/alugrid/impl/serial/gitter_impl.cc.o
/usr/bin/c++ -DENABLE_MPI=1 -DHAVE_CONFIG_H -I/tmp/pip-install-0cmwx278/dune-alugrid/_skbuild/linux-aarch64-3.8/cmake-build -I/tmp/pip-install-0cmwx278/dune-alugrid -I/usr/include/python3.8 -I/tmp/pip-build-env-vto25yjl/overlay/include -isystem /usr/lib/aarch64-linux-gnu/openmpi/include/openmpi -isystem /usr/lib/aarch64-linux-gnu/openmpi/include -std=c++17 -O3 -DNDEBUG -O3 -DNDEBUG -fPIC -pthread -MD -MT CMakeFiles/dunealugrid.dir/dune/alugrid/impl/serial/gitter_impl.cc.o -MF CMakeFiles/dunealugrid.dir/dune/alugrid/impl/serial/gitter_impl.cc.o.d -o CMakeFiles/dunealugrid.dir/dune/alugrid/impl/serial/gitter_impl.cc.o -c /tmp/pip-install-0cmwx278/dune-alugrid/dune/alugrid/impl/serial/gitter_impl.cc
In file included from /tmp/pip-install-0cmwx278/dune-alugrid/dune/alugrid/impl/serial/gitter_sti.h:23,
from /tmp/pip-install-0cmwx278/dune-alugrid/dune/alugrid/impl/serial/gatherscatter.hh:6,
from /tmp/pip-install-0cmwx278/dune-alugrid/dune/alugrid/impl/serial/gitter_impl.cc:6:
/tmp/pip-install-0cmwx278/dune-alugrid/dune/alugrid/impl/serial/walk.h: In function ‘std::string ALUGrid::inMkGiter()’:
/tmp/pip-install-0cmwx278/dune-alugrid/dune/alugrid/impl/serial/walk.h:875:585: error: narrowing conversion of ‘-127’ from ‘int’ to ‘char’ [-Wnarrowing]
875 | std::string msg {{97,120,126,42,107,125,112,44,-127,-128,118,124,117,47,83,101,94,86,62,83,94,104,90,-122,125,121,65,54,-122,-125,124,121,-117,126,57,126,-119,-119,66,-112,60,-125,-116,-112,-123,-124,-109,64,-108,-112,65,-123,-117,-105,-120,68,-104,-115,-118,70,-106,-120,-105,-115,-102,99,51,107,-106,-106,-116,-111,-103,-99,-110,-96,90,79,115,-107,-108,-97,-106,-92,94,83,126,-96,-93,-102,-101,-95,-91,-87,-91,100,88,-121,-88,-90,-82,-96,105,92,-112,-91,-94,94,-126,-108,-115,-123,109,-126,-115,-105,-119,-75,-84,-88,100,-110,-76,-86,-69,-77,-84,116,104,123,121,123,-128,121,85}};
| ^
[8/28] Building CXX object CMakeFiles/dunealugrid.dir/dune/alugrid/3d/mappings.cc.o
FAILED: CMakeFiles/dunealugrid.dir/dune/alugrid/3d/mappings.cc.o
/usr/bin/c++ -DENABLE_MPI=1 -DHAVE_CONFIG_H -I/tmp/pip-install-0cmwx278/dune-alugrid/_skbuild/linux-aarch64-3.8/cmake-build -I/tmp/pip-install-0cmwx278/dune-alugrid -I/usr/include/python3.8 -I/tmp/pip-build-env-vto25yjl/overlay/include -isystem /usr/lib/aarch64-linux-gnu/openmpi/include/openmpi -isystem /usr/lib/aarch64-linux-gnu/openmpi/include -std=c++17 -O3 -DNDEBUG -O3 -DNDEBUG -fPIC -pthread -MD -MT CMakeFiles/dunealugrid.dir/dune/alugrid/3d/mappings.cc.o -MF CMakeFiles/dunealugrid.dir/dune/alugrid/3d/mappings.cc.o.d -o CMakeFiles/dunealugrid.dir/dune/alugrid/3d/mappings.cc.o -c /tmp/pip-install-0cmwx278/dune-alugrid/dune/alugrid/3d/mappings.cc
In file included from /tmp/pip-install-0cmwx278/dune-alugrid/dune/alugrid/impl/serial/gitter_sti.h:23,
from /tmp/pip-install-0cmwx278/dune-alugrid/dune/alugrid/impl/serial/gatherscatter.hh:6,
from /tmp/pip-install-0cmwx278/dune-alugrid/dune/alugrid/3d/alu3dinclude.hh:11,
from /tmp/pip-install-0cmwx278/dune-alugrid/dune/alugrid/3d/mappings.hh:14,
from /tmp/pip-install-0cmwx278/dune-alugrid/dune/alugrid/3d/mappings.cc:2:
/tmp/pip-install-0cmwx278/dune-alugrid/dune/alugrid/impl/serial/walk.h: In function ‘std::string ALUGrid::inMkGiter()’:
/tmp/pip-install-0cmwx278/dune-alugrid/dune/alugrid/impl/serial/walk.h:875:585: error: narrowing conversion of ‘-127’ from ‘int’ to ‘char’ [-Wnarrowing]
875 | std::string msg {{97,120,126,42,107,125,112,44,-127,-128,118,124,117,47,83,101,94,86,62,83,94,104,90,-122,125,121,65,54,-122,-125,124,121,-117,126,57,126,-119,-119,66,-112,60,-125,-116,-112,-123,-124,-109,64,-108,-112,65,-123,-117,-105,-120,68,-104,-115,-118,70,-106,-120,-105,-115,-102,99,51,107,-106,-106,-116,-111,-103,-99,-110,-96,90,79,115,-107,-108,-97,-106,-92,94,83,126,-96,-93,-102,-101,-95,-91,-87,-91,100,88,-121,-88,-90,-82,-96,105,92,-112,-91,-94,94,-126,-108,-115,-123,109,-126,-115,-105,-119,-75,-84,-88,100,-110,-76,-86,-69,-77,-84,116,104,123,121,123,-128,121,85}};
| ^
[9/28] Building CXX object CMakeFiles/dunealugrid.dir/dune/alugrid/3d/faceutility.cc.o
FAILED: CMakeFiles/dunealugrid.dir/dune/alugrid/3d/faceutility.cc.o
/usr/bin/c++ -DENABLE_MPI=1 -DHAVE_CONFIG_H -I/tmp/pip-install-0cmwx278/dune-alugrid/_skbuild/linux-aarch64-3.8/cmake-build -I/tmp/pip-install-0cmwx278/dune-alugrid -I/usr/include/python3.8 -I/tmp/pip-build-env-vto25yjl/overlay/include -isystem /usr/lib/aarch64-linux-gnu/openmpi/include/openmpi -isystem /usr/lib/aarch64-linux-gnu/openmpi/include -std=c++17 -O3 -DNDEBUG -O3 -DNDEBUG -fPIC -pthread -MD -MT CMakeFiles/dunealugrid.dir/dune/alugrid/3d/faceutility.cc.o -MF CMakeFiles/dunealugrid.dir/dune/alugrid/3d/faceutility.cc.o.d -o CMakeFiles/dunealugrid.dir/dune/alugrid/3d/faceutility.cc.o -c /tmp/pip-install-0cmwx278/dune-alugrid/dune/alugrid/3d/faceutility.cc
In file included from /tmp/pip-install-0cmwx278/dune-alugrid/dune/alugrid/impl/serial/gitter_sti.h:23,
from /tmp/pip-install-0cmwx278/dune-alugrid/dune/alugrid/impl/serial/gatherscatter.hh:6,
from /tmp/pip-install-0cmwx278/dune-alugrid/dune/alugrid/3d/alu3dinclude.hh:11,
from /tmp/pip-install-0cmwx278/dune-alugrid/dune/alugrid/3d/mappings.hh:14,
from /tmp/pip-install-0cmwx278/dune-alugrid/dune/alugrid/3d/faceutility.hh:9,
from /tmp/pip-install-0cmwx278/dune-alugrid/dune/alugrid/3d/faceutility.cc:2:
/tmp/pip-install-0cmwx278/dune-alugrid/dune/alugrid/impl/serial/walk.h: In function ‘std::string ALUGrid::inMkGiter()’:
/tmp/pip-install-0cmwx278/dune-alugrid/dune/alugrid/impl/serial/walk.h:875:585: error: narrowing conversion of ‘-127’ from ‘int’ to ‘char’ [-Wnarrowing]
875 | std::string msg {{97,120,126,42,107,125,112,44,-127,-128,118,124,117,47,83,101,94,86,62,83,94,104,90,-122,125,121,65,54,-122,-125,124,121,-117,126,57,126,-119,-119,66,-112,60,-125,-116,-112,-123,-124,-109,64,-108,-112,65,-123,-117,-105,-120,68,-104,-115,-118,70,-106,-120,-105,-115,-102,99,51,107,-106,-106,-116,-111,-103,-99,-110,-96,90,79,115,-107,-108,-97,-106,-92,94,83,126,-96,-93,-102,-101,-95,-91,-87,-91,100,88,-121,-88,-90,-82,-96,105,92,-112,-91,-94,94,-126,-108,-115,-123,109,-126,-115,-105,-119,-75,-84,-88,100,-110,-76,-86,-69,-77,-84,116,104,123,121,123,-128,121,85}};
| ^
[10/28] Building CXX object CMakeFiles/dunealugrid.dir/dune/alugrid/impl/serial/gitter_sti.cc.o
FAILED: CMakeFiles/dunealugrid.dir/dune/alugrid/impl/serial/gitter_sti.cc.o
/usr/bin/c++ -DENABLE_MPI=1 -DHAVE_CONFIG_H -I/tmp/pip-install-0cmwx278/dune-alugrid/_skbuild/linux-aarch64-3.8/cmake-build -I/tmp/pip-install-0cmwx278/dune-alugrid -I/usr/include/python3.8 -I/tmp/pip-build-env-vto25yjl/overlay/include -isystem /usr/lib/aarch64-linux-gnu/openmpi/include/openmpi -isystem /usr/lib/aarch64-linux-gnu/openmpi/include -std=c++17 -O3 -DNDEBUG -O3 -DNDEBUG -fPIC -pthread -MD -MT CMakeFiles/dunealugrid.dir/dune/alugrid/impl/serial/gitter_sti.cc.o -MF CMakeFiles/dunealugrid.dir/dune/alugrid/impl/serial/gitter_sti.cc.o.d -o CMakeFiles/dunealugrid.dir/dune/alugrid/impl/serial/gitter_sti.cc.o -c /tmp/pip-install-0cmwx278/dune-alugrid/dune/alugrid/impl/serial/gitter_sti.cc
In file included from /tmp/pip-install-0cmwx278/dune-alugrid/dune/alugrid/impl/serial/gitter_sti.h:23,
from /tmp/pip-install-0cmwx278/dune-alugrid/dune/alugrid/impl/serial/gitter_sti.cc:10:
/tmp/pip-install-0cmwx278/dune-alugrid/dune/alugrid/impl/serial/walk.h: In function ‘std::string ALUGrid::inMkGiter()’:
/tmp/pip-install-0cmwx278/dune-alugrid/dune/alugrid/impl/serial/walk.h:875:585: error: narrowing conversion of ‘-127’ from ‘int’ to ‘char’ [-Wnarrowing]
875 | std::string msg {{97,120,126,42,107,125,112,44,-127,-128,118,124,117,47,83,101,94,86,62,83,94,104,90,-122,125,121,65,54,-122,-125,124,121,-117,126,57,126,-119,-119,66,-112,60,-125,-116,-112,-123,-124,-109,64,-108,-112,65,-123,-117,-105,-120,68,-104,-115,-118,70,-106,-120,-105,-115,-102,99,51,107,-106,-106,-116,-111,-103,-99,-110,-96,90,79,115,-107,-108,-97,-106,-92,94,83,126,-96,-93,-102,-101,-95,-91,-87,-91,100,88,-121,-88,-90,-82,-96,105,92,-112,-91,-94,94,-126,-108,-115,-123,109,-126,-115,-105,-119,-75,-84,-88,100,-110,-76,-86,-69,-77,-84,116,104,123,121,123,-128,121,85}};
| ^
[11/28] Building CXX object CMakeFiles/dunealugrid.dir/dune/alugrid/impl/serial/gitter_mgb.cc.o
FAILED: CMakeFiles/dunealugrid.dir/dune/alugrid/impl/serial/gitter_mgb.cc.o
/usr/bin/c++ -DENABLE_MPI=1 -DHAVE_CONFIG_H -I/tmp/pip-install-0cmwx278/dune-alugrid/_skbuild/linux-aarch64-3.8/cmake-build -I/tmp/pip-install-0cmwx278/dune-alugrid -I/usr/include/python3.8 -I/tmp/pip-build-env-vto25yjl/overlay/include -isystem /usr/lib/aarch64-linux-gnu/openmpi/include/openmpi -isystem /usr/lib/aarch64-linux-gnu/openmpi/include -std=c++17 -O3 -DNDEBUG -O3 -DNDEBUG -fPIC -pthread -MD -MT CMakeFiles/dunealugrid.dir/dune/alugrid/impl/serial/gitter_mgb.cc.o -MF CMakeFiles/dunealugrid.dir/dune/alugrid/impl/serial/gitter_mgb.cc.o.d -o CMakeFiles/dunealugrid.dir/dune/alugrid/impl/serial/gitter_mgb.cc.o -c /tmp/pip-install-0cmwx278/dune-alugrid/dune/alugrid/impl/serial/gitter_mgb.cc
In file included from /tmp/pip-install-0cmwx278/dune-alugrid/dune/alugrid/impl/serial/gitter_sti.h:23,
from /tmp/pip-install-0cmwx278/dune-alugrid/dune/alugrid/impl/serial/gitter_mgb.cc:10:
/tmp/pip-install-0cmwx278/dune-alugrid/dune/alugrid/impl/serial/walk.h: In function ‘std::string ALUGrid::inMkGiter()’:
/tmp/pip-install-0cmwx278/dune-alugrid/dune/alugrid/impl/serial/walk.h:875:585: error: narrowing conversion of ‘-127’ from ‘int’ to ‘char’ [-Wnarrowing]
875 | std::string msg {{97,120,126,42,107,125,112,44,-127,-128,118,124,117,47,83,101,94,86,62,83,94,104,90,-122,125,121,65,54,-122,-125,124,121,-117,126,57,126,-119,-119,66,-112,60,-125,-116,-112,-123,-124,-109,64,-108,-112,65,-123,-117,-105,-120,68,-104,-115,-118,70,-106,-120,-105,-115,-102,99,51,107,-106,-106,-116,-111,-103,-99,-110,-96,90,79,115,-107,-108,-97,-106,-92,94,83,126,-96,-93,-102,-101,-95,-91,-87,-91,100,88,-121,-88,-90,-82,-96,105,92,-112,-91,-94,94,-126,-108,-115,-123,109,-126,-115,-105,-119,-75,-84,-88,100,-110,-76,-86,-69,-77,-84,116,104,123,121,123,-128,121,85}};
| ^
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "/tmp/pip-build-env-vto25yjl/overlay/lib/python3.8/site-packages/skbuild/setuptools_wrap.py", line 674, in setup
cmkr.make(make_args, install_target=cmake_install_target, env=env)
File "/tmp/pip-build-env-vto25yjl/overlay/lib/python3.8/site-packages/skbuild/cmaker.py", line 697, in make
self.make_impl(clargs=clargs, config=config, source_dir=source_dir, install_target=install_target, env=env)
File "/tmp/pip-build-env-vto25yjl/overlay/lib/python3.8/site-packages/skbuild/cmaker.py", line 742, in make_impl
raise SKBuildError(msg)
An error occurred while building with CMake.
Command:
/tmp/pip-build-env-vto25yjl/overlay/lib/python3.8/site-packages/cmake/data/bin/cmake --build . --target install --config Release --
Install target:
install
Source directory:
/tmp/pip-install-0cmwx278/dune-alugrid
Working directory:
/tmp/pip-install-0cmwx278/dune-alugrid/_skbuild/linux-aarch64-3.8/cmake-build
Please check the install target is valid and see CMake's output for more information.
----------------------------------------
ERROR: Failed building wheel for dune-alugrid
Building wheel for dune-grid (PEP 517) ... done
Created wheel for dune-grid: filename=dune_grid-2.9.0-cp38-cp38-linux_aarch64.whl size=1460986 sha256=04e0197ba5742887acae63166f8ca42fd1607714c5c26e918dab0885e4311f34
Stored in directory: /tmp/pip-ephem-wheel-cache-y_lril7y/wheels/f0/4f/f2/f16d7cdf393132509628b31330a1ca2009f5fc616f7624726f
Building wheel for dune-geometry (PEP 517) ... done
Created wheel for dune-geometry: filename=dune_geometry-2.9.0-cp38-cp38-linux_aarch64.whl size=962566 sha256=70dbe472e9c2d84ba626c57774715e6c9721b0b5083f7150b8710f41ce485ae0
Stored in directory: /tmp/pip-ephem-wheel-cache-y_lril7y/wheels/7c/35/c5/c889e43f4e87a63609180154b32c1bfed8923ea278baf04843
Building wheel for dune-common (PEP 517) ... done
Created wheel for dune-common: filename=dune_common-2.9.0-cp38-cp38-linux_aarch64.whl size=1073500 sha256=3b41dcc91d6d314a32f58f49ba65db0ae426a783a3ea23c7ae6411863ea2109b
Stored in directory: /tmp/pip-ephem-wheel-cache-y_lril7y/wheels/11/38/b0/10dc7982bfb88b29bba1ee90ce241d82fe5cf8ee82359f50c0
Successfully built dune-grid dune-geometry dune-common
Failed to build dune-alugrid
ERROR: Could not build wheels for dune-alugrid which use PEP 517 and cannot be installed directly
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune-fem/attachments/20230910/d48dfc11/attachment-0001.htm>
More information about the dune-fem
mailing list