Hello,
I am on OSX Sonoma 14.1, and I am trying to install dolfinx. I can successfully run cmake .., in the build folder. Then I go to the cpp folder and run
% make install
[ 2%] Building CXX object dolfinx/CMakeFiles/dolfinx.dir/fem/DofMap.cpp.o
In file included from /Applications/dolfinx-main/cpp/dolfinx/fem/DofMap.cpp:10:
/Applications/dolfinx-main/cpp/dolfinx/fem/utils.h:791:47: error: no member named 'value_shape' in 'ufcx_function_space'
std::vector<std::size_t> value_shape(space->value_shape,
~~~~~ ^
/Applications/dolfinx-main/cpp/dolfinx/fem/utils.h:792:47: error: no member named 'value_shape' in 'ufcx_function_space'
space->value_shape + space->value_rank);
~~~~~ ^
/Applications/dolfinx-main/cpp/dolfinx/fem/utils.h:792:68: error: no member named 'value_rank' in 'ufcx_function_space'
space->value_shape + space->value_rank);
~~~~~ ^
/Applications/dolfinx-main/cpp/dolfinx/fem/utils.h:1108:58: error: no member named 'entity_dimension' in 'ufcx_expression'
std::vector<U> X(e.points, e.points + e.num_points * e.entity_dimension);
~ ^
/Applications/dolfinx-main/cpp/dolfinx/fem/utils.h:1111:37: error: no member named 'entity_dimension' in 'ufcx_expression'
static_cast<std::size_t>(e.entity_dimension)};
~ ^
5 errors generated.
make[2]: *** [dolfinx/CMakeFiles/dolfinx.dir/fem/DofMap.cpp.o] Error 1
make[1]: *** [dolfinx/CMakeFiles/dolfinx.dir/all] Error 2
make: *** [all] Error 2
Here is the output of cd build; ccmake ..
ADIOS2_DIR ADIOS2_DIR-NOTFOUND
BUILD_SHARED_LIBS ON
Basix_DIR /usr/local/lib/cmake/basix
Boost_INCLUDE_DIR /opt/homebrew/include
Boost_TIMER_LIBRARY_RELEASE /opt/homebrew/lib/libboost_timer-mt.dylib
CMAKE_BUILD_TYPE RelWithDebInfo
CMAKE_INSTALL_PREFIX /usr/local
CMAKE_INSTALL_RPATH_USE_LINK_P ON
CMAKE_OSX_ARCHITECTURES
CMAKE_OSX_DEPLOYMENT_TARGET 14.1
CMAKE_OSX_SYSROOT /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk
DOLFINX_ENABLE_ADIOS2 ON
DOLFINX_ENABLE_KAHIP OFF
DOLFINX_ENABLE_PARMETIS ON
DOLFINX_ENABLE_SCOTCH ON
DOLFINX_ENABLE_SLEPC ON
DOLFINX_SKIP_BUILD_TESTS OFF
DOLFINX_UFCX_PYTHON ON
DOXYGEN_DOLFINX_VERSION 0.8.0.0
GIT_FOUND /opt/homebrew/bin/git
HDF5_C_LIBRARY_dl /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/lib/libdl.tbd
HDF5_C_LIBRARY_hdf5 /Applications/hdf5-1.14.3/hdf5/lib/libhdf5.dylib
HDF5_C_LIBRARY_m /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/lib/libm.tbd
HDF5_C_LIBRARY_z /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/lib/libz.tbd
METIS_LIBRARY /opt/homebrew/lib/libmetis.dylib
PARMETIS_INCLUDE_DIRS PARMETIS_INCLUDE_DIRS-NOTFOUND
PARMETIS_LIBRARY PARMETIS_LIBRARY-NOTFOUND
PTESMUMPS_LIBRARY /opt/homebrew/lib/libptesmumps.dylib
PTSCOTCHERR_LIBRARY /opt/homebrew/lib/libptscotcherr.dylib
PTSCOTCH_LIBRARY /opt/homebrew/lib/libptscotch.dylib
SCOTCHERR_LIBRARY /opt/homebrew/lib/libscotcherr.dylib
SCOTCH_INCLUDE_DIRS /opt/homebrew/include
SCOTCH_LIBRARY /opt/homebrew/lib/libscotch.dylib
_REQUIRE_ADIOS2 OFF
_REQUIRE_KAHIP OFF
_REQUIRE_PARMETIS OFF
Do I get the error above because ufcx.h is not found? As far as I can understand, ufcx is part of ffcx, and I tried to install ffcx by downloading the tar.gz archive, unzipping it, doing
% pip3 install . --break-system-packages
Defaulting to user installation because normal site-packages is not writeable
Processing /Applications/ffcx-main
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: numpy>=1.21 in /Users/michele/.local/lib/python3.10/site-packages (from fenics-ffcx==0.8.0.dev0) (1.26.4)
ERROR: Could not find a version that satisfies the requirement fenics-basix<0.9.0,>=0.8.0.dev0 (from fenics-ffcx) (from versions: 0.4.0, 0.4.2.post1, 0.5.0, 0.6.0, 0.7.0.post0)
ERROR: No matching distribution found for fenics-basix<0.9.0,>=0.8.0.dev0
[notice] A new release of pip is available: 23.0.1 -> 24.0
[notice] To update, run: pip3 install --upgrade pip
Hello, pipx and ffcx seem to be installed correctly
% pip3 install fenics-ffcx
Defaulting to user installation because normal site-packages is not writeable
Collecting fenics-ffcx
Using cached fenics_ffcx-0.7.0-py3-none-any.whl (119 kB)
Requirement already satisfied: fenics-ufl<2023.3.0,>=2023.2.0 in /Users/michele/.local/lib/python3.10/site-packages (from fenics-ffcx) (2023.2.0)
Requirement already satisfied: cffi in /Users/michele/.local/lib/python3.10/site-packages (from fenics-ffcx) (1.16.0)
Requirement already satisfied: numpy in /Users/michele/.local/lib/python3.10/site-packages (from fenics-ffcx) (1.26.4)
Collecting fenics-basix<0.8.0,>=0.7.0
Using cached fenics_basix-0.7.0.post0-cp310-cp310-macosx_11_0_arm64.whl (828 kB)
Requirement already satisfied: setuptools in /usr/local/lib/python3.10/site-packages (from fenics-ffcx) (65.5.0)
Requirement already satisfied: pycparser in /Users/michele/.local/lib/python3.10/site-packages (from cffi->fenics-ffcx) (2.21)
Installing collected packages: fenics-basix, fenics-ffcx
Successfully installed fenics-basix-0.7.0.post0 fenics-ffcx-0.7.0
[notice] A new release of pip is available: 23.0.1 -> 24.0
[notice] To update, run: pip3 install --upgrade pip
% pip3 install fenics-basix
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: fenics-basix in /Users/michele/.local/lib/python3.10/site-packages (0.7.0.post0)
Requirement already satisfied: numpy>=1.21 in /Users/michele/.local/lib/python3.10/site-packages (from fenics-basix) (1.26.4)
[notice] A new release of pip is available: 23.0.1 -> 24.0
[notice] To update, run: pip3 install --upgrade pip
However, when I try to install dolfinx, with cmake .. and then make install I still get the error in the original post.
Also, if I try to install dolfinx directly with pip, I get the error message
% pip3 install fenics-dolfinx
Defaulting to user installation because normal site-packages is not writeable
ERROR: Could not find a version that satisfies the requirement fenics-dolfinx (from versions: none)
ERROR: No matching distribution found for fenics-dolfinx
[notice] A new release of pip is available: 23.0.1 -> 24.0
[notice] To update, run: pip3 install --upgrade pip
As for ufl, there is no 0.7.x version on its github page. I performed the same steps for the 2023.2.0 ufl version as for basics, but then when I do make install for dolfinx, I still get the same error message as in the original post.
What branch of dolfinx are you on? Could you verify that you are running on v0.7.3?
Could you also add the full output of cmake, as adding snippets aren’t very helpful
I was using the main branch. I now downloaded dolfinx 0.7.3. Here is the output of cmake:
% cmake ..
fatal: not a git repository (or any of the parent directories): .git
-- Found Boost 1.82.0 at /opt/anaconda3/lib/cmake/Boost-1.82.0
-- Requested configuration: QUIET REQUIRED COMPONENTS timer
-- Found boost_headers 1.82.0 at /opt/anaconda3/lib/cmake/boost_headers-1.82.0
-- Found boost_timer 1.82.0 at /opt/anaconda3/lib/cmake/boost_timer-1.82.0
-- [x] libboost_timer.dylib
-- [ ] libboost_timer.a
-- Adding boost_timer dependencies: chrono;headers
-- Found boost_chrono 1.82.0 at /opt/anaconda3/lib/cmake/boost_chrono-1.82.0
-- [x] libboost_chrono.dylib
-- [ ] libboost_chrono.a
-- Adding boost_chrono dependencies: headers
-- Checking for basix hints with /opt/anaconda3/bin/python3.11
-- Found PETSc version 3.20.5, prefix: /opt/homebrew/opt/petsc
-- HDF5 C compiler wrapper is unable to compile a minimal HDF5 program.
-- Found HDF5: /Applications/hdf5-1.14.3/hdf5/lib/libhdf5.dylib (found version "1.14.3") found components: C
-- HDF5_DIR: HDF5_DIR-NOTFOUND
-- HDF5_DEFINITIONS:
-- HDF5_INCLUDE_DIRS: /Applications/hdf5-1.14.3/hdf5/include
-- HDF5_LIBRARIES: /Applications/hdf5-1.14.3/hdf5/lib/libhdf5.dylib
-- HDF5_HL_LIBRARIES:
-- HDF5_C_DEFINITIONS:
-- HDF5_C_INCLUDE_DIR: /Applications/hdf5-1.14.3/hdf5/include
-- HDF5_C_INCLUDE_DIRS: /Applications/hdf5-1.14.3/hdf5/include
-- HDF5_C_LIBRARY:
-- HDF5_C_LIBRARIES: /Applications/hdf5-1.14.3/hdf5/lib/libhdf5.dylib
-- HDF5_C_HL_LIBRARY:
-- HDF5_C_HL_LIBRARIES:
-- Defined targets (if any):
-- ... hdf5::hdf5
-- Found Python3: /opt/anaconda3/bin/python3.11 (found version "3.11.7") found components: Interpreter
-- Asking Python module FFCx for location of UFC... (Python executable: /opt/anaconda3/bin/python3.11)
-- Found UFCx: /opt/anaconda3/lib/python3.11/site-packages/ffcx/codegeneration (found suitable version "0.7.0", minimum required is "0.7")
CMake Warning at CMakeLists.txt:276 (find_package):
By not providing "FindADIOS2.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "ADIOS2", but
CMake did not find one.
Could not find a package configuration file provided by "ADIOS2" (requested
version 2.8.1) with any of the following names:
ADIOS2Config.cmake
adios2-config.cmake
Add the installation prefix of "ADIOS2" to CMAKE_PREFIX_PATH or set
"ADIOS2_DIR" to a directory containing one of the above files. If "ADIOS2"
provides a separate development package or SDK, be sure it has been
installed.
-- Checking for one of the modules 'slepc>=3.15'
-- Checking for package 'SCOTCH-PT'
-- Found SCOTCH (version 7.0.4)
-- Performing test SCOTCH_TEST_RUNS
-- Performing test SCOTCH_TEST_RUNS - Success
-- Found SCOTCH: /opt/homebrew/lib/libptscotch.dylib;/opt/homebrew/lib/libscotch.dylib;/opt/homebrew/lib/libptscotcherr.dylib
-- ParMETIS could not be found/configured. (missing: PARMETIS_TEST_RUNS PARMETIS_INCLUDE_DIRS PARMETIS_VERSION PARMETIS_VERSION_OK) (Required is at least version "4.0.2")
-- The following features have been enabled:
* BUILD_SHARED_LIBS, Build DOLFINx with shared libraries.
* CMAKE_INSTALL_RPATH_USE_LINK_PATH, Add paths to linker search and installed rpath.
* DOLFINX_UFCX_PYTHON, Enable UFCx discovery using Python. Disable if UFCx should be found using a CMake config file.
-- The following OPTIONAL packages have been found:
* SCOTCH, Programs and libraries for graph, mesh and hypergraph partitioning, <https://www.labri.fr/perso/pelegrin/scotch>
Parallel graph partitioning
-- The following REQUIRED packages have been found:
* MPI (required version >= 3)
* pugixml
* boost_chrono (required version == 1.82.0)
* boost_headers (required version == 1.82.0)
* boost_timer (required version == 1.82.0)
* Boost (required version >= 1.70), Boost C++ libraries, <http://www.boost.org>
* Basix (required version >= 0.7)
* PETSc, Portable, Extensible Toolkit for Scientific Computation (PETSc), <https://www.mcs.anl.gov/petsc/>
PETSc linear algebra backend
* HDF5, Hierarchical Data Format 5 (HDF5), <https://www.hdfgroup.org/HDF5>
* Python3
* UFCx (required version >= 0.7), Interface for form-compilers (part of FFCx), <https://github.com/fenics/ffcx>
* PkgConfig
-- The following features have been disabled:
* DOLFINX_SKIP_BUILD_TESTS, Skip build tests for testing usability of dependency packages.
-- The following OPTIONAL packages have not been found:
* ADIOS2 (required version >= 2.8.1), Adaptable Input/Output (I/O) System., <https://adios2.readthedocs.io/en/latest/>
IO, including in parallel
-- The following RECOMMENDED packages have not been found:
* SLEPc, Scalable Library for Eigenvalue Problem Computations, <http://slepc.upv.es/>
Eigenvalue computation
* ParMETIS (required version >= 4.0.2), Parallel Graph Partitioning and Fill-reducing Matrix Ordering, <http://glaros.dtc.umn.edu/gkhome/metis/parmetis/overview>
Parallel graph partitioning
-- Configuring done (2.1s)
-- Generating done (0.0s)
-- Build files have been written to: /Applications/dolfinx-0.7.3/cpp/build
and here is the output of make install
% make install
[ 2%] Building CXX object dolfinx/CMakeFiles/dolfinx.dir/common/defines.cpp.o
[ 4%] Building CXX object dolfinx/CMakeFiles/dolfinx.dir/common/IndexMap.cpp.o
[ 6%] Building CXX object dolfinx/CMakeFiles/dolfinx.dir/common/log.cpp.o
[ 9%] Building CXX object dolfinx/CMakeFiles/dolfinx.dir/common/MPI.cpp.o
[ 11%] Building CXX object dolfinx/CMakeFiles/dolfinx.dir/common/Table.cpp.o
[ 13%] Building CXX object dolfinx/CMakeFiles/dolfinx.dir/common/Timer.cpp.o
[ 16%] Building CXX object dolfinx/CMakeFiles/dolfinx.dir/common/TimeLogger.cpp.o
[ 18%] Building CXX object dolfinx/CMakeFiles/dolfinx.dir/common/TimeLogManager.cpp.o
[ 20%] Building CXX object dolfinx/CMakeFiles/dolfinx.dir/common/timing.cpp.o
[ 23%] Building CXX object dolfinx/CMakeFiles/dolfinx.dir/fem/DirichletBC.cpp.o
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.cpp:7:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.h:12:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/Function.h:11:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/FunctionSpace.h:18:
/Applications/dolfinx-0.7.3/cpp/dolfinx/mesh/Geometry.h:316:17: error: no member named 'submdspan' in namespace 'std::experimental'; did you mean 'std::submdspan'?
auto xc = MDSPAN_IMPL_STANDARD_NAMESPACE::MDSPAN_IMPL_PROPOSED_NAMESPACE::
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
std::submdspan
/usr/local/include/basix/mdspan.hpp:23:42: note: expanded from macro 'MDSPAN_IMPL_STANDARD_NAMESPACE'
#define MDSPAN_IMPL_STANDARD_NAMESPACE std
^
/usr/local/include/basix/mdspan.hpp:5258:1: note: 'std::submdspan' declared here
submdspan(const mdspan<ElementType, Extents, LayoutPolicy, AccessorPolicy> &src,
^
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.cpp:7:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.h:12:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/Function.h:11:
/Applications/dolfinx-0.7.3/cpp/dolfinx/fem/FunctionSpace.h:262:16: error: no member named 'submdspan' in namespace 'std::experimental'; did you mean 'std::submdspan'?
auto phi = MDSPAN_IMPL_STANDARD_NAMESPACE::MDSPAN_IMPL_PROPOSED_NAMESPACE::
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
std::submdspan
/usr/local/include/basix/mdspan.hpp:23:42: note: expanded from macro 'MDSPAN_IMPL_STANDARD_NAMESPACE'
#define MDSPAN_IMPL_STANDARD_NAMESPACE std
^
/usr/local/include/basix/mdspan.hpp:5258:1: note: 'std::submdspan' declared here
submdspan(const mdspan<ElementType, Extents, LayoutPolicy, AccessorPolicy> &src,
^
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.cpp:7:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.h:12:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/Function.h:11:
/Applications/dolfinx-0.7.3/cpp/dolfinx/fem/FunctionSpace.h:269:21: error: no member named 'submdspan' in namespace 'std::experimental'; did you mean 'std::submdspan'?
auto x_dofs = MDSPAN_IMPL_STANDARD_NAMESPACE::
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
std::submdspan
/usr/local/include/basix/mdspan.hpp:23:42: note: expanded from macro 'MDSPAN_IMPL_STANDARD_NAMESPACE'
#define MDSPAN_IMPL_STANDARD_NAMESPACE std
^
/usr/local/include/basix/mdspan.hpp:5258:1: note: 'std::submdspan' declared here
submdspan(const mdspan<ElementType, Extents, LayoutPolicy, AccessorPolicy> &src,
^
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.cpp:7:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.h:12:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/Function.h:12:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/interpolate.h:18:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/geometry/BoundingBoxTree.h:14:
/Applications/dolfinx-0.7.3/cpp/dolfinx/mesh/utils.h:152:17: error: no member named 'submdspan' in namespace 'std::experimental'; did you mean 'std::submdspan'?
auto dofs = MDSPAN_IMPL_STANDARD_NAMESPACE::MDSPAN_IMPL_PROPOSED_NAMESPACE::
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
std::submdspan
/usr/local/include/basix/mdspan.hpp:23:42: note: expanded from macro 'MDSPAN_IMPL_STANDARD_NAMESPACE'
#define MDSPAN_IMPL_STANDARD_NAMESPACE std
^
/usr/local/include/basix/mdspan.hpp:5258:1: note: 'std::submdspan' declared here
submdspan(const mdspan<ElementType, Extents, LayoutPolicy, AccessorPolicy> &src,
^
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.cpp:7:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.h:12:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/Function.h:12:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/interpolate.h:18:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/geometry/BoundingBoxTree.h:14:
/Applications/dolfinx-0.7.3/cpp/dolfinx/mesh/utils.h:455:11: error: no member named 'submdspan' in namespace 'std::experimental'; did you mean 'std::submdspan'?
= MDSPAN_IMPL_STANDARD_NAMESPACE::MDSPAN_IMPL_PROPOSED_NAMESPACE::
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
std::submdspan
/usr/local/include/basix/mdspan.hpp:23:42: note: expanded from macro 'MDSPAN_IMPL_STANDARD_NAMESPACE'
#define MDSPAN_IMPL_STANDARD_NAMESPACE std
^
/usr/local/include/basix/mdspan.hpp:5258:1: note: 'std::submdspan' declared here
submdspan(const mdspan<ElementType, Extents, LayoutPolicy, AccessorPolicy> &src,
^
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.cpp:7:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.h:12:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/Function.h:12:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/interpolate.h:19:
/Applications/dolfinx-0.7.3/cpp/dolfinx/geometry/utils.h:57:13: error: no member named 'submdspan' in namespace 'std::experimental'; did you mean 'std::submdspan'?
= MDSPAN_IMPL_STANDARD_NAMESPACE::MDSPAN_IMPL_PROPOSED_NAMESPACE::
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
std::submdspan
/usr/local/include/basix/mdspan.hpp:23:42: note: expanded from macro 'MDSPAN_IMPL_STANDARD_NAMESPACE'
#define MDSPAN_IMPL_STANDARD_NAMESPACE std
^
/usr/local/include/basix/mdspan.hpp:5258:1: note: 'std::submdspan' declared here
submdspan(const mdspan<ElementType, Extents, LayoutPolicy, AccessorPolicy> &src,
^
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.cpp:7:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.h:12:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/Function.h:12:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/interpolate.h:19:
/Applications/dolfinx-0.7.3/cpp/dolfinx/geometry/utils.h:96:19: error: no member named 'submdspan' in namespace 'std::experimental'; did you mean 'std::submdspan'?
auto dofs = MDSPAN_IMPL_STANDARD_NAMESPACE::
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
std::submdspan
/usr/local/include/basix/mdspan.hpp:23:42: note: expanded from macro 'MDSPAN_IMPL_STANDARD_NAMESPACE'
#define MDSPAN_IMPL_STANDARD_NAMESPACE std
^
/usr/local/include/basix/mdspan.hpp:5258:1: note: 'std::submdspan' declared here
submdspan(const mdspan<ElementType, Extents, LayoutPolicy, AccessorPolicy> &src,
^
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.cpp:7:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.h:12:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/Function.h:12:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/interpolate.h:19:
/Applications/dolfinx-0.7.3/cpp/dolfinx/geometry/utils.h:527:19: error: no member named 'submdspan' in namespace 'std::experimental'; did you mean 'std::submdspan'?
auto dofs = MDSPAN_IMPL_STANDARD_NAMESPACE::
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
std::submdspan
/usr/local/include/basix/mdspan.hpp:23:42: note: expanded from macro 'MDSPAN_IMPL_STANDARD_NAMESPACE'
#define MDSPAN_IMPL_STANDARD_NAMESPACE std
^
/usr/local/include/basix/mdspan.hpp:5258:1: note: 'std::submdspan' declared here
submdspan(const mdspan<ElementType, Extents, LayoutPolicy, AccessorPolicy> &src,
^
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.cpp:7:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.h:12:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/Function.h:12:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/interpolate.h:19:
/Applications/dolfinx-0.7.3/cpp/dolfinx/geometry/utils.h:877:21: error: no member named 'submdspan' in namespace 'std::experimental'; did you mean 'std::submdspan'?
auto dofs = MDSPAN_IMPL_STANDARD_NAMESPACE::
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
std::submdspan
/usr/local/include/basix/mdspan.hpp:23:42: note: expanded from macro 'MDSPAN_IMPL_STANDARD_NAMESPACE'
#define MDSPAN_IMPL_STANDARD_NAMESPACE std
^
/usr/local/include/basix/mdspan.hpp:5258:1: note: 'std::submdspan' declared here
submdspan(const mdspan<ElementType, Extents, LayoutPolicy, AccessorPolicy> &src,
^
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.cpp:7:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.h:12:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/Function.h:12:
/Applications/dolfinx-0.7.3/cpp/dolfinx/fem/interpolate.h:70:14: error: no member named 'submdspan' in namespace 'std::experimental'; did you mean 'std::submdspan'?
auto phi = MDSPAN_IMPL_STANDARD_NAMESPACE::MDSPAN_IMPL_PROPOSED_NAMESPACE::
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
std::submdspan
/usr/local/include/basix/mdspan.hpp:23:42: note: expanded from macro 'MDSPAN_IMPL_STANDARD_NAMESPACE'
#define MDSPAN_IMPL_STANDARD_NAMESPACE std
^
/usr/local/include/basix/mdspan.hpp:5258:1: note: 'std::submdspan' declared here
submdspan(const mdspan<ElementType, Extents, LayoutPolicy, AccessorPolicy> &src,
^
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.cpp:7:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.h:12:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/Function.h:12:
/Applications/dolfinx-0.7.3/cpp/dolfinx/fem/interpolate.h:81:19: error: no member named 'submdspan' in namespace 'std::experimental'; did you mean 'std::submdspan'?
auto x_dofs = MDSPAN_IMPL_STANDARD_NAMESPACE::
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
std::submdspan
/usr/local/include/basix/mdspan.hpp:23:42: note: expanded from macro 'MDSPAN_IMPL_STANDARD_NAMESPACE'
#define MDSPAN_IMPL_STANDARD_NAMESPACE std
^
/usr/local/include/basix/mdspan.hpp:5258:1: note: 'std::submdspan' declared here
submdspan(const mdspan<ElementType, Extents, LayoutPolicy, AccessorPolicy> &src,
^
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.cpp:7:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.h:12:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/Function.h:12:
/Applications/dolfinx-0.7.3/cpp/dolfinx/fem/interpolate.h:552:11: error: no member named 'submdspan' in namespace 'std::experimental'; did you mean 'std::submdspan'?
= MDSPAN_IMPL_STANDARD_NAMESPACE::MDSPAN_IMPL_PROPOSED_NAMESPACE ::
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
std::submdspan
/usr/local/include/basix/mdspan.hpp:23:42: note: expanded from macro 'MDSPAN_IMPL_STANDARD_NAMESPACE'
#define MDSPAN_IMPL_STANDARD_NAMESPACE std
^
/usr/local/include/basix/mdspan.hpp:5258:1: note: 'std::submdspan' declared here
submdspan(const mdspan<ElementType, Extents, LayoutPolicy, AccessorPolicy> &src,
^
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.cpp:7:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.h:12:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/Function.h:12:
/Applications/dolfinx-0.7.3/cpp/dolfinx/fem/interpolate.h:566:13: error: no member named 'submdspan' in namespace 'std::experimental'; did you mean 'std::submdspan'?
= MDSPAN_IMPL_STANDARD_NAMESPACE::MDSPAN_IMPL_PROPOSED_NAMESPACE ::
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
std::submdspan
/usr/local/include/basix/mdspan.hpp:23:42: note: expanded from macro 'MDSPAN_IMPL_STANDARD_NAMESPACE'
#define MDSPAN_IMPL_STANDARD_NAMESPACE std
^
/usr/local/include/basix/mdspan.hpp:5258:1: note: 'std::submdspan' declared here
submdspan(const mdspan<ElementType, Extents, LayoutPolicy, AccessorPolicy> &src,
^
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.cpp:7:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.h:12:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/Function.h:12:
/Applications/dolfinx-0.7.3/cpp/dolfinx/fem/interpolate.h:571:13: error: no member named 'submdspan' in namespace 'std::experimental'; did you mean 'std::submdspan'?
= MDSPAN_IMPL_STANDARD_NAMESPACE::MDSPAN_IMPL_PROPOSED_NAMESPACE ::
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
std::submdspan
/usr/local/include/basix/mdspan.hpp:23:42: note: expanded from macro 'MDSPAN_IMPL_STANDARD_NAMESPACE'
#define MDSPAN_IMPL_STANDARD_NAMESPACE std
^
/usr/local/include/basix/mdspan.hpp:5258:1: note: 'std::submdspan' declared here
submdspan(const mdspan<ElementType, Extents, LayoutPolicy, AccessorPolicy> &src,
^
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.cpp:7:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.h:12:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/Function.h:12:
/Applications/dolfinx-0.7.3/cpp/dolfinx/fem/interpolate.h:576:13: error: no member named 'submdspan' in namespace 'std::experimental'; did you mean 'std::submdspan'?
= MDSPAN_IMPL_STANDARD_NAMESPACE::MDSPAN_IMPL_PROPOSED_NAMESPACE ::
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
std::submdspan
/usr/local/include/basix/mdspan.hpp:23:42: note: expanded from macro 'MDSPAN_IMPL_STANDARD_NAMESPACE'
#define MDSPAN_IMPL_STANDARD_NAMESPACE std
^
/usr/local/include/basix/mdspan.hpp:5258:1: note: 'std::submdspan' declared here
submdspan(const mdspan<ElementType, Extents, LayoutPolicy, AccessorPolicy> &src,
^
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.cpp:7:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.h:12:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/Function.h:12:
/Applications/dolfinx-0.7.3/cpp/dolfinx/fem/interpolate.h:602:13: error: no member named 'submdspan' in namespace 'std::experimental'; did you mean 'std::submdspan'?
= MDSPAN_IMPL_STANDARD_NAMESPACE::MDSPAN_IMPL_PROPOSED_NAMESPACE ::
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
std::submdspan
/usr/local/include/basix/mdspan.hpp:23:42: note: expanded from macro 'MDSPAN_IMPL_STANDARD_NAMESPACE'
#define MDSPAN_IMPL_STANDARD_NAMESPACE std
^
/usr/local/include/basix/mdspan.hpp:5258:1: note: 'std::submdspan' declared here
submdspan(const mdspan<ElementType, Extents, LayoutPolicy, AccessorPolicy> &src,
^
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.cpp:7:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.h:12:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/Function.h:12:
/Applications/dolfinx-0.7.3/cpp/dolfinx/fem/interpolate.h:606:13: error: no member named 'submdspan' in namespace 'std::experimental'; did you mean 'std::submdspan'?
= MDSPAN_IMPL_STANDARD_NAMESPACE::MDSPAN_IMPL_PROPOSED_NAMESPACE ::
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
std::submdspan
/usr/local/include/basix/mdspan.hpp:23:42: note: expanded from macro 'MDSPAN_IMPL_STANDARD_NAMESPACE'
#define MDSPAN_IMPL_STANDARD_NAMESPACE std
^
/usr/local/include/basix/mdspan.hpp:5258:1: note: 'std::submdspan' declared here
submdspan(const mdspan<ElementType, Extents, LayoutPolicy, AccessorPolicy> &src,
^
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.cpp:7:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.h:12:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/Function.h:12:
/Applications/dolfinx-0.7.3/cpp/dolfinx/fem/interpolate.h:611:13: error: no member named 'submdspan' in namespace 'std::experimental'; did you mean 'std::submdspan'?
= MDSPAN_IMPL_STANDARD_NAMESPACE::MDSPAN_IMPL_PROPOSED_NAMESPACE ::
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
std::submdspan
/usr/local/include/basix/mdspan.hpp:23:42: note: expanded from macro 'MDSPAN_IMPL_STANDARD_NAMESPACE'
#define MDSPAN_IMPL_STANDARD_NAMESPACE std
^
/usr/local/include/basix/mdspan.hpp:5258:1: note: 'std::submdspan' declared here
submdspan(const mdspan<ElementType, Extents, LayoutPolicy, AccessorPolicy> &src,
^
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.cpp:7:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.h:12:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/Function.h:12:
/Applications/dolfinx-0.7.3/cpp/dolfinx/fem/interpolate.h:615:13: error: no member named 'submdspan' in namespace 'std::experimental'; did you mean 'std::submdspan'?
= MDSPAN_IMPL_STANDARD_NAMESPACE::MDSPAN_IMPL_PROPOSED_NAMESPACE ::
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
std::submdspan
/usr/local/include/basix/mdspan.hpp:23:42: note: expanded from macro 'MDSPAN_IMPL_STANDARD_NAMESPACE'
#define MDSPAN_IMPL_STANDARD_NAMESPACE std
^
/usr/local/include/basix/mdspan.hpp:5258:1: note: 'std::submdspan' declared here
submdspan(const mdspan<ElementType, Extents, LayoutPolicy, AccessorPolicy> &src,
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [dolfinx/CMakeFiles/dolfinx.dir/fem/DirichletBC.cpp.o] Error 1
make[1]: *** [dolfinx/CMakeFiles/dolfinx.dir/all] Error 2
make: *** [all] Error 2
I would bet that @mekong has still basix 0.8.0 header files installed. That namespace changed on the latest update of mdspan in basix as of a week ago (circa).
Hello,
I found indeed from ccmake ... that the ufc header file directory was the one from another ufc installation that I did with anaconda. I cleaned up the installation, and did
build% cmake ..
-- The C compiler identification is AppleClang 15.0.0.15000100
-- The CXX compiler identification is AppleClang 15.0.0.15000100
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/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: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
fatal: not a git repository (or any of the parent directories): .git
-- Found MPI_C: /opt/homebrew/Cellar/open-mpi/5.0.1/lib/libmpi.dylib (found suitable version "3.1", minimum required is "3")
-- Found MPI_CXX: /opt/homebrew/Cellar/open-mpi/5.0.1/lib/libmpi.dylib (found suitable version "3.1", minimum required is "3")
-- Found MPI: TRUE (found suitable version "3.1", minimum required is "3")
-- Performing Test HAVE_PIPE
-- Performing Test HAVE_PIPE - Success
-- Performing Test HAVE_PEDANTIC
-- Performing Test HAVE_PEDANTIC - Success
-- Performing Test HAVE_DEBUG
-- Performing Test HAVE_DEBUG - Success
-- Performing Test HAVE_O2_OPTIMISATION
-- Performing Test HAVE_O2_OPTIMISATION - Success
-- Found Boost 1.84.0 at /opt/homebrew/lib/cmake/Boost-1.84.0
-- Requested configuration: QUIET REQUIRED COMPONENTS timer
-- Found boost_headers 1.84.0 at /opt/homebrew/lib/cmake/boost_headers-1.84.0
-- Found boost_timer 1.84.0 at /opt/homebrew/lib/cmake/boost_timer-1.84.0
-- [x] libboost_timer-mt.dylib
-- [ ] libboost_timer-mt.a
-- [ ] libboost_timer.dylib
-- [ ] libboost_timer.a
-- Adding boost_timer dependencies: headers
-- Found Boost: /opt/homebrew/lib/cmake/Boost-1.84.0/BoostConfig.cmake (found suitable version "1.84.0", minimum required is "1.70") found components: timer
-- Checking for basix hints with /Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/bin/python3.9
-- Found PkgConfig: /opt/homebrew/Cellar/pkg-config/0.29.2_3/bin/pkg-config (found version "0.29.2")
-- Checking for one of the modules 'PETSc>=3.15;petsc>=3.15'
-- Looking for PETSC_USE_COMPLEX
-- Looking for PETSC_USE_COMPLEX - not found
-- Found PETSc version 3.20.5, prefix: /opt/homebrew/opt/petsc
-- HDF5: Using hdf5 compiler wrapper to determine C configuration
-- Found HDF5: /Applications/hdf5-1.14.3/hdf5/lib/libhdf5.dylib;/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/lib/libz.tbd;/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/lib/libdl.tbd;/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/lib/libm.tbd (found version "1.14.3") found components: C
-- HDF5_DIR: HDF5_DIR-NOTFOUND
-- HDF5_DEFINITIONS:
-- HDF5_INCLUDE_DIRS: /Applications/hdf5-1.14.3/hdf5/include
-- HDF5_LIBRARIES: /Applications/hdf5-1.14.3/hdf5/lib/libhdf5.dylib;/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/lib/libz.tbd;/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/lib/libdl.tbd;/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/lib/libm.tbd
-- HDF5_HL_LIBRARIES:
-- HDF5_C_DEFINITIONS:
-- HDF5_C_INCLUDE_DIR:
-- HDF5_C_INCLUDE_DIRS: /Applications/hdf5-1.14.3/hdf5/include
-- HDF5_C_LIBRARY:
-- HDF5_C_LIBRARIES: /Applications/hdf5-1.14.3/hdf5/lib/libhdf5.dylib;/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/lib/libz.tbd;/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/lib/libdl.tbd;/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/lib/libm.tbd
-- HDF5_C_HL_LIBRARY:
-- HDF5_C_HL_LIBRARIES:
-- Defined targets (if any):
-- ... hdf5::hdf5
-- Found Python3: /Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/bin/python3.9 (found version "3.9.6") found components: Interpreter
-- Asking Python module FFCx for location of UFC... (Python executable: /Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/bin/python3.9)
-- Found UFCx: /Users/michele/.local/lib/python3.10/site-packages/ffcx/codegeneration (found suitable version "0.7.0", minimum required is "0.7")
CMake Warning at CMakeLists.txt:276 (find_package):
By not providing "FindADIOS2.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "ADIOS2", but
CMake did not find one.
Could not find a package configuration file provided by "ADIOS2" (requested
version 2.8.1) with any of the following names:
ADIOS2Config.cmake
adios2-config.cmake
Add the installation prefix of "ADIOS2" to CMAKE_PREFIX_PATH or set
"ADIOS2_DIR" to a directory containing one of the above files. If "ADIOS2"
provides a separate development package or SDK, be sure it has been
installed.
-- Checking for one of the modules 'slepc>=3.15'
-- Checking for package 'SCOTCH-PT'
-- Found SCOTCH (version 7.0.4)
-- Performing test SCOTCH_TEST_RUNS
-- Performing test SCOTCH_TEST_RUNS - Success
-- Found SCOTCH: /opt/homebrew/lib/libptscotch.dylib;/opt/homebrew/lib/libscotch.dylib;/opt/homebrew/lib/libptscotcherr.dylib
-- ParMETIS could not be found/configured. (missing: PARMETIS_TEST_RUNS PARMETIS_INCLUDE_DIRS PARMETIS_VERSION PARMETIS_VERSION_OK) (Required is at least version "4.0.2")
-- The following features have been enabled:
* BUILD_SHARED_LIBS, Build DOLFINx with shared libraries.
* CMAKE_INSTALL_RPATH_USE_LINK_PATH, Add paths to linker search and installed rpath.
* DOLFINX_UFCX_PYTHON, Enable UFCx discovery using Python. Disable if UFCx should be found using a CMake config file.
-- The following OPTIONAL packages have been found:
* SCOTCH, Programs and libraries for graph, mesh and hypergraph partitioning, <https://www.labri.fr/perso/pelegrin/scotch>
Parallel graph partitioning
-- The following REQUIRED packages have been found:
* MPI (required version >= 3)
* pugixml
* boost_headers (required version == 1.84.0)
* boost_timer (required version == 1.84.0)
* Boost (required version >= 1.70), Boost C++ libraries, <http://www.boost.org>
* Basix (required version >= 0.7)
* PETSc, Portable, Extensible Toolkit for Scientific Computation (PETSc), <https://www.mcs.anl.gov/petsc/>
PETSc linear algebra backend
* HDF5, Hierarchical Data Format 5 (HDF5), <https://www.hdfgroup.org/HDF5>
* Python3
* UFCx (required version >= 0.7), Interface for form-compilers (part of FFCx), <https://github.com/fenics/ffcx>
* PkgConfig
-- The following features have been disabled:
* DOLFINX_SKIP_BUILD_TESTS, Skip build tests for testing usability of dependency packages.
-- The following OPTIONAL packages have not been found:
* ADIOS2 (required version >= 2.8.1), Adaptable Input/Output (I/O) System., <https://adios2.readthedocs.io/en/latest/>
IO, including in parallel
-- The following RECOMMENDED packages have not been found:
* SLEPc, Scalable Library for Eigenvalue Problem Computations, <http://slepc.upv.es/>
Eigenvalue computation
* ParMETIS (required version >= 4.0.2), Parallel Graph Partitioning and Fill-reducing Matrix Ordering, <http://glaros.dtc.umn.edu/gkhome/metis/parmetis/overview>
Parallel graph partitioning
-- Configuring done (3.3s)
-- Generating done (0.0s)
-- Build files have been written to: /Applications/dolfinx-0.7.3/cpp/build
and then
% make install
[ 2%] Building CXX object dolfinx/CMakeFiles/dolfinx.dir/common/log.cpp.o
[ 4%] Building CXX object dolfinx/CMakeFiles/dolfinx.dir/common/MPI.cpp.o
[ 6%] Building CXX object dolfinx/CMakeFiles/dolfinx.dir/common/Table.cpp.o
[ 9%] Building CXX object dolfinx/CMakeFiles/dolfinx.dir/common/Timer.cpp.o
[ 11%] Building CXX object dolfinx/CMakeFiles/dolfinx.dir/common/TimeLogger.cpp.o
[ 13%] Building CXX object dolfinx/CMakeFiles/dolfinx.dir/common/TimeLogManager.cpp.o
[ 16%] Building CXX object dolfinx/CMakeFiles/dolfinx.dir/common/timing.cpp.o
[ 18%] Building CXX object dolfinx/CMakeFiles/dolfinx.dir/fem/DirichletBC.cpp.o
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.cpp:7:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.h:12:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/Function.h:11:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/FunctionSpace.h:18:
/Applications/dolfinx-0.7.3/cpp/dolfinx/mesh/Geometry.h:316:17: error: no member named 'submdspan' in namespace 'std::experimental'; did you mean 'std::submdspan'?
auto xc = MDSPAN_IMPL_STANDARD_NAMESPACE::MDSPAN_IMPL_PROPOSED_NAMESPACE::
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
std::submdspan
/usr/local/include/basix/mdspan.hpp:23:42: note: expanded from macro 'MDSPAN_IMPL_STANDARD_NAMESPACE'
#define MDSPAN_IMPL_STANDARD_NAMESPACE std
^
/usr/local/include/basix/mdspan.hpp:5258:1: note: 'std::submdspan' declared here
submdspan(const mdspan<ElementType, Extents, LayoutPolicy, AccessorPolicy> &src,
^
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.cpp:7:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.h:12:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/Function.h:11:
/Applications/dolfinx-0.7.3/cpp/dolfinx/fem/FunctionSpace.h:262:16: error: no member named 'submdspan' in namespace 'std::experimental'; did you mean 'std::submdspan'?
auto phi = MDSPAN_IMPL_STANDARD_NAMESPACE::MDSPAN_IMPL_PROPOSED_NAMESPACE::
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
std::submdspan
/usr/local/include/basix/mdspan.hpp:23:42: note: expanded from macro 'MDSPAN_IMPL_STANDARD_NAMESPACE'
#define MDSPAN_IMPL_STANDARD_NAMESPACE std
^
/usr/local/include/basix/mdspan.hpp:5258:1: note: 'std::submdspan' declared here
submdspan(const mdspan<ElementType, Extents, LayoutPolicy, AccessorPolicy> &src,
^
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.cpp:7:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.h:12:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/Function.h:11:
/Applications/dolfinx-0.7.3/cpp/dolfinx/fem/FunctionSpace.h:269:21: error: no member named 'submdspan' in namespace 'std::experimental'; did you mean 'std::submdspan'?
auto x_dofs = MDSPAN_IMPL_STANDARD_NAMESPACE::
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
std::submdspan
/usr/local/include/basix/mdspan.hpp:23:42: note: expanded from macro 'MDSPAN_IMPL_STANDARD_NAMESPACE'
#define MDSPAN_IMPL_STANDARD_NAMESPACE std
^
/usr/local/include/basix/mdspan.hpp:5258:1: note: 'std::submdspan' declared here
submdspan(const mdspan<ElementType, Extents, LayoutPolicy, AccessorPolicy> &src,
^
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.cpp:7:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.h:12:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/Function.h:12:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/interpolate.h:18:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/geometry/BoundingBoxTree.h:14:
/Applications/dolfinx-0.7.3/cpp/dolfinx/mesh/utils.h:152:17: error: no member named 'submdspan' in namespace 'std::experimental'; did you mean 'std::submdspan'?
auto dofs = MDSPAN_IMPL_STANDARD_NAMESPACE::MDSPAN_IMPL_PROPOSED_NAMESPACE::
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
std::submdspan
/usr/local/include/basix/mdspan.hpp:23:42: note: expanded from macro 'MDSPAN_IMPL_STANDARD_NAMESPACE'
#define MDSPAN_IMPL_STANDARD_NAMESPACE std
^
/usr/local/include/basix/mdspan.hpp:5258:1: note: 'std::submdspan' declared here
submdspan(const mdspan<ElementType, Extents, LayoutPolicy, AccessorPolicy> &src,
^
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.cpp:7:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.h:12:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/Function.h:12:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/interpolate.h:18:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/geometry/BoundingBoxTree.h:14:
/Applications/dolfinx-0.7.3/cpp/dolfinx/mesh/utils.h:455:11: error: no member named 'submdspan' in namespace 'std::experimental'; did you mean 'std::submdspan'?
= MDSPAN_IMPL_STANDARD_NAMESPACE::MDSPAN_IMPL_PROPOSED_NAMESPACE::
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
std::submdspan
/usr/local/include/basix/mdspan.hpp:23:42: note: expanded from macro 'MDSPAN_IMPL_STANDARD_NAMESPACE'
#define MDSPAN_IMPL_STANDARD_NAMESPACE std
^
/usr/local/include/basix/mdspan.hpp:5258:1: note: 'std::submdspan' declared here
submdspan(const mdspan<ElementType, Extents, LayoutPolicy, AccessorPolicy> &src,
^
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.cpp:7:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.h:12:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/Function.h:12:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/interpolate.h:19:
/Applications/dolfinx-0.7.3/cpp/dolfinx/geometry/utils.h:57:13: error: no member named 'submdspan' in namespace 'std::experimental'; did you mean 'std::submdspan'?
= MDSPAN_IMPL_STANDARD_NAMESPACE::MDSPAN_IMPL_PROPOSED_NAMESPACE::
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
std::submdspan
/usr/local/include/basix/mdspan.hpp:23:42: note: expanded from macro 'MDSPAN_IMPL_STANDARD_NAMESPACE'
#define MDSPAN_IMPL_STANDARD_NAMESPACE std
^
/usr/local/include/basix/mdspan.hpp:5258:1: note: 'std::submdspan' declared here
submdspan(const mdspan<ElementType, Extents, LayoutPolicy, AccessorPolicy> &src,
^
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.cpp:7:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.h:12:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/Function.h:12:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/interpolate.h:19:
/Applications/dolfinx-0.7.3/cpp/dolfinx/geometry/utils.h:96:19: error: no member named 'submdspan' in namespace 'std::experimental'; did you mean 'std::submdspan'?
auto dofs = MDSPAN_IMPL_STANDARD_NAMESPACE::
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
std::submdspan
/usr/local/include/basix/mdspan.hpp:23:42: note: expanded from macro 'MDSPAN_IMPL_STANDARD_NAMESPACE'
#define MDSPAN_IMPL_STANDARD_NAMESPACE std
^
/usr/local/include/basix/mdspan.hpp:5258:1: note: 'std::submdspan' declared here
submdspan(const mdspan<ElementType, Extents, LayoutPolicy, AccessorPolicy> &src,
^
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.cpp:7:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.h:12:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/Function.h:12:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/interpolate.h:19:
/Applications/dolfinx-0.7.3/cpp/dolfinx/geometry/utils.h:527:19: error: no member named 'submdspan' in namespace 'std::experimental'; did you mean 'std::submdspan'?
auto dofs = MDSPAN_IMPL_STANDARD_NAMESPACE::
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
std::submdspan
/usr/local/include/basix/mdspan.hpp:23:42: note: expanded from macro 'MDSPAN_IMPL_STANDARD_NAMESPACE'
#define MDSPAN_IMPL_STANDARD_NAMESPACE std
^
/usr/local/include/basix/mdspan.hpp:5258:1: note: 'std::submdspan' declared here
submdspan(const mdspan<ElementType, Extents, LayoutPolicy, AccessorPolicy> &src,
^
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.cpp:7:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.h:12:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/Function.h:12:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/interpolate.h:19:
/Applications/dolfinx-0.7.3/cpp/dolfinx/geometry/utils.h:877:21: error: no member named 'submdspan' in namespace 'std::experimental'; did you mean 'std::submdspan'?
auto dofs = MDSPAN_IMPL_STANDARD_NAMESPACE::
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
std::submdspan
/usr/local/include/basix/mdspan.hpp:23:42: note: expanded from macro 'MDSPAN_IMPL_STANDARD_NAMESPACE'
#define MDSPAN_IMPL_STANDARD_NAMESPACE std
^
/usr/local/include/basix/mdspan.hpp:5258:1: note: 'std::submdspan' declared here
submdspan(const mdspan<ElementType, Extents, LayoutPolicy, AccessorPolicy> &src,
^
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.cpp:7:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.h:12:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/Function.h:12:
/Applications/dolfinx-0.7.3/cpp/dolfinx/fem/interpolate.h:70:14: error: no member named 'submdspan' in namespace 'std::experimental'; did you mean 'std::submdspan'?
auto phi = MDSPAN_IMPL_STANDARD_NAMESPACE::MDSPAN_IMPL_PROPOSED_NAMESPACE::
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
std::submdspan
/usr/local/include/basix/mdspan.hpp:23:42: note: expanded from macro 'MDSPAN_IMPL_STANDARD_NAMESPACE'
#define MDSPAN_IMPL_STANDARD_NAMESPACE std
^
/usr/local/include/basix/mdspan.hpp:5258:1: note: 'std::submdspan' declared here
submdspan(const mdspan<ElementType, Extents, LayoutPolicy, AccessorPolicy> &src,
^
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.cpp:7:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.h:12:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/Function.h:12:
/Applications/dolfinx-0.7.3/cpp/dolfinx/fem/interpolate.h:81:19: error: no member named 'submdspan' in namespace 'std::experimental'; did you mean 'std::submdspan'?
auto x_dofs = MDSPAN_IMPL_STANDARD_NAMESPACE::
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
std::submdspan
/usr/local/include/basix/mdspan.hpp:23:42: note: expanded from macro 'MDSPAN_IMPL_STANDARD_NAMESPACE'
#define MDSPAN_IMPL_STANDARD_NAMESPACE std
^
/usr/local/include/basix/mdspan.hpp:5258:1: note: 'std::submdspan' declared here
submdspan(const mdspan<ElementType, Extents, LayoutPolicy, AccessorPolicy> &src,
^
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.cpp:7:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.h:12:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/Function.h:12:
/Applications/dolfinx-0.7.3/cpp/dolfinx/fem/interpolate.h:552:11: error: no member named 'submdspan' in namespace 'std::experimental'; did you mean 'std::submdspan'?
= MDSPAN_IMPL_STANDARD_NAMESPACE::MDSPAN_IMPL_PROPOSED_NAMESPACE ::
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
std::submdspan
/usr/local/include/basix/mdspan.hpp:23:42: note: expanded from macro 'MDSPAN_IMPL_STANDARD_NAMESPACE'
#define MDSPAN_IMPL_STANDARD_NAMESPACE std
^
/usr/local/include/basix/mdspan.hpp:5258:1: note: 'std::submdspan' declared here
submdspan(const mdspan<ElementType, Extents, LayoutPolicy, AccessorPolicy> &src,
^
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.cpp:7:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.h:12:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/Function.h:12:
/Applications/dolfinx-0.7.3/cpp/dolfinx/fem/interpolate.h:566:13: error: no member named 'submdspan' in namespace 'std::experimental'; did you mean 'std::submdspan'?
= MDSPAN_IMPL_STANDARD_NAMESPACE::MDSPAN_IMPL_PROPOSED_NAMESPACE ::
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
std::submdspan
/usr/local/include/basix/mdspan.hpp:23:42: note: expanded from macro 'MDSPAN_IMPL_STANDARD_NAMESPACE'
#define MDSPAN_IMPL_STANDARD_NAMESPACE std
^
/usr/local/include/basix/mdspan.hpp:5258:1: note: 'std::submdspan' declared here
submdspan(const mdspan<ElementType, Extents, LayoutPolicy, AccessorPolicy> &src,
^
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.cpp:7:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.h:12:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/Function.h:12:
/Applications/dolfinx-0.7.3/cpp/dolfinx/fem/interpolate.h:571:13: error: no member named 'submdspan' in namespace 'std::experimental'; did you mean 'std::submdspan'?
= MDSPAN_IMPL_STANDARD_NAMESPACE::MDSPAN_IMPL_PROPOSED_NAMESPACE ::
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
std::submdspan
/usr/local/include/basix/mdspan.hpp:23:42: note: expanded from macro 'MDSPAN_IMPL_STANDARD_NAMESPACE'
#define MDSPAN_IMPL_STANDARD_NAMESPACE std
^
/usr/local/include/basix/mdspan.hpp:5258:1: note: 'std::submdspan' declared here
submdspan(const mdspan<ElementType, Extents, LayoutPolicy, AccessorPolicy> &src,
^
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.cpp:7:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.h:12:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/Function.h:12:
/Applications/dolfinx-0.7.3/cpp/dolfinx/fem/interpolate.h:576:13: error: no member named 'submdspan' in namespace 'std::experimental'; did you mean 'std::submdspan'?
= MDSPAN_IMPL_STANDARD_NAMESPACE::MDSPAN_IMPL_PROPOSED_NAMESPACE ::
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
std::submdspan
/usr/local/include/basix/mdspan.hpp:23:42: note: expanded from macro 'MDSPAN_IMPL_STANDARD_NAMESPACE'
#define MDSPAN_IMPL_STANDARD_NAMESPACE std
^
/usr/local/include/basix/mdspan.hpp:5258:1: note: 'std::submdspan' declared here
submdspan(const mdspan<ElementType, Extents, LayoutPolicy, AccessorPolicy> &src,
^
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.cpp:7:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.h:12:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/Function.h:12:
/Applications/dolfinx-0.7.3/cpp/dolfinx/fem/interpolate.h:602:13: error: no member named 'submdspan' in namespace 'std::experimental'; did you mean 'std::submdspan'?
= MDSPAN_IMPL_STANDARD_NAMESPACE::MDSPAN_IMPL_PROPOSED_NAMESPACE ::
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
std::submdspan
/usr/local/include/basix/mdspan.hpp:23:42: note: expanded from macro 'MDSPAN_IMPL_STANDARD_NAMESPACE'
#define MDSPAN_IMPL_STANDARD_NAMESPACE std
^
/usr/local/include/basix/mdspan.hpp:5258:1: note: 'std::submdspan' declared here
submdspan(const mdspan<ElementType, Extents, LayoutPolicy, AccessorPolicy> &src,
^
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.cpp:7:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.h:12:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/Function.h:12:
/Applications/dolfinx-0.7.3/cpp/dolfinx/fem/interpolate.h:606:13: error: no member named 'submdspan' in namespace 'std::experimental'; did you mean 'std::submdspan'?
= MDSPAN_IMPL_STANDARD_NAMESPACE::MDSPAN_IMPL_PROPOSED_NAMESPACE ::
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
std::submdspan
/usr/local/include/basix/mdspan.hpp:23:42: note: expanded from macro 'MDSPAN_IMPL_STANDARD_NAMESPACE'
#define MDSPAN_IMPL_STANDARD_NAMESPACE std
^
/usr/local/include/basix/mdspan.hpp:5258:1: note: 'std::submdspan' declared here
submdspan(const mdspan<ElementType, Extents, LayoutPolicy, AccessorPolicy> &src,
^
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.cpp:7:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.h:12:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/Function.h:12:
/Applications/dolfinx-0.7.3/cpp/dolfinx/fem/interpolate.h:611:13: error: no member named 'submdspan' in namespace 'std::experimental'; did you mean 'std::submdspan'?
= MDSPAN_IMPL_STANDARD_NAMESPACE::MDSPAN_IMPL_PROPOSED_NAMESPACE ::
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
std::submdspan
/usr/local/include/basix/mdspan.hpp:23:42: note: expanded from macro 'MDSPAN_IMPL_STANDARD_NAMESPACE'
#define MDSPAN_IMPL_STANDARD_NAMESPACE std
^
/usr/local/include/basix/mdspan.hpp:5258:1: note: 'std::submdspan' declared here
submdspan(const mdspan<ElementType, Extents, LayoutPolicy, AccessorPolicy> &src,
^
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.cpp:7:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/DirichletBC.h:12:
In file included from /Applications/dolfinx-0.7.3/cpp/dolfinx/fem/Function.h:12:
/Applications/dolfinx-0.7.3/cpp/dolfinx/fem/interpolate.h:615:13: error: no member named 'submdspan' in namespace 'std::experimental'; did you mean 'std::submdspan'?
= MDSPAN_IMPL_STANDARD_NAMESPACE::MDSPAN_IMPL_PROPOSED_NAMESPACE ::
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
std::submdspan
/usr/local/include/basix/mdspan.hpp:23:42: note: expanded from macro 'MDSPAN_IMPL_STANDARD_NAMESPACE'
#define MDSPAN_IMPL_STANDARD_NAMESPACE std
^
/usr/local/include/basix/mdspan.hpp:5258:1: note: 'std::submdspan' declared here
submdspan(const mdspan<ElementType, Extents, LayoutPolicy, AccessorPolicy> &src,
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [dolfinx/CMakeFiles/dolfinx.dir/fem/DirichletBC.cpp.o] Error 1
make[1]: *** [dolfinx/CMakeFiles/dolfinx.dir/all] Error 2
make: *** [all] Error 2
Now the issue has changed, which suggests tha the issue before was with the location of the header files. Do you know how to fix this latest issue?
That didn’t make any difference whatsoever, basix include is still /usr/local/include/basix/mdspan.hpp. Until you are sure which version of basix you installed there, I doubt the error will change significantly.
Remove the basix in usr/local/include and reinstall it.
Is there a specific reason you are installing from source and not using any of our package managing options? (Conda, docker, spack?)