GCC 7.3.0 fails to compile StochasticPart
The use of the same signature for a class and for an alias seems to confuse the compiler.
--- calling all for dune-randomfield ---
--- calling vcsetup for dune-randomfield ---
--- calling configure for dune-randomfield ---
WARNING: could not find module 'dune-alugrid',
module is also unknown to pkg-config.
Maybe you need to adjust PKG_CONFIG_PATH!
'dune-alugrid' is suggested by dune-pdelab
Skipping 'dune-alugrid'!
cmake -DDUNE_BUILD_DIRECTORY_ROOT_PATH='/home/saospina/Codes/DUNE_INSTALL/Debug' "-Ddune-common_DIR=/home/saospina/Codes/DUNE_INSTALL/Debug/dune-common" "-Ddune-geometry_DIR=/home/saospina/Codes/DUNE_INSTALL/Debug/dune-geometry" "-Ddune-uggrid_DIR=/home/saospina/Codes/DUNE_INSTALL/Debug/dune-uggrid" "-Ddune-grid_DIR=/home/saospina/Codes/DUNE_INSTALL/Debug/dune-grid" "-Ddune-localfunctions_DIR=/home/saospina/Codes/DUNE_INSTALL/Debug/dune-localfunctions" "-Ddune-istl_DIR=/home/saospina/Codes/DUNE_INSTALL/Debug/dune-istl" "-Ddune-typetree_DIR=/home/saospina/Codes/DUNE_INSTALL/Debug/dune-typetree" "-Ddune-functions_DIR=/home/saospina/Codes/DUNE_INSTALL/Debug/dune-functions" "-Ddune-pdelab_DIR=/home/saospina/Codes/DUNE_INSTALL/Debug/dune-pdelab" -DCMAKE_BUILD_TYPE=Debug -DDUNE_PYTHON_VIRTUALENV_SETUP=1 -DDUNE_PYTHON_ALLOW_GET_PIP=1 "/home/saospina/Codes/DUNE_SRC/dune-randomfield"
-- The CXX compiler identification is GNU 7.3.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- The C compiler identification is GNU 7.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Dependencies for dune-randomfield: dune-common
-- Suggestions for dune-randomfield: dune-grid;dune-pdelab
-- Dependencies for dune-grid: dune-geometry (>= 2.6)
-- Suggestions for dune-grid: dune-uggrid (>=2.6)
-- Dependencies for dune-pdelab: dune-grid (>= 2.6);dune-localfunctions (>= 2.6);dune-istl (>= 2.6);dune-typetree (>= 2.6);dune-functions (>= 2.6)
-- Suggestions for dune-pdelab: dune-alugrid
-- Could NOT find dune-alugrid (missing: dune-alugrid_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-alugrid '
-- No package 'dune-alugrid' found
-- Dependencies for dune-grid: dune-geometry (>= 2.6)
-- Suggestions for dune-grid: dune-uggrid (>=2.6)
-- Dependencies for dune-localfunctions: dune-geometry (>= 2.6)
-- Dependencies for dune-istl: dune-common (>= 2.6)
-- Dependencies for dune-typetree: dune-common (>= 2.6)
-- Dependencies for dune-functions: dune-geometry (>= 2.6);dune-localfunctions (>= 2.6);dune-grid (>= 2.6);dune-istl (>= 2.6);dune-typetree
-- Dependencies for dune-uggrid: dune-common
-- Dependencies for dune-geometry: dune-common (>= 2.6)
-- Dependencies for dune-geometry: dune-common (>= 2.6)
-- Dependencies for dune-localfunctions: dune-geometry (>= 2.6)
-- Dependencies for dune-grid: dune-geometry (>= 2.6)
-- Suggestions for dune-grid: dune-uggrid (>=2.6)
-- Dependencies for dune-istl: dune-common (>= 2.6)
-- Dependencies for dune-typetree: dune-common (>= 2.6)
-- Dependencies for dune-uggrid: dune-common
-- Dependencies for dune-uggrid: dune-common
-- Dependencies for dune-geometry: dune-common (>= 2.6)
-- The Fortran compiler identification is GNU 7.3.0
-- Check for working Fortran compiler: /usr/bin/gfortran
-- Check for working Fortran compiler: /usr/bin/gfortran -- works
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Checking whether /usr/bin/gfortran supports Fortran 90
-- Checking whether /usr/bin/gfortran supports Fortran 90 -- yes
-- Performing Test cxx_std_flag_17
-- Performing Test cxx_std_flag_17 - Success
-- Performing Test compiler_supports_cxx17
-- Performing Test compiler_supports_cxx17 - Success
-- Performing Test HAS_ATTRIBUTE_UNUSED
-- Performing Test HAS_ATTRIBUTE_UNUSED - Success
-- Performing Test HAS_ATTRIBUTE_DEPRECATED
-- Performing Test HAS_ATTRIBUTE_DEPRECATED - Success
-- Performing Test HAS_ATTRIBUTE_DEPRECATED_MSG
-- Performing Test HAS_ATTRIBUTE_DEPRECATED_MSG - Success
-- Performing Test HAVE_IS_INDEXABLE_SUPPORT
-- Performing Test HAVE_IS_INDEXABLE_SUPPORT - Success
-- Performing Test DUNE_HAVE_CXX_CLASS_TEMPLATE_ARGUMENT_DEDUCTION
-- Performing Test DUNE_HAVE_CXX_CLASS_TEMPLATE_ARGUMENT_DEDUCTION - Success
-- Performing Test DUNE_HAVE_CXX_OPTIONAL
-- Performing Test DUNE_HAVE_CXX_OPTIONAL - Success
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Found Threads: TRUE
-- Performing Test STDTHREAD_WORKS
-- Performing Test STDTHREAD_WORKS - Success
-- Performing Test DUNE_SUPPORTS_CXX_THROW_IN_CONSTEXPR
-- Performing Test DUNE_SUPPORTS_CXX_THROW_IN_CONSTEXPR - Success
-- Looking for C++ include experimental/type_traits
-- Looking for C++ include experimental/type_traits - found
-- Looking for std::make_unique<int>
-- Looking for std::make_unique<int> - found
-- Looking for std::move<std::bool_constant<true>>
-- Looking for std::move<std::bool_constant<true>> - found
-- Looking for std::apply<std::negate<int>,std::tuple<int>>
-- Looking for std::apply<std::negate<int>,std::tuple<int>> - found
-- 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
-- Performing Test HAVE_CXA_DEMANGLE
-- Performing Test HAVE_CXA_DEMANGLE - Success
-- Found MPI_C: /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so (found version "3.1")
-- Found MPI_CXX: /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi_cxx.so (found version "3.1")
-- Found MPI_Fortran: /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi_usempif08.so (found version "3.1")
-- Found MPI: TRUE (found version "3.1")
-- Detecting Fortran/C Interface
-- Detecting Fortran/C Interface - Found GLOBAL and MODULE mangling
-- Verifying Fortran/CXX Compiler Compatibility
-- Verifying Fortran/CXX Compiler Compatibility - Success
-- Found LATEX: /usr/bin/latex
-- Found UnixCommands: /bin/bash
-- Found Sphinx: /usr/bin/sphinx-build
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.13") found components: doxygen missing components: dot
-- Searching for macro file 'DuneCommonMacros' for module 'dune-common'.
-- Performing tests specific to dune-common from file /home/saospina/Codes/DUNE_SRC/dune-common/cmake/modules/DuneCommonMacros.cmake.
CMake Warning (dev) at /home/saospina/Codes/DUNE_SRC/dune-common/cmake/modules/DuneStreams.cmake:18 (elseif):
Policy CMP0054 is not set: Only interpret if() arguments as variables or
keywords when unquoted. Run "cmake --help-policy CMP0054" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.
Quoted variables like "info" will no longer be dereferenced when the policy
is set to NEW. Since the policy is not set the OLD behavior will be used.
Call Stack (most recent call first):
/home/saospina/Codes/DUNE_SRC/dune-common/cmake/modules/DuneCommonMacros.cmake:10 (dune_set_minimal_debug_level)
/home/saospina/Codes/DUNE_SRC/dune-common/cmake/modules/DuneMacros.cmake:583 (include)
/home/saospina/Codes/DUNE_SRC/dune-common/cmake/modules/DuneMacros.cmake:735 (dune_process_dependency_macros)
CMakeLists.txt:19 (dune_project)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Set Minimal Debug Level to 4
-- Looking for Fortran dgemm
-- Looking for Fortran dgemm - found
-- A library with BLAS API found.
-- Looking for Fortran cheev
-- Looking for Fortran cheev - found
-- A library with LAPACK API found.
-- Looking for C++ include gmpxx.h
-- Looking for C++ include gmpxx.h - not found
-- Could NOT find GMP (missing: GMPXX_INCLUDE_DIR GMP_LIB GMPXX_LIB GMP_HEADER_WORKS GMPXX_LIB_WORKS)
-- Looking for sys/mman.h
-- Looking for sys/mman.h - found
-- Performing Test HAVE_MPROTECT
-- Performing Test HAVE_MPROTECT - Success
-- Library dir: TBB_LIBRARY_DIR-NOTFOUND
-- Performing Test TBB_COMPILE_TEST
-- Performing Test TBB_COMPILE_TEST - Failed
-- Could NOT find TBB (missing: TBB_INCLUDE_DIRS TBB_LIBRARIES TBB_COMPILE_TEST)
-- Could NOT find Vc (missing: Vc_DIR)
-- Found PythonInterp: /usr/bin/python3.6 (found version "3.6.7")
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.6m.so (found version "3.6.7")
-- Found pip_/usr/bin/python3.6: TRUE
-- Using existing virtualenv in /home/saospina/Codes/DUNE_INSTALL/Debug/dune-common/dune-env
-- Found pip_/home/saospina/Codes/DUNE_INSTALL/Debug/dune-common/dune-env/bin/python: TRUE
-- Setting dune-common_INCLUDE_DIRS=/home/saospina/Codes/DUNE_SRC/dune-common
-- Setting dune-common_LIBRARIES=dunecommon
-- Searching for macro file 'DuneGeometryMacros' for module 'dune-geometry'.
-- No module specific tests perfomed for module 'dune-geometry' because macro file 'DuneGeometryMacros.cmake' not found in /home/saospina/Codes/DUNE_SRC/dune-randomfield/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-pdelab/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-functions/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-localfunctions/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-grid/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-istl/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-typetree/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-uggrid/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-geometry/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-common/cmake/modules.
-- Setting dune-geometry_INCLUDE_DIRS=/home/saospina/Codes/DUNE_SRC/dune-geometry
-- Setting dune-geometry_LIBRARIES=dunegeometry
-- Searching for macro file 'DuneUggridMacros' for module 'dune-uggrid'.
-- Performing tests specific to dune-uggrid from file /home/saospina/Codes/DUNE_SRC/dune-uggrid/cmake/modules/DuneUggridMacros.cmake.
-- Looking for rpc/rpc.h
-- Looking for rpc/rpc.h - found
-- Setting dune-uggrid_INCLUDE_DIRS=/home/saospina/Codes/DUNE_SRC/dune-uggrid
-- Setting dune-uggrid_LIBRARIES=ugL;ugS2;ugS3
-- Searching for macro file 'DuneTypetreeMacros' for module 'dune-typetree'.
-- Performing tests specific to dune-typetree from file /home/saospina/Codes/DUNE_SRC/dune-typetree/cmake/modules/DuneTypetreeMacros.cmake.
-- Setting dune-typetree_INCLUDE_DIRS=/home/saospina/Codes/DUNE_SRC/dune-typetree
-- Searching for macro file 'DuneIstlMacros' for module 'dune-istl'.
-- Performing tests specific to dune-istl from file /home/saospina/Codes/DUNE_SRC/dune-istl/cmake/modules/DuneIstlMacros.cmake.
-- Looking for metis.h
-- Looking for metis.h - found
-- Looking for METIS_PartGraphKway
-- Looking for METIS_PartGraphKway - found
-- Found METIS: /usr/include
-- Looking for parmetis.h
-- Looking for parmetis.h - found
-- Looking for parmetis_v3_partkway
-- Looking for parmetis_v3_partkway - found
-- Found ParMETIS: /usr/include
-- Performing Test SUPERLU_MIN_VERSION_4
-- Performing Test SUPERLU_MIN_VERSION_4 - Success
-- Performing Test SUPERLU_MIN_VERSION_4_3
-- Performing Test SUPERLU_MIN_VERSION_4_3 - Success
-- Performing Test SUPERLU_MIN_VERSION_5
-- Performing Test SUPERLU_MIN_VERSION_5 - Success
-- Looking for include file slu_sdefs.h
-- Looking for include file slu_sdefs.h - found
-- Looking for include file slu_cdefs.h
-- Looking for include file slu_cdefs.h - found
-- Looking for include file slu_zdefs.h
-- Looking for include file slu_zdefs.h - found
-- Found SuperLU: TRUE
CMake Deprecation Warning at /usr/share/cmake-3.10/Modules/FeatureSummary.cmake:671 (message):
SET_PACKAGE_INFO is deprecated. Use SET_PACKAGE_PROPERTIES instead.
Call Stack (most recent call first):
/home/saospina/Codes/DUNE_SRC/dune-istl/cmake/modules/FindSuperLU.cmake:171 (set_package_info)
/home/saospina/Codes/DUNE_SRC/dune-istl/cmake/modules/DuneIstlMacros.cmake:9 (find_package)
/home/saospina/Codes/DUNE_SRC/dune-common/cmake/modules/DuneMacros.cmake:583 (include)
/home/saospina/Codes/DUNE_SRC/dune-common/cmake/modules/DuneMacros.cmake:735 (dune_process_dependency_macros)
CMakeLists.txt:19 (dune_project)
-- Could NOT find ARPACK (missing: ARPACK_LIBRARY)
-- Could NOT find ARPACKPP (missing: ARPACK_FOUND ARPACKPP_INCLUDE_DIR)
-- Performing Test SUITESPARSE_MIN_VERSION_4_3
-- Performing Test SUITESPARSE_MIN_VERSION_4_3 - Success
-- Found SuiteSparse: TRUE found components: LDL SPQR UMFPACK
-- Setting dune-istl_INCLUDE_DIRS=/home/saospina/Codes/DUNE_SRC/dune-istl
-- Searching for macro file 'DuneGridMacros' for module 'dune-grid'.
-- Performing tests specific to dune-grid from file /home/saospina/Codes/DUNE_SRC/dune-grid/cmake/modules/DuneGridMacros.cmake.
-- Looking for mkstemp
-- Looking for mkstemp - found
-- Checking for one of the modules 'psurface'
-- Checking for module 'psurface'
-- No package 'psurface' found
-- Could NOT find psurface (missing: PSURFACE_INCLUDE_DIR PSURFACE_LIBRARY)
-- Could NOT find AmiraMesh (missing: AMIRAMESH_INCLUDE_DIR AMIRAMESH_LIBRARY)
-- Setting dune-grid_INCLUDE_DIRS=/home/saospina/Codes/DUNE_SRC/dune-grid
-- Setting dune-grid_LIBRARIES=dunegrid
-- Searching for macro file 'DuneLocalfunctionsMacros' for module 'dune-localfunctions'.
-- No module specific tests perfomed for module 'dune-localfunctions' because macro file 'DuneLocalfunctionsMacros.cmake' not found in /home/saospina/Codes/DUNE_SRC/dune-randomfield/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-pdelab/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-functions/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-localfunctions/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-grid/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-istl/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-typetree/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-uggrid/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-geometry/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-common/cmake/modules.
-- Setting dune-localfunctions_INCLUDE_DIRS=/home/saospina/Codes/DUNE_SRC/dune-localfunctions
-- Searching for macro file 'DuneFunctionsMacros' for module 'dune-functions'.
-- Performing tests specific to dune-functions from file /home/saospina/Codes/DUNE_SRC/dune-functions/cmake/modules/DuneFunctionsMacros.cmake.
-- Setting dune-functions_INCLUDE_DIRS=/home/saospina/Codes/DUNE_SRC/dune-functions
-- Searching for macro file 'DuneAlugridMacros' for module 'dune-alugrid'.
-- No module specific tests perfomed for module 'dune-alugrid' because macro file 'DuneAlugridMacros.cmake' not found in /home/saospina/Codes/DUNE_SRC/dune-randomfield/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-pdelab/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-functions/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-localfunctions/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-grid/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-istl/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-typetree/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-uggrid/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-geometry/cmake/modules;/home/saospina/Codes/DUNE_SRC/dune-common/cmake/modules.
-- Searching for macro file 'DunePdelabMacros' for module 'dune-pdelab'.
-- Performing tests specific to dune-pdelab from file /home/saospina/Codes/DUNE_SRC/dune-pdelab/cmake/modules/DunePdelabMacros.cmake.
-- PETSc could not be found. Be sure to set PETSC_DIR and PETSC_ARCH. (missing: PETSC_INCLUDES PETSC_LIBRARIES PETSC_EXECUTABLE_RUNS)
CMake Warning at /home/saospina/Codes/DUNE_SRC/dune-pdelab/cmake/modules/UseEigen.cmake:1 (find_package):
By not providing "FindEigen3.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Eigen3", but
CMake did not find one.
Could not find a package configuration file provided by "Eigen3" with any
of the following names:
Eigen3Config.cmake
eigen3-config.cmake
Add the installation prefix of "Eigen3" to CMAKE_PREFIX_PATH or set
"Eigen3_DIR" to a directory containing one of the above files. If "Eigen3"
provides a separate development package or SDK, be sure it has been
installed.
Call Stack (most recent call first):
/home/saospina/Codes/DUNE_SRC/dune-pdelab/cmake/modules/DunePdelabMacros.cmake:2 (include)
/home/saospina/Codes/DUNE_SRC/dune-common/cmake/modules/DuneMacros.cmake:583 (include)
/home/saospina/Codes/DUNE_SRC/dune-common/cmake/modules/DuneMacros.cmake:735 (dune_process_dependency_macros)
CMakeLists.txt:19 (dune_project)
-- Setting dune-pdelab_INCLUDE_DIRS=/home/saospina/Codes/DUNE_SRC/dune-pdelab
-- Setting dune-pdelab_LIBRARIES=dunepdelab
-- Searching for macro file 'DuneRandomfieldMacros' for module 'dune-randomfield'.
-- Performing tests specific to dune-randomfield from file /home/saospina/Codes/DUNE_SRC/dune-randomfield/cmake/modules/DuneRandomfieldMacros.cmake.
-- Found FFTW3: /usr/lib/x86_64-linux-gnu/libfftw3_mpi.so
-- HDF5: Using hdf5 compiler wrapper to determine C configuration
-- Found HDF5: /usr/lib/x86_64-linux-gnu/hdf5/openmpi/libhdf5.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so (found version "1.10.0.1")
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11")
-- Found PNG: /usr/lib/x86_64-linux-gnu/libpng.so (found version "1.6.34")
-- Found GSL: /usr/include (found version "2.4")
-- Adding custom target for config.h generation
-- The following OPTIONAL packages have been found:
* dune-grid
* dune-pdelab
* dune-localfunctions
* dune-istl
* dune-typetree
* dune-functions
* dune-uggrid
* dune-geometry
* MPI, Message Passing Interface library
Parallel programming on multiple processors
* LATEX, Type setting system
To generate the documentation
* Sphinx, Documentation generator, <www.sphinx-doc.org>
To generate the documentation from CMake and Python sources
* Doxygen, Class documentation generator, <www.doxygen.org>
To generate the class documentation from C++ sources
* LAPACK, fast linear algebra routines
* Inkscape, converts SVG images, <www.inkscape.org>
To generate the documentation with LaTeX
* PythonInterp
* PythonLibs
* SuperLU, Direct linear solver library
* Threads, Multi-threading library
* SuiteSparse
* METIS
* ParMETIS
* HDF5
* ZLIB
* PNG
* PkgConfig, Unified interface for querying installed libraries
To find Dune module dependencies
* GSL
-- The following REQUIRED packages have been found:
* dune-common
* FFTW3
-- The following OPTIONAL packages have not been found:
* dune-alugrid
* GMP, GNU multi-precision library including the C++ bindings GMPxx
Mulity-precision quadrature rules, basis function evaluation etc.
* TBB, Threading Building Blocks library
Parallel programming on multi-core processors
* Vc, C++ Vectorization library, <https://github.com/VcDevel/Vc>
For use of SIMD instructions
* ARPACK
* ARPACKPP
* Alberta
* Psurface
* AmiraMesh
* PETSc
* Eigen3
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
DUNE_BUILD_DIRECTORY_ROOT_PATH
DUNE_PYTHON_ALLOW_GET_PIP
-- Build files have been written to: /home/saospina/Codes/DUNE_INSTALL/Debug/dune-randomfield
--- calling make for dune-randomfield ---
----- using default flags $MAKE_FLAGS from /home/saospina/Codes/DUNE_SRC/install_debug.opts -----
build directory: /home/saospina/Codes/DUNE_INSTALL/Debug
cmake --build . -- -j 6
Scanning dependencies of target fieldgenerator
[ 50%] Building CXX object src/CMakeFiles/fieldgenerator.dir/fieldgenerator.cc.o
In file included from /home/saospina/Codes/DUNE_SRC/dune-randomfield/dune/randomfield/randomfield.hh:18:0,
from /home/saospina/Codes/DUNE_SRC/dune-randomfield/src/fieldgenerator.cc:22:
/home/saospina/Codes/DUNE_SRC/dune-randomfield/dune/randomfield/matrix.hh:27:72: error: declaration of ‘using StochasticPart = class Dune::RandomField::StochasticPart<Traits, Dune::RandomField::RandomFieldMatrix>’ [-fpermissive]
using StochasticPart = StochasticPart<Traits,RandomFieldMatrix>;
^
In file included from /home/saospina/Codes/DUNE_SRC/dune-randomfield/dune/randomfield/randomfield.hh:17:0,
from /home/saospina/Codes/DUNE_SRC/dune-randomfield/src/fieldgenerator.cc:22:
/home/saospina/Codes/DUNE_SRC/dune-randomfield/dune/randomfield/stochastic.hh:22:13: error: changes meaning of ‘StochasticPart’ from ‘class Dune::RandomField::StochasticPart<Traits, Dune::RandomField::RandomFieldMatrix>’ [-fpermissive]
class StochasticPart
^~~~~~~~~~~~~~
In file included from /home/saospina/Codes/DUNE_SRC/dune-randomfield/src/fieldgenerator.cc:22:0:
/home/saospina/Codes/DUNE_SRC/dune-randomfield/dune/randomfield/randomfield.hh:34:63: error: declaration of ‘using StochasticPart = class Dune::RandomField::StochasticPart<Dune::RandomField::RandomFieldTraits<GridTraits, Matrix>, Matrix>’ [-fpermissive]
using StochasticPart = StochasticPart<Traits,Matrix>;
^
In file included from /home/saospina/Codes/DUNE_SRC/dune-randomfield/dune/randomfield/randomfield.hh:15:0,
from /home/saospina/Codes/DUNE_SRC/dune-randomfield/src/fieldgenerator.cc:22:
/home/saospina/Codes/DUNE_SRC/dune-randomfield/dune/randomfield/fieldtraits.hh:85:70: error: changes meaning of ‘StochasticPart’ from ‘class Dune::RandomField::StochasticPart<Dune::RandomField::RandomFieldTraits<GridTraits, Matrix>, Matrix>’ [-fpermissive]
template<typename Traits, template<typename> class Matrix> class StochasticPart;
^~~~~~~~~~~~~~
src/CMakeFiles/fieldgenerator.dir/build.make:62: recipe for target 'src/CMakeFiles/fieldgenerator.dir/fieldgenerator.cc.o' failed
make[2]: *** [src/CMakeFiles/fieldgenerator.dir/fieldgenerator.cc.o] Error 1
CMakeFiles/Makefile2:1635: recipe for target 'src/CMakeFiles/fieldgenerator.dir/all' failed
make[1]: *** [src/CMakeFiles/fieldgenerator.dir/all] Error 2
Makefile:162: recipe for target 'all' failed
make: *** [all] Error 2
--- Failed to build dune-randomfield ---
Terminating dunecontrol due to previous errors!