trilinos / Trilinos

Primary repository for the Trilinos Project
https://trilinos.org/
Other
1.19k stars 559 forks source link

MueLu: Build Errors with Intel 17.0.1 C++14 build #8051

Closed ZUUL42 closed 3 years ago

ZUUL42 commented 3 years ago

Bug Report

@trilinos/muelu

Description

In updating the Intel 17.0.1 build to C++14, I'm getting build errors from MueLu.

We're trying to update these builds to C++14 before 09/28 when @trilinos/kokkos is going to merge in a snapshot that requires C++14. Ties to #8015 & #6260.

Steps to Reproduce

CDash showing failing builds

ndellingwood commented 3 years ago

FYI: errors of this form

/scratch/trilinos/jenkins/ascic158/workspace/trilinos-folder/Trilinos_pullrequest_intel_17.0.1/Trilinos/packages/kokkos/core/src/impl/Kokkos_EBO.hpp(128): error: invalid type for defaulted assignment operator
    EBOBaseImpl& operator=(EBOBaseImpl const&) = default;

indicate that the intel/17.0.1 module is loading too old of a gcc compiler, this will require loading/swapping the gcc module for a newer version (I had to do this for the Kokkos nightly builds).

Cross-reference https://github.com/trilinos/Trilinos/issues/8048#issuecomment-694538389

jhux2 commented 3 years ago

@ZUUL42 It seems best for the MueLu team to wait for you to try the module swap that @ndellingwood suggested. (@ndellingwood Thanks for the suggestion!)

ZUUL42 commented 3 years ago

Doh! Thanks. Can't believe I missed that. It was still using the default GCC 4.9.3 for Intel 17. Now that I have it updated to GCC 5.3.0, we have tests failing for ROL & Piro. I'll close this and write appropriate issue tickets.