installation fails with intel/19.0.5

36 views
Skip to first unread message

Victor Eijkhout

unread,
Sep 27, 2019, 4:31:41 PM9/27/19
to deal.II User Group
CMakeError.log attached.

CMakeError.log

Daniel Arndt

unread,
Sep 27, 2019, 5:22:21 PM9/27/19
to dea...@googlegroups.com
Victor,

does running CMake or can't you compile after configuring? I don't immediately see anything suspicious in CMakeError.log.
What is the output when running when `cmake` or, if the former works, what is the output when trying to compile?

Best,
Daniel

Am Fr., 27. Sept. 2019 um 16:31 Uhr schrieb Victor Eijkhout <eijk...@tacc.utexas.edu>:
CMakeError.log attached.

--
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+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/e282fbb9-cde8-4a83-b1c7-ca7727f19dc3%40googlegroups.com.

Wolfgang Bangerth

unread,
Sep 27, 2019, 5:24:12 PM9/27/19
to dea...@googlegroups.com
On 9/27/19 2:31 PM, Victor Eijkhout wrote:
> /opt/intel/compilers_and_libraries_2019.5.281/linux/bin/intel64/icpc -DDEAL_II_HAVE_ATTRIBUTE_FALLTHROUGH -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++17 -Werror -Wno-unused-command-line-argument -o CMakeFiles/cmTC_5e770.dir/src.cxx.o -c /tmp/dealii-build/CMakeFiles/CMakeTmp/src.cxx
> icpc: command line warning #10148: option '-Wno-unused-command-line-argument' not supported
> /tmp/dealii-build/CMakeFiles/CMakeTmp/src.cxx(10): error #1292: unknown attribute "fallthrough"
> __attribute__((fallthrough));
> ^
>
> /tmp/dealii-build/CMakeFiles/CMakeTmp/src.cxx(13): error #1292: unknown attribute "fallthrough"
> __attribute__((fallthrough));
> ^

Didn't we recently merge a patch where ICC reported that it understands
C++17, but doesn't in fact support this attribute? Does that ring a bell
for anyone?

Best
W.

--
------------------------------------------------------------------------
Wolfgang Bangerth email: bang...@colostate.edu
www: http://www.math.colostate.edu/~bangerth/

Marc Fehling

unread,
Sep 30, 2019, 4:23:00 PM9/30/19
to deal.II User Group


On Friday, September 27, 2019 at 11:24:12 PM UTC+2, Wolfgang Bangerth wrote:

Didn't we recently merge a patch where ICC reported that it understands
C++17, but doesn't in fact support this attribute? Does that ring a bell
for anyone?

Intel published a list of all C++17 features that their Intel19 compiler features here.

We had an issue with Intel19 not understanding class template argument deduction (CTAD), which has been fixed via this patch.

Victor, have you tried disabling C++17 support? Maybe that'll do the trick...

Best,
Marc

Victor Eijkhout

unread,
Sep 30, 2019, 5:01:45 PM9/30/19
to dea...@googlegroups.com


On Sep 30, 2019, at 3:23 PM, Marc Fehling <m.fe...@fz-juelich.de> wrote:

Victor, have you tried disabling C++17 support? Maybe that'll do the trick...


cmake option please?

(is there a list of all cmake options for your build process?)

My best guess was:

-DDEAL_II_WITH_CXX17=OFF

and that got me to:

%%%%%%%%%%%%%%%%
Run Build Command:"/usr/bin/gmake" "cmTC_8b681/fast"
/usr/bin/gmake -f CMakeFiles/cmTC_8b681.dir/build.make CMakeFiles/cmTC_8b681.dir/build
gmake[1]: Entering directory `/tmp/dealii-build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_8b681.dir/src.cxx.o
/opt/intel/compilers_and_libraries_2019.5.281/linux/bin/intel64/icpc    -DDEAL_II_HAVE_FLAG_Wimplicit_fallthrough=0   -Wimplicit-fallthrough=0 -o CMakeFiles/cmTC_8b681.dir/src.cxx.o -c /tmp/dealii-build/CMakeFiles/CMakeTmp/src.cxx
icpc: command line warning #10148: option '-W=implicit-fallthrough=0' not supported
Linking CXX executable cmTC_8b681
/opt/apps/cmake/3.13.4/bin/cmake -E cmake_link_script CMakeFiles/cmTC_8b681.dir/link.txt --verbose=1
/opt/intel/compilers_and_libraries_2019.5.281/linux/bin/intel64/icpc   -DDEAL_II_HAVE_FLAG_Wimplicit_fallthrough=0    -rdynamic CMakeFiles/cmTC_8b681.dir/src.cxx.o  -o cmTC_8b681
gmake[1]: Leaving directory `/tmp/dealii-build/CMakeFiles/CMakeTmp'

