The error you are seeing is related to
https://github.com/dealii/dealii/pull/7767/commits/48954cca022288b739fb598b2be76cf15c5d28be.
We haven't seen this problem before. You should be able to just remove the
exception specifier as a workaround, i.e.
change the respective code to

FECollection(FECollection<dim, spacedim> &&) = default;

Use a newer compiler version should help as well.
One other thing I noticed, is that you are using
-DDEAL_II_CXX_FLAGS=-std=c++14 and get multiple C++ standard flags because
of that.
You should just use -DDEAL_II_WITH_CXX_14=ON instead (or just omit it if
you don't explicitly need it).

Best,
Daniel


Am Do., 28. Nov. 2019 um 08:00 Uhr schrieb llf m <miffy....@gmail.com>:

> error occurs in make install
>
> [ 39%] Generating vector_tools_project_qpmf.inst
> [ 39%] Generating vector_tools_rhs.inst
> [ 39%] Built target obj_numerics_inst
> Scanning dependencies of target obj_numerics_release
> [ 39%] Building CXX object
> source/numerics/CMakeFiles/obj_numerics_release.dir/data_out.cc.o
> icpc: command line warning #10121: overriding '-std=c++11' with
> '-std=c++14'
> In file included from
> /BIGDATA1/dealii-9.1.1/source/numerics/data_out.cc(665):
> /BIGDATA1/dealii-9.1.1/include/deal.II/hp/fe_collection.h(145): error: the
> declared exception specific
> ation is incompatible with the generated one
> FECollection(FECollection<dim, spacedim> &&) noexcept(
>       ^
>
> 在 2019年11月28日星期四 UTC+8下午7:19:28,llf m写道:
>>
>> Dear Daniel,
>> Yes, your are right, and after clean the build directory and change the
>> gcc version the 2) errors disappear but other errors appear:
>>
>> In file included from
>> /BIGDATA1/dealii-9.1.1/source/numerics/data_out.cc(665):
>> /BIGDATA1/dealii-9.1.1/include/deal.II/hp/fe_collection.h(145
>> <http://deal.ii/hp/fe_collection.h(145>): error: the declared exception
>> specific
>> ation is incompatible with the generated one
>> FECollection(FECollection<dim, spacedim> &&) noexcept(
>>       ^
>>
>> In file included from
>> /BIGDATA1/dealii-9.1.1/source/numerics/data_out.cc(665):
>> /BIGDATA1/dealii-9.1.1/include/deal.II/hp/fe_collection.h(145
>> <http://deal.ii/hp/fe_collection.h(145>): error: the declared exception
>> specific
>> ation is incompatible with the generated one
>> FECollection(FECollection<dim, spacedim> &&) noexcept(
>>       ^
>>
>> compilation aborted for
>> /BIGDATA1/dealii-9.1.1/source/numerics/data_out.cc (code 2)
>> make[2]: *** [source/numerics/CMakeFiles/obj_numerics_
>> release.dir/data_out.cc.o] Error 2
>> make[1]: *** [source/numerics/CMakeFiles/obj_numerics_release.dir/all]
>> Error 2
>> make: *** [all] Error 2
>>
>> and  I change the compile option to:
>> cmake .. -DDEAL_II_WITH_MPI=ON -DDEAL_II_WITH_BLAS=ON
>> -DBLAS_DIR=/BIGDATA1/app/blas/3.5.0-icc-15.0.1 -DDEAL_II_WITH_LAPACK=ON
>> -DLAPACK_DIR=/BIGDATA1/app/lapack/3.5.0-icc-15.0.1 -DDEAL_II_WITH_HDF5=ON
>> -DHDF5_DIR=/BIGDATA1/app/hdf5/1.8.17-icc-15.0.1-parallel
>> -DDEAL_II_WITH_NETCDF=ON
>> -DNETCDF_DIR=/BIGDATA1/app/netcdf/4.4.1-icc-15.0.1-parallel
>> -DNETCDF_INCLUDE_DIR=/BIGDATA1/app/netcdf/4.4.1-icc-15.0.1-parallel/include
>> -DDEAL_II_WITH_PETSC=ON
>> -DPETSC_DIR=/BIGDATA1/app/petsc/3.6.4-icc-15.0.1-gcc-4.9.2
>> -DPETSC_ARCH=arch-linux2-c-opt
>> -DBOOST_DIR=/BIGDATA1/app/boost/1.59.0-icc-15.0.1-mpich-3.2.1
>> -DARPACK_DIR=/BIGDATA1/app/arpack/96-icc-15.0.1/ARPACK
>> -DDEAL_II_WITH_ARPACK=ON -DMETIS_DIR=/BIGDATA1/app/METIS/5.1.0-icc-15.0.1
>> -DDEAL_II_WITH_METIS=ON
>> -DMUPARSER_DIR=/BIGDATA1/app/muparser/2.2.5-icc-15.0.1
>> -DDEAL_II_WITH_MUPARSER=ON -DP4EST_DIR=/BIGDATA1/app/p4est/2.2-icc-15.0.1
>> -DDEAL_II_WITH_P4EST=ON -DDEAL_II_WITH_SLEPC=ON
>> -DSLEPC_DIR=/BIGDATA1/app/SLEPc/3.6.1-icc-15.0.1-gcc-4.9.2
>> -DDEAL_II_WITH_TRILINOS=ON
>> -DTRILINOS_DIR=/BIGDATA1/app/trilinos/12.10.1-icc-15.0.1
>> -DDEAL_II_WITH_OPENCASCADE=OFF -DCMAKE_INSTALL_PREFIX=/BIGDATA1/app/
>> deal.II/9.1.1-icc-15.0.1 <http://deal.ii/9.1.1-icc-15.0.1> 
>> -DCMAKE_CXX_COMPILER=icpc
>> -DCMAKE_C_COMPILER=icc -DCMAKE_Fortran_COMPILER=ifort
>> -DDEAL_II_CXX_FLAGS=-std=c++14 -DDEAL_II_WITH_64BIT_INDICES=ON
>>
>> the make error likes:
>>
>> [image: 04bccbfcdacdad3e9dd34d062980a1ff (1).png]
>>
>> If you need more information or more suggestions please tell me .
>> Best,
>> m.
>> 在 2019年11月28日星期四 UTC+8上午12:38:25,Daniel Arndt写道:
>>>
>>> m,
>>>
>>> Did you start again from a clean build directory?
>>> The errors you are reporting in 2) are in fact just feature checks and
>>> should not cause configuring to fail. Does CMake complete successfully? If
>>> not, what is the output when running CMake?
>>>
>>> Best,
>>> Daniel
>>>
>>> Am Mi., 27. Nov. 2019 um 06:00 Uhr schrieb llf m <miff...@gmail.com>:
>>>
>>>> Dear all,
>>>>
>>>> I want to install dealii-9.1.1 in Supercomputer center, but failed in
>>>> the cmake step:
>>>> 1) when I use load the cmake version as 3.10.2
>>>> the policy CMP0004 would appear:
>>>> CMake Error at
>>>> /BIGDATA1/dealii-9.1.1/build/CMakeFiles/CMakeTmp/cmTC_83561Targets.cmake:16
>>>> (add_librar
>>>> y):  Target "MPI::MPI_C" links to item " -Wl,-rpath
>>>>   -Wl,/BIGDATA1/app/MPI/mpich/3.2.1-icc-14.0.2-dynamic/lib
>>>>   -Wl,--enable-new-dtags" which has leading or trailing whitespace.
>>>> This is
>>>>   now an error according to policy CMP0004.
>>>> Call Stack (most recent call first):
>>>>   /BIGDATA1/dealii-9.1.1/build/CMakeFiles/CMakeTmp/CMakeLists.txt:12
>>>> (include)
>>>>
>>>> 2) so I changed the cmake version to 3.0.2 the error CMP0004
>>>> disappeared, but still failed:
>>>>
>>>> c++: error: unrecognized command line option '-Wimplicit-fallthrough=0'
>>>>
>>>> c++: error: unrecognized command line option '-flifetime-dse=1'
>>>>
>>>> c++: error: unrecognized command line option '-Wimplicit-fallthrough=0'
>>>> ...
>>>> I have tried with gcc-4.8.5 and trilinos-12.6.3 p4est-2.2.
>>>> CMakeError.log and CMakeOut.log are attatched.
>>>> Is the gcc version 4.8.5 too old to recognize these options?
>>>> Any suggestions is appreciated.
>>>>
>>>> Best,
>>>> m.
>>>>
>>>> --
>>>> 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 dea...@googlegroups.com.
>>>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/dealii/7fea141f-5be9-4a94-8909-2488912d1c47%40googlegroups.com
>>>> <https://groups.google.com/d/msgid/dealii/7fea141f-5be9-4a94-8909-2488912d1c47%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/dealii/c770aa08-dd77-403b-8d34-4e936fe64a30%40googlegroups.com
> <https://groups.google.com/d/msgid/dealii/c770aa08-dd77-403b-8d34-4e936fe64a30%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/CAOYDWbJ3i3dbxUvcsN9pdpjd5euu4kAE%2BJ6j%3DF9GLUWFj2kA4Q%40mail.gmail.com.

Reply via email to