Project

General

Profile

Actions

BilderKnownIssuesGcc730

Trilinos not building issues.

Tried the 7.3.0 toolchain on ivy. Mostly good. Have to be careful not to set F90 and F77 or mpich won't build (tells you to unset F90 during configure), so just have FC set to gfortran.

in build730/trilinos-11.14.3/sercomm/ivy.txcorp.com-trilinos-sercomm-build.txt:


/scr_ivy/smithjd/build730/trilinos-11.14.3/packages/tpetra/kernels/src/Kokkos_ArithTraits.hpp:567:12: error: ‘isinf’ was not declared in this scope
     return isinf (x);
            ^~~~~
/scr_ivy/smithjd/build730/trilinos-11.14.3/packages/tpetra/kernels/src/Kokkos_ArithTraits.hpp:567:12: note: suggested alternative:
In file included from /scr_ivy/smithjd/build730/trilinos-11.14.3/packages/teuchos/core/src/Teuchos_ConfigDefs.hpp:86:0,
                 from /scr_ivy/smithjd/build730/trilinos-11.14.3/packages/tpetra/core/src/Tpetra_ConfigDefs.hpp:82,
                 from /scr_ivy/smithjd/build730/trilinos-11.14.3/packages/tpetra/core/src/Tpetra_CrsGraph_decl.hpp:45,
                 from /scr_ivy/smithjd/build730/trilinos-11.14.3/packages/tpetra/core/src/Tpetra_CrsGraph.cpp:44:
/scr_ivy/smithjd/contrib730/gcc-7.3.0/include/c++/7.3.0/cmath:612:5: note:   ‘std::isinf’
     isinf(_Tp __x)
     ^~~~~
In file included from /scr_ivy/smithjd/build730/trilinos-11.14.3/packages/tpetra/core/src/kokkos_refactor/Tpetra_KokkosRefactor_DistObject_decl.hpp:52:0,
                 from /scr_ivy/smithjd/build730/trilinos-11.14.3/packages/tpetra/core/src/Tpetra_DistObject_decl.hpp:799,
                 from /scr_ivy/smithjd/build730/trilinos-11.14.3/sercomm/packages/tpetra/core/src/Tpetra_DistObject.hpp:1,
                 from /scr_ivy/smithjd/build730/trilinos-11.14.3/packages/tpetra/core/src/Tpetra_CrsGraph_decl.hpp:48,
                 from /scr_ivy/smithjd/build730/trilinos-11.14.3/packages/tpetra/core/src/Tpetra_CrsGraph.cpp:44:
/scr_ivy/smithjd/build730/trilinos-11.14.3/packages/tpetra/kernels/src/Kokkos_ArithTraits.hpp: In static member function ‘static bool Kokkos::Details::ArithTraits<float>::isNan(float)’:
/scr_ivy/smithjd/build730/trilinos-11.14.3/packages/tpetra/kernels/src/Kokkos_ArithTraits.hpp:574:12: error: ‘isnan’ was not declared in this scope
     return isnan (x);
            ^~~~~

Or was this just the build system getting ahead of itself, or forgetting to patch things right?

Updated by Jonathan Smith over 6 years ago · 3 revisions