Source file was:
int main() { return 0; }
Performing C++ SOURCE FILE Test DEAL_II_HAVE_FLAG_Wno_nested_anon_types failed with the following output:
Change Dir: /tmp/dealii-build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/gmake" "cmTC_b3b8f/fast"
/usr/bin/gmake -f CMakeFiles/cmTC_b3b8f.dir/build.make CMakeFiles/cmTC_b3b8f.dir/build

%%%%%%%%%%%

which does not look fatal to me. It’s only a warning.

Files attached.

Victor.

CMakeError.log
CMakeOutput.log

Marc Fehling

unread,
Sep 30, 2019, 6:29:23 PM9/30/19
to deal.II User Group


On Monday, September 30, 2019 at 11:01:45 PM UTC+2, Victor Eijkhout wrote:


On Sep 30, 2019, at 3:23 PM, Marc Fehling <m.fe...@fz-juelich.de> wrote:

Victor, have you tried disabling C++17 support? Maybe that'll do the trick...


cmake option please?

(is there a list of all cmake options for your build process?)

My best guess was:

-DDEAL_II_WITH_CXX17=OFF

Your guess was indeed correct :) You'll find a list of cmake attributes for deal.II in the documentation here.
 

and that got me to:

%%%%%%%%%%%%%%%%
Run Build Command:"/usr/bin/gmake" "cmTC_8b681/fast"
/usr/bin/gmake -f CMakeFiles/cmTC_8b681.dir/build.make CMakeFiles/cmTC_8b681.dir/build
gmake[1]: Entering directory `/tmp/dealii-build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_8b681.dir/src.cxx.o
/opt/intel/compilers_and_libraries_2019.5.281/linux/bin/intel64/icpc    -DDEAL_II_HAVE_FLAG_Wimplicit_fallthrough=0   -Wimplicit-fallthrough=0 -o CMakeFiles/cmTC_8b681.dir/src.cxx.o -c /tmp/dealii-build/CMakeFiles/CMakeTmp/src.cxx
icpc: command line warning #10148: option '-W=implicit-fallthrough=0' not supported
Linking CXX executable cmTC_8b681
/opt/apps/cmake/3.13.4/bin/cmake -E cmake_link_script CMakeFiles/cmTC_8b681.dir/link.txt --verbose=1
/opt/intel/compilers_and_libraries_2019.5.281/linux/bin/intel64/icpc   -DDEAL_II_HAVE_FLAG_Wimplicit_fallthrough=0    -rdynamic CMakeFiles/cmTC_8b681.dir/src.cxx.o  -o cmTC_8b681
gmake[1]: Leaving directory `/tmp/dealii-build/CMakeFiles/CMakeTmp'

Source file was:
int main() { return 0; }
Performing C++ SOURCE FILE Test DEAL_II_HAVE_FLAG_Wno_nested_anon_types failed with the following output:
Change Dir: /tmp/dealii-build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/gmake" "cmTC_b3b8f/fast"
/usr/bin/gmake -f CMakeFiles/cmTC_b3b8f.dir/build.make CMakeFiles/cmTC_b3b8f.dir/build

%%%%%%%%%%%

which does not look fatal to me. It’s only a warning.

Yes, these are only warnings.

I am confused about Intel19's state on the fallthrough flag: They say that it is implemented on their website, but it seems that they just prepared it according to this statement? Or is it just the 'implicit fallthrough' feature that Intel19 is not capable off.

Would you mind to try enabling C++17 support but disabling the implicit fallthrough feature by providing "-DDEAL_II_WITH_CXX17=ON -DDEAL_II_HAVE_FLAG_Wimplicit_fallthrough=0" to cmake? If this fails, I think it would be best to keep C++17 disabled for now...

Best,
Marc

Victor Eijkhout

unread,
Sep 30, 2019, 10:05:34 PM9/30/19
to dea...@googlegroups.com


On Sep 30, 2019, at 5:29 PM, Marc Fehling <m.fe...@fz-juelich.de> wrote:

DDEAL_II_HAVE_FLAG_Wimplicit_fallthrough=0

Hm. Turns out I had an explicit c++14 in my compiler specification. At least now I don’t get that fallthrough message anymore.

But I’m still not finishing the cmake.

So there is a ton of 

