Skip to content
Failed

Console Output

Pull request #6964 opened
13:00:39 Connecting to https://api.github.com using 476720/******
Obtained .jenkins from 60ad061216c66bf28ac998347ee6c5e39452b086+cf59f3120ed5cd0ef6e223519de02b7d2b30193a (877f10a440e2e18ede51b2ed9198a10f052cd573)
[Pipeline] Start of Pipeline
[Pipeline] withEnv
[Pipeline] {
[Pipeline] timeout
Timeout set to expire in 6 hr 0 min
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Clang-Format)
[Pipeline] node
Running on fetnat08 in /var/jenkins/workspace/Kokkos_PR-6964
[Pipeline] {
[Pipeline] checkout
Selected Git installation does not exist. Using Default
The recommended git tool is: NONE
using credential Jenkins ORNL
Cloning the remote Git repository
Cloning with configured refspecs honoured and without tags
Cloning repository https://github.com/kokkos/kokkos.git
 > git init /var/jenkins/workspace/Kokkos_PR-6964 # timeout=10
Fetching upstream changes from https://github.com/kokkos/kokkos.git
 > git --version # timeout=10
 > git --version # 'git version 2.17.1'
using GIT_ASKPASS to set credentials 
 > git fetch --no-tags --progress -- https://github.com/kokkos/kokkos.git +refs/pull/6964/head:refs/remotes/origin/PR-6964 +refs/heads/develop:refs/remotes/origin/develop # timeout=10
Fetching without tags
 > git config remote.origin.url https://github.com/kokkos/kokkos.git # timeout=10
 > git config --add remote.origin.fetch +refs/pull/6964/head:refs/remotes/origin/PR-6964 # timeout=10
 > git config --add remote.origin.fetch +refs/heads/develop:refs/remotes/origin/develop # timeout=10
 > git config remote.origin.url https://github.com/kokkos/kokkos.git # timeout=10
Fetching upstream changes from https://github.com/kokkos/kokkos.git
using GIT_ASKPASS to set credentials 
 > git fetch --no-tags --progress -- https://github.com/kokkos/kokkos.git +refs/pull/6964/head:refs/remotes/origin/PR-6964 +refs/heads/develop:refs/remotes/origin/develop # timeout=10
Merging remotes/origin/develop commit cf59f3120ed5cd0ef6e223519de02b7d2b30193a into PR head commit 60ad061216c66bf28ac998347ee6c5e39452b086
Merge succeeded, producing 60ad061216c66bf28ac998347ee6c5e39452b086
Checking out Revision 60ad061216c66bf28ac998347ee6c5e39452b086 (PR-6964)
Commit message: "added tutorial for matrix operations"
First time build. Skipping changelog.
[Pipeline] withEnv
[Pipeline] {
[Pipeline] isUnix
[Pipeline] readFile
[Pipeline] sh
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 60ad061216c66bf28ac998347ee6c5e39452b086 # timeout=10
 > git remote # timeout=10
 > git config --get remote.origin.url # timeout=10
using GIT_ASKPASS to set credentials 
 > git merge cf59f3120ed5cd0ef6e223519de02b7d2b30193a # timeout=10
 > git rev-parse HEAD^{commit} # timeout=10
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 60ad061216c66bf28ac998347ee6c5e39452b086 # timeout=10
+ docker build -t f935a1e37bad1657325bc80e5062b33632299eae -f scripts/docker/Dockerfile.clang scripts/docker
DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
            Install the buildx component to build images with BuildKit:
            https://docs.docker.com/go/buildx/

Sending build context to Docker daemon  22.02kB

Step 1/3 : FROM ubuntu:20.04
 ---> 3cff1c6ff37e
Step 2/3 : RUN apt-get update && apt-get install -y         bc         git         build-essential         clang-format-8         wget         &&     apt-get clean &&     rm -rf /var/lib/apt/lists/*
 ---> Using cache
 ---> 71a5788213ed
Step 3/3 : ENV CLANG_FORMAT_EXE=clang-format-8
 ---> Using cache
 ---> ff453a43f7bf
Successfully built ff453a43f7bf
Successfully tagged f935a1e37bad1657325bc80e5062b33632299eae:latest
[Pipeline] isUnix
[Pipeline] withEnv
[Pipeline] {
[Pipeline] sh
+ docker inspect -f . f935a1e37bad1657325bc80e5062b33632299eae
.
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] withDockerContainer
fetnat08 seems to be running inside container ed2c660221ff7829fec36c307d1ecca218efea824ba838c26289c97547e691d3
$ docker run -t -d -u 0:0 -v /tmp/ccache.kokkos:/tmp/ccache -w /var/jenkins/workspace/Kokkos_PR-6964 --volumes-from ed2c660221ff7829fec36c307d1ecca218efea824ba838c26289c97547e691d3 -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** f935a1e37bad1657325bc80e5062b33632299eae cat
$ docker top 61e21a8326c1b47e56176b6f1bdbf02548e68ff651cc039635efcaa67dd42a4a -eo pid,comm
[Pipeline] {
[Pipeline] sh
+ ./scripts/docker/check_format_cpp.sh
diff --git a/example/tutorial/04_simple_memoryspaces_matrix/simple_memoryspaces_matrix.cpp b/example/tutorial/04_simple_memoryspaces_matrix/simple_memoryspaces_matrix.cpp
index a9f7a4bd4..c3d2d090d 100644
--- a/example/tutorial/04_simple_memoryspaces_matrix/simple_memoryspaces_matrix.cpp
+++ b/example/tutorial/04_simple_memoryspaces_matrix/simple_memoryspaces_matrix.cpp
@@ -27,58 +27,58 @@ using matrix_type = Kokkos::View<double**>;
 using host_matrix_type = matrix_type::HostMirror;
 
 struct MatrixMultiply {
-    matrix_type A, B, C;
-    int N;
+  matrix_type A, B, C;
+  int N;
 
-    MatrixMultiply(matrix_type A_, matrix_type B_, matrix_type C_, int N_)
-        : A(A_), B(B_), C(C_), N(N_) {}
+  MatrixMultiply(matrix_type A_, matrix_type B_, matrix_type C_, int N_)
+      : A(A_), B(B_), C(C_), N(N_) {}
 
-    KOKKOS_INLINE_FUNCTION
-    void operator()(const int i, const int j) const {
-        double temp = 0.0;
-        for (int k = 0; k < N; ++k) {
-            temp += A(i, k) * B(k, j);
-        }
-        C(i, j) = temp;
+  KOKKOS_INLINE_FUNCTION
+  void operator()(const int i, const int j) const {
+    double temp = 0.0;
+    for (int k = 0; k < N; ++k) {
+      temp += A(i, k) * B(k, j);
     }
+    C(i, j) = temp;
+  }
 };
 
 int main() {
-    Kokkos::initialize();
-    {
-        const int N = 256; // Define the size of the matrices.
+  Kokkos::initialize();
+  {
+    const int N = 256;  // Define the size of the matrices.
 
-        // Create matrices A, B, and C in the default execution space.
-        matrix_type A("A", N, N), B("B", N, N), C("C", N, N);
+    // Create matrices A, B, and C in the default execution space.
+    matrix_type A("A", N, N), B("B", N, N), C("C", N, N);
 
-        // Create host mirrors of A, B, and C.
-        host_matrix_type h_A = Kokkos::create_mirror_view(A);
-        host_matrix_type h_B = Kokkos::create_mirror_view(B);
-        host_matrix_type h_C = Kokkos::create_mirror_view(C);
+    // Create host mirrors of A, B, and C.
+    host_matrix_type h_A = Kokkos::create_mirror_view(A);
+    host_matrix_type h_B = Kokkos::create_mirror_view(B);
+    host_matrix_type h_C = Kokkos::create_mirror_view(C);
 
-        // Initialize matrices A and B on the host.
-        for (int i = 0; i < N; ++i) {
-            for (int j = 0; j < N; ++j) {
-                h_A(i, j) = 1.0 * (i + 1);
-                h_B(i, j) = 1.0 * (j + 1);
-            }
-        }
+    // Initialize matrices A and B on the host.
+    for (int i = 0; i < N; ++i) {
+      for (int j = 0; j < N; ++j) {
+        h_A(i, j) = 1.0 * (i + 1);
+        h_B(i, j) = 1.0 * (j + 1);
+      }
+    }
 
-        // Copy initialized matrices from the host to the device.
-        Kokkos::deep_copy(A, h_A);
-        Kokkos::deep_copy(B, h_B);
+    // Copy initialized matrices from the host to the device.
+    Kokkos::deep_copy(A, h_A);
+    Kokkos::deep_copy(B, h_B);
 
-        // Perform matrix multiplication using parallel MDRangePolicy.
-        using MDRangePolicy = Kokkos::MDRangePolicy<Kokkos::Rank<2>>;
-        Kokkos::parallel_for("MatrixMultiply", MDRangePolicy({0, 0}, {N, N}),
-                             MatrixMultiply(A, B, C, N));
+    // Perform matrix multiplication using parallel MDRangePolicy.
+    using MDRangePolicy = Kokkos::MDRangePolicy<Kokkos::Rank<2>>;
+    Kokkos::parallel_for("MatrixMultiply", MDRangePolicy({0, 0}, {N, N}),
+                         MatrixMultiply(A, B, C, N));
 
-        Kokkos::deep_copy(h_C, C);  // Copy from host to device.
+    Kokkos::deep_copy(h_C, C);  // Copy from host to device.
 
-        // Use printf to output some elements of matrix C to verify correctness.
-        printf("C[0][0] = %f\n", h_C(0, 0));
-        printf("C[N-1][N-1] = %f\n", h_C(N-1, N-1));
-    }
-    Kokkos::finalize();
-    return 0;
+    // Use printf to output some elements of matrix C to verify correctness.
+    printf("C[0][0] = %f\n", h_C(0, 0));
+    printf("C[N-1][N-1] = %f\n", h_C(N - 1, N - 1));
+  }
+  Kokkos::finalize();
+  return 0;
 }
[Pipeline] }
$ docker stop --time=1 61e21a8326c1b47e56176b6f1bdbf02548e68ff651cc039635efcaa67dd42a4a
$ docker rm -f --volumes 61e21a8326c1b47e56176b6f1bdbf02548e68ff651cc039635efcaa67dd42a4a
[Pipeline] // withDockerContainer
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build)
Stage "Build" skipped due to earlier failure(s)
[Pipeline] getContext
[Pipeline] parallel
[Pipeline] { (Branch: OPENACC-NVHPC-CUDA-12.2)
[Pipeline] { (Branch: CUDA-12.2-NVHPC)
[Pipeline] { (Branch: SYCL-OneAPI)
[Pipeline] { (Branch: HIP-ROCm-5.2)
[Pipeline] { (Branch: HIP-ROCm-5.6-C++20)
[Pipeline] { (Branch: OPENMPTARGET-Clang)
[Pipeline] { (Branch: CUDA-11.0.3-Clang-Tidy)
[Pipeline] { (Branch: CUDA-11.7-NVCC)
[Pipeline] { (Branch: CUDA-11.0-NVCC-RDC)
[Pipeline] { (Branch: CUDA-11.6-NVCC-DEBUG)
[Pipeline] { (Branch: GCC-8.4.0)
[Pipeline] stage
[Pipeline] { (OPENACC-NVHPC-CUDA-12.2)
[Pipeline] stage
[Pipeline] { (CUDA-12.2-NVHPC)
[Pipeline] stage
[Pipeline] { (SYCL-OneAPI)
[Pipeline] stage
[Pipeline] { (HIP-ROCm-5.2)
[Pipeline] stage
[Pipeline] { (HIP-ROCm-5.6-C++20)
[Pipeline] stage
[Pipeline] { (OPENMPTARGET-Clang)
[Pipeline] stage
[Pipeline] { (CUDA-11.0.3-Clang-Tidy)
[Pipeline] stage
[Pipeline] { (CUDA-11.7-NVCC)
[Pipeline] stage
[Pipeline] { (CUDA-11.0-NVCC-RDC)
[Pipeline] stage
[Pipeline] { (CUDA-11.6-NVCC-DEBUG)
[Pipeline] stage
[Pipeline] { (GCC-8.4.0)
Stage "OPENACC-NVHPC-CUDA-12.2" skipped due to earlier failure(s)
[Pipeline] getContext
[Pipeline] }
Stage "CUDA-12.2-NVHPC" skipped due to earlier failure(s)
[Pipeline] getContext
[Pipeline] }
Stage "SYCL-OneAPI" skipped due to earlier failure(s)
[Pipeline] getContext
[Pipeline] }
Stage "HIP-ROCm-5.2" skipped due to earlier failure(s)
[Pipeline] getContext
[Pipeline] }
Stage "HIP-ROCm-5.6-C++20" skipped due to earlier failure(s)
[Pipeline] getContext
[Pipeline] }
Stage "OPENMPTARGET-Clang" skipped due to earlier failure(s)
[Pipeline] getContext
[Pipeline] }
Stage "CUDA-11.0.3-Clang-Tidy" skipped due to earlier failure(s)
[Pipeline] getContext
[Pipeline] }
Stage "CUDA-11.7-NVCC" skipped due to earlier failure(s)
[Pipeline] getContext
[Pipeline] }
Stage "CUDA-11.0-NVCC-RDC" skipped due to earlier failure(s)
[Pipeline] getContext
[Pipeline] }
Stage "CUDA-11.6-NVCC-DEBUG" skipped due to earlier failure(s)
[Pipeline] getContext
[Pipeline] }
Stage "GCC-8.4.0" skipped due to earlier failure(s)
[Pipeline] getContext
[Pipeline] }
[Pipeline] // stage
[Pipeline] // stage
[Pipeline] // stage
[Pipeline] // stage
[Pipeline] // stage
[Pipeline] // stage
[Pipeline] // stage
[Pipeline] // stage
[Pipeline] // stage
[Pipeline] // stage
[Pipeline] // stage
[Pipeline] }
Failed in branch OPENACC-NVHPC-CUDA-12.2
[Pipeline] }
Failed in branch CUDA-12.2-NVHPC
[Pipeline] }
Failed in branch SYCL-OneAPI
[Pipeline] }
Failed in branch HIP-ROCm-5.2
[Pipeline] }
Failed in branch HIP-ROCm-5.6-C++20
[Pipeline] }
Failed in branch OPENMPTARGET-Clang
[Pipeline] }
Failed in branch CUDA-11.0.3-Clang-Tidy
[Pipeline] }
Failed in branch CUDA-11.7-NVCC
[Pipeline] }
Failed in branch CUDA-11.0-NVCC-RDC
[Pipeline] }
Failed in branch CUDA-11.6-NVCC-DEBUG
[Pipeline] }
Failed in branch GCC-8.4.0
[Pipeline] // parallel
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // timeout
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] End of Pipeline
ERROR: script returned exit code 1

GitHub has been notified of this commit’s build result

Finished: FAILURE