Dear all,

I am trying to compile the latest development version of dealii (version 
9.1.0-pre, shortrev 7537ea7) using intel/18.0.2, intelmpi and cmake/3.10.2.

During compilation I get the following error:

/work/05316/dsambit/publicSharedSoftware/dealiiDevLatest/dealii/source/multigrid/mg_transfer_matrix_free.cc(356):
 
error: expression must have a constant value
    constexpr unsigned int three_to_dim = Utilities::pow(3, dim);

I have attached the detailed.log file. 

 I am wondering if I am missing any compilation flags, or whether this is 
an intel compiler issue.

Thanks a lot in advance,

Best,
Sambit

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
###
#
#  deal.II configuration:
#        CMAKE_BUILD_TYPE:       DebugRelease
#        BUILD_SHARED_LIBS:      ON
#        CMAKE_INSTALL_PREFIX:   
/work/05316/dsambit/publicSharedSoftware/dealiiDevLatest/intel_18.0.2_scalapack_64Bit
#        CMAKE_SOURCE_DIR:       
/work/05316/dsambit/publicSharedSoftware/dealiiDevLatest/dealii
#                                (version 9.1.0-pre, shortrev 7537ea7)
#        CMAKE_BINARY_DIR:       
/work/05316/dsambit/publicSharedSoftware/dealiiDevLatest/buildScalapackIntel18.0.2
#        CMAKE_CXX_COMPILER:     Intel 18.0.2.20180210 on platform Linux x86_64
#                                /opt/apps/intel18/impi/18.0.2/bin/mpicxx
#        CMAKE_C_COMPILER:       /opt/apps/intel18/impi/18.0.2/bin/mpicc
#        CMAKE_Fortran_COMPILER: 
/opt/intel/compilers_and_libraries_2018.2.199/linux/mpi/intel64/bin/mpiifort
#        CMAKE_GENERATOR:        Unix Makefiles
#
#  Base configuration (prior to feature configuration):
#        DEAL_II_CXX_FLAGS:            -fpic -ansi -w2 -diag-disable=remark 
-wd21 -wd68 -wd135 -wd175 -wd177 -wd191 -wd193 -wd279 -wd327 -wd383 -wd981 
-wd1418 -wd1478 -wd1572 -wd2259 -wd2536 -wd2651 -wd3415 -wd15531 -wd111 -wd128 
-wd185 -wd186 -wd280 -qopenmp-simd -std=c++14 -xMIC-AVX512
#        DEAL_II_CXX_FLAGS_RELEASE:    -O2 -no-ansi-alias -ip -funroll-loops -O3
#        DEAL_II_CXX_FLAGS_DEBUG:      -O0 -g -gdwarf-2 -grecord-gcc-switches
#        DEAL_II_LINKER_FLAGS:         -Wl,--as-needed -shared-intel -qopenmp 
-rdynamic -fuse-ld=gold
#        DEAL_II_LINKER_FLAGS_RELEASE: 
#        DEAL_II_LINKER_FLAGS_DEBUG:   
#        DEAL_II_DEFINITIONS:          
#        DEAL_II_DEFINITIONS_RELEASE:  
#        DEAL_II_DEFINITIONS_DEBUG:    DEBUG
#        DEAL_II_USER_DEFINITIONS:     
#        DEAL_II_USER_DEFINITIONS_REL: 
#        DEAL_II_USER_DEFINITIONS_DEB: DEBUG
#        DEAL_II_INCLUDE_DIRS          
#        DEAL_II_USER_INCLUDE_DIRS:    
#        DEAL_II_BUNDLED_INCLUDE_DIRS: 
#        DEAL_II_LIBRARIES:            
#        DEAL_II_LIBRARIES_RELEASE:    
#        DEAL_II_LIBRARIES_DEBUG:      
#        DEAL_II_COMPILER_VECTORIZATION_LEVEL: 3
#
#  Configured Features (DEAL_II_ALLOW_BUNDLED = ON, DEAL_II_ALLOW_AUTODETECTION 
= ON):
#        DEAL_II_WITH_64BIT_INDICES = ON
#      ( DEAL_II_WITH_ADOLC = OFF )
#      ( DEAL_II_WITH_ARPACK = OFF )
#      ( DEAL_II_WITH_ASSIMP = OFF )
#        DEAL_II_WITH_BOOST set up with bundled packages
#            BOOST_BUNDLED_INCLUDE_DIRS = 
/work/05316/dsambit/publicSharedSoftware/dealiiDevLatest/dealii/bundled/boost-1.62.0/include
#            BOOST_LIBRARIES = rt
#      ( DEAL_II_WITH_CUDA = OFF )
#        DEAL_II_WITH_CXX14 = ON
#      ( DEAL_II_WITH_CXX17 = OFF )
#      ( DEAL_II_WITH_GMSH = OFF )
#      ( DEAL_II_WITH_GSL = OFF )
#      ( DEAL_II_WITH_HDF5 = OFF )
#        DEAL_II_WITH_LAPACK set up with external dependencies
#            LAPACK_DIR = 
/opt/intel/compilers_and_libraries_2018.2.199/linux/mkl/lib/intel64
#            LAPACK_LINKER_FLAGS = -liomp5 -lpthread -lm -ldl
#            LAPACK_LIBRARIES = 
/opt/intel/compilers_and_libraries_2018.2.199/linux/mkl/lib/intel64/libmkl_intel_lp64.so;/opt/intel/compilers_and_libraries_2018.2.199/linux/mkl/lib/intel64/libmkl_core.so;/opt/intel/compilers_and_libraries_2018.2.199/linux/mkl/lib/intel64/libmkl_intel_thread.so
#      ( DEAL_II_WITH_METIS = OFF )
#        DEAL_II_WITH_MPI set up with external dependencies
#            MPI_VERSION = 3.1
#            MPI_C_COMPILER = /opt/apps/intel18/impi/18.0.2/bin/mpicc
#            MPI_CXX_COMPILER = /opt/apps/intel18/impi/18.0.2/bin/mpicxx
#            MPI_Fortran_COMPILER = 
/opt/intel/compilers_and_libraries_2018.2.199/linux/mpi/intel64/bin/mpiifort
#            MPI_CXX_FLAGS = 
#            MPI_LINKER_FLAGS = 
#            MPI_INCLUDE_DIRS = 
#            MPI_USER_INCLUDE_DIRS = 
#            MPI_LIBRARIES = 
#        DEAL_II_WITH_MUPARSER set up with bundled packages
#            MUPARSER_BUNDLED_INCLUDE_DIRS = 
/work/05316/dsambit/publicSharedSoftware/dealiiDevLatest/dealii/bundled/muparser_v2_2_4//include
#      ( DEAL_II_WITH_NANOFLANN = OFF )
#      ( DEAL_II_WITH_NETCDF = OFF )
#      ( DEAL_II_WITH_OPENCASCADE = OFF )
#        DEAL_II_WITH_P4EST set up with external dependencies
#            P4EST_VERSION = 2.0
#            P4EST_DIR = 
/work/05316/dsambit/publicSharedSoftware/p4est/install_intel18.0.0
#            P4EST_INCLUDE_DIRS = 
/work/05316/dsambit/publicSharedSoftware/p4est/install_intel18.0.0/FAST/include
#            P4EST_USER_INCLUDE_DIRS = 
/work/05316/dsambit/publicSharedSoftware/p4est/install_intel18.0.0/FAST/include
#            P4EST_LIBRARIES = 
optimized;/work/05316/dsambit/publicSharedSoftware/p4est/install_intel18.0.0/FAST/lib/libp4est.so;/work/05316/dsambit/publicSharedSoftware/p4est/install_intel18.0.0/FAST/lib/libsc.so;debug;/work/05316/dsambit/publicSharedSoftware/p4est/install_intel18.0.0/DEBUG/lib/libp4est.so;/work/05316/dsambit/publicSharedSoftware/p4est/install_intel18.0.0/DEBUG/lib/libsc.so;general;/opt/intel/compilers_and_libraries_2018.2.199/linux/mkl/lib/intel64/libmkl_intel_lp64.so;/opt/intel/compilers_and_libraries_2018.2.199/linux/mkl/lib/intel64/libmkl_core.so;/opt/intel/compilers_and_libraries_2018.2.199/linux/mkl/lib/intel64/libmkl_intel_thread.so
#      ( DEAL_II_WITH_PETSC = OFF )
#        DEAL_II_WITH_SCALAPACK set up with external dependencies
#            SCALAPACK_DIR = 
/opt/intel/compilers_and_libraries_2018.2.199/linux/mkl/lib/intel64
#            SCALAPACK_LIBRARIES = 
/opt/intel/compilers_and_libraries_2018.2.199/linux/mkl/lib/intel64/libmkl_scalapack_lp64.so;/opt/intel/compilers_and_libraries_2018.2.199/linux/mkl/lib/intel64/libmkl_blacs_intelmpi_lp64.so
#      ( DEAL_II_WITH_SLEPC = OFF )
#      ( DEAL_II_WITH_SUNDIALS = OFF )
#        DEAL_II_WITH_THREADS set up with bundled packages
#            TBB_VERSION = 4.1
#            THREADS_CXX_FLAGS = -Wno-parentheses
#            THREADS_DEFINITIONS_DEBUG = TBB_USE_DEBUG;TBB_DO_ASSERT=1
#            THREADS_USER_DEFINITIONS_DEBUG = TBB_USE_DEBUG;TBB_DO_ASSERT=1
#            THREADS_BUNDLED_INCLUDE_DIRS = 
/work/05316/dsambit/publicSharedSoftware/dealiiDevLatest/dealii/bundled/tbb-2018_U2/include
#            THREADS_LIBRARIES = dl
#      ( DEAL_II_WITH_TRILINOS = OFF )
#        DEAL_II_WITH_UMFPACK set up with bundled packages
#            UMFPACK_BUNDLED_INCLUDE_DIRS = 
/work/05316/dsambit/publicSharedSoftware/dealiiDevLatest/dealii/bundled/umfpack/UMFPACK/Include;/work/05316/dsambit/publicSharedSoftware/dealiiDevLatest/dealii/bundled/umfpack/AMD/Include
#        DEAL_II_WITH_ZLIB set up with external dependencies
#            ZLIB_VERSION = 1.2.7
#            ZLIB_INCLUDE_DIRS = /usr/include
#            ZLIB_LIBRARIES = /usr/lib64/libz.so
#
#  Component configuration:
#      ( DEAL_II_COMPONENT_DOCUMENTATION = OFF )
#      ( DEAL_II_COMPONENT_EXAMPLES = OFF )
#      ( DEAL_II_COMPONENT_PACKAGE = OFF )
#      ( DEAL_II_COMPONENT_PYTHON_BINDINGS = OFF )
#
###

Reply via email to