%%%%%%%%%%
-- Include /admin/build/admin/rpms/frontera/BUILD/dealii-9.1.1/cmake/configure/configure_scalapack.cmake
-- SCALAPACK_LIBRARY not found! Call:
--     FIND_LIBRARY(SCALAPACK_LIBRARY NAMES scalapack scalapack-openmpi scalapack-pvm scalapack-mpi scalapack-mpich scalapack-mpich2 scalapack-lam HINTS PATH_SUFFIXES lib lib64 lib)
--   SCALAPACK_LIBRARIES: *** Required variable "SCALAPACK_LIBRARY" set to NOTFOUND ***
--   SCALAPACK_LINKER_FLAGS:
-- Could NOT find SCALAPACK
-- DEAL_II_WITH_SCALAPACK has unmet external dependencies.
%%%%%%%%%%

reports. What do those mean? Are they fatal or is that only cmake discovering what’s available and what not?

Victor.

Daniel Arndt

unread,
Oct 1, 2019, 1:13:32 AM10/1/19
to dea...@googlegroups.com
Victor,


But I’m still not finishing the cmake.

So there is a ton of 
...
What do those mean? Are they fatal or is that only cmake discovering what’s available and what not?

No, these are not fatal. We just check for the dependencies to enable.
Again, what is the full output when running CMake? Does it create a Makefile you can run via 'make'?

Best,
Daniel

Timo Heister

unread,
Oct 5, 2019, 10:27:54 AM10/5/19
to dea...@googlegroups.com
Victor,

see https://github.com/dealii/dealii/issues/8755 that details that you
need to disable CXX17 with Intel 19.0.5 for now. Otherwise I have no
problem running with 19.0.5 on Frontera.
> --
> 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+un...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/CAOYDWbJdQ8%2BEbCREUCJ8VXgCoZP3qYatkvg%3DQ%2BT5PU%3DufwYufg%40mail.gmail.com.



--
Timo Heister
http://www.math.clemson.edu/~heister/

Victor Eijkhout

unread,
Oct 5, 2019, 11:10:38 AM10/5/19
to dea...@googlegroups.com


On Oct 5, 2019, at 9:27 AM, Timo Heister <hei...@clemson.edu> wrote:

Otherwise I have no
problem running with 19.0.5 on Frontera.

Dictate me you cmake line?

Victor.

Timo Heister

unread,
Oct 5, 2019, 5:14:05 PM10/5/19
to dea...@googlegroups.com
CC=mpicc CXX=mpicxx cmake \
-D DEAL_II_WITH_MPI=ON \
-D DEAL_II_CXX_FLAGS="-march=native" \
-D DEAL_II_WITH_CXX17=OFF \
-D DEAL_II_WITH_64BIT_INDICES=ON \
-D DEAL_II_COMPONENT_EXAMPLES=OFF \
-D CMAKE_INSTALL_PREFIX=`pwd`/install \
../../deal-git

This is with Intel 19.0.5 and intel MPI. You can also run without
64bit indices, but I need it to be able to do large runs with more
than 4 billion DoFs.

On Sat, Oct 5, 2019 at 11:10 AM Victor Eijkhout
<eijk...@tacc.utexas.edu> wrote:
>
>
>
> On Oct 5, 2019, at 9:27 AM, Timo Heister <hei...@clemson.edu> wrote:
>
> Otherwise I have no
> problem running with 19.0.5 on Frontera.
>
>
> Dictate me you cmake line?
>
> Victor.
>
> --
> 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+un...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/CA0DCDFA-0246-4300-9C44-1355958D61F2%40tacc.utexas.edu.

Victor Eijkhout

unread,
Oct 5, 2019, 7:09:22 PM10/5/19
to dea...@googlegroups.com


On Oct 5, 2019, at 4:13 PM, Timo Heister <timo.h...@gmail.com> wrote:

    -D DEAL_II_WITH_MPI=ON \
    -D DEAL_II_CXX_FLAGS="-march=native" \
    -D DEAL_II_WITH_CXX17=OFF \
    -D DEAL_II_WITH_64BIT_INDICES=ON \
    -D DEAL_II_COMPONENT_EXAMPLES=OFF \
    -D CMAKE_INSTALL_PREFIX=`pwd`/install  \
    ../../deal-git

So this is a build without petsc, trilinos, and what not?

Victor.

Timo Heister

unread,
Oct 5, 2019, 8:38:16 PM10/5/19
to dea...@googlegroups.com
Victor,

this might a bit too specific for the mailing list, but I detail my
installation steps for deal.II+ASPECT on Frontera here:
https://github.com/geodynamics/aspect/wiki/Installation-on-Frontera
(Trilinos and p4est, I don't need PETSc right now)
> --
> 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+un...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/17802784-5ECC-4FF6-97BE-7232DCA4AAAF%40tacc.utexas.edu.
Reply all
Reply to author
Forward
0 new messages