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 <[email protected]>: > 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 [email protected]. > 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/CAOYDWbKViZbeo2x%3DzY1Ys-PNfq7n4TZcKDFsoKSTR88AzXQuNQ%40mail.gmail.com.
