]> https://gitweb.dealii.org/ - dealii.git/commitdiff
CI: Disable -fuse-ld=gold on Jenkins CI
authorMatthias Maier <tamiko@43-1.org>
Mon, 6 Mar 2023 17:01:40 +0000 (11:01 -0600)
committerMatthias Maier <tamiko@43-1.org>
Fri, 17 Mar 2023 12:44:54 +0000 (07:44 -0500)
This works around an underlinkage issue with the current CI environment
and the Trilinos library:
```
/home/dealii/libs/trilinos-release-13-2-0/lib/libstratimikosamesos2.so: error: undefined reference to 'Amesos2::KLU2<Tpetra::CrsMatrix<float, int, long long, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> >, Tpetra::MultiVector<float, int, long long, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> > >::KLU2(Teuchos::RCP<Tpetra::CrsMatrix<float, int, long long, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> > const>, Teuchos::RCP<Tpetra::MultiVector<float, int, long long, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> > >, Teuchos::RCP<Tpetra::MultiVector<float, int, long long, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> > const>)'
/home/dealii/libs/trilinos-release-13-2-0/lib/libstratimikosamesos2.so: error: undefined reference to 'Amesos2::TachoSolver<Tpetra::CrsMatrix<float, int, long long, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> >, Tpetra::MultiVector<float, int, long long, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> > >::TachoSolver(Teuchos::RCP<Tpetra::CrsMatrix<float, int, long long, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> > const>, Teuchos::RCP<Tpetra::MultiVector<float, int, long long, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> > >, Teuchos::RCP<Tpetra::MultiVector<float, int, long long, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> > const>)'
/home/dealii/libs/trilinos-release-13-2-0/lib/libstratimikosbelos.so: error: undefined reference to 'Tpetra::MultiVector<float, int, long long, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> >::getVector(unsigned long) const'
/home/dealii/libs/trilinos-release-13-2-0/lib/libstratimikosbelos.so: error: undefined reference to 'Tpetra::MultiVector<float, int, long long, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> >::getLocalLength() const'
/home/dealii/libs/trilinos-release-13-2-0/lib/libstratimikosbelos.so: error: undefined reference to 'Tpetra::MultiVector<float, int, long long, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> >::getGlobalLength() const'
/home/dealii/libs/trilinos-release-13-2-0/lib/libstratimikosbelos.so: error: undefined reference to 'Tpetra::MultiVector<float, int, long long, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> >::getNumVectors() const'
/home/dealii/libs/trilinos-release-13-2-0/lib/libstratimikosbelos.so: error: undefined reference to 'Tpetra::MultiVector<float, int, long long, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> >::get1dCopy(Teuchos::ArrayView<float> const&, unsigned long) const'
```

contrib/ci/Jenkinsfile.mpi
contrib/ci/Jenkinsfile.serial

index ffb4f3a49dd58dd17b8d9cc6cc7ee1a1f5d505d8..90addb9b10e67c46d64b7036bfc30737724bef84 100644 (file)
@@ -105,6 +105,7 @@ pipeline
                     -D CMAKE_BUILD_TYPE=Debug \
                     -D DEAL_II_WITH_MPI=ON \
                     -D DEAL_II_UNITY_BUILD=OFF \
+                    -D DEAL_II_COMPILER_HAS_FUSE_LD_GOLD=false \
                     $WORKSPACE/
                   time ninja -j 10 # 12 gives OOM
                   time ninja test # quicktests
index 810e626cd443e36c86aeb6ffbdda07fbd8d92814..80bc0783b24560b12c2a38dad9cd69d12a350a9f 100644 (file)
@@ -106,6 +106,7 @@ pipeline
                     -D CMAKE_BUILD_TYPE=Debug \
                     -D DEAL_II_WITH_MPI=OFF \
                     -D DEAL_II_UNITY_BUILD=ON \
+                    -D DEAL_II_COMPILER_HAS_FUSE_LD_GOLD=false \
                     $WORKSPACE/
                   time ninja -j 10 # 12 gives OOM
                   time ninja test # quicktests

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.