2021-09-20 20:59:10 +00:00
|
|
|
build:ubuntu2004_gcc9:
|
|
|
|
tags:
|
|
|
|
- build
|
|
|
|
- vtkm
|
|
|
|
- docker
|
2022-12-21 14:34:18 +00:00
|
|
|
- linux-x86_64
|
2021-09-20 20:59:10 +00:00
|
|
|
extends:
|
|
|
|
- .ubuntu2004
|
|
|
|
- .cmake_build_linux
|
2021-10-18 18:36:16 +00:00
|
|
|
- .run_automatically
|
2021-09-20 20:59:10 +00:00
|
|
|
variables:
|
|
|
|
CMAKE_BUILD_TYPE: Debug
|
2022-02-16 12:50:39 +00:00
|
|
|
VTKM_SETTINGS: "benchmarks+tbb+openmp+mpi+shared+hdf5+min_build"
|
2021-09-20 20:59:10 +00:00
|
|
|
|
|
|
|
test:ubuntu2004_gcc9:
|
|
|
|
tags:
|
|
|
|
- test
|
|
|
|
- vtkm
|
|
|
|
- docker
|
2022-12-21 14:34:18 +00:00
|
|
|
- linux-x86_64
|
2021-09-20 20:59:10 +00:00
|
|
|
extends:
|
|
|
|
- .ubuntu2004
|
|
|
|
- .cmake_test_linux
|
2021-10-18 18:36:16 +00:00
|
|
|
- .run_automatically
|
2021-09-20 20:59:10 +00:00
|
|
|
variables:
|
|
|
|
#Restrict OpenMP number of threads since multiple test stages
|
|
|
|
#execute on the same hardware concurrently
|
|
|
|
OMP_NUM_THREADS: 4
|
|
|
|
dependencies:
|
|
|
|
- build:ubuntu2004_gcc9
|
|
|
|
needs:
|
|
|
|
- build:ubuntu2004_gcc9
|
|
|
|
|
2020-06-16 12:54:01 +00:00
|
|
|
build:ubuntu2004_kokkos:
|
|
|
|
tags:
|
|
|
|
- build
|
|
|
|
- vtkm
|
|
|
|
- docker
|
2022-12-21 14:34:18 +00:00
|
|
|
- linux-x86_64
|
2020-06-16 12:54:01 +00:00
|
|
|
extends:
|
|
|
|
- .ubuntu2004_kokkos
|
|
|
|
- .cmake_build_linux
|
2021-10-18 18:36:16 +00:00
|
|
|
- .run_automatically
|
2020-06-16 12:54:01 +00:00
|
|
|
variables:
|
|
|
|
CMAKE_BUILD_TYPE: RelWithDebInfo
|
|
|
|
VTKM_SETTINGS: "kokkos+shared+64bit_floats"
|
|
|
|
|
|
|
|
test:ubuntu2004_kokkos:
|
|
|
|
tags:
|
|
|
|
- test
|
|
|
|
- vtkm
|
|
|
|
- docker
|
2022-12-21 14:34:18 +00:00
|
|
|
- linux-x86_64
|
2020-06-16 12:54:01 +00:00
|
|
|
extends:
|
|
|
|
- .ubuntu2004_kokkos
|
|
|
|
- .cmake_test_linux
|
2021-10-18 18:36:16 +00:00
|
|
|
- .run_automatically
|
2020-06-16 12:54:01 +00:00
|
|
|
dependencies:
|
|
|
|
- build:ubuntu2004_kokkos
|
|
|
|
needs:
|
|
|
|
- build:ubuntu2004_kokkos
|
2021-10-13 19:40:52 +00:00
|
|
|
|
|
|
|
build:ubuntu2004_hip_kokkos:
|
|
|
|
tags:
|
|
|
|
- vtkm
|
|
|
|
- docker
|
2022-12-21 14:34:18 +00:00
|
|
|
- linux-x86_64
|
2021-10-13 19:40:52 +00:00
|
|
|
- radeon
|
|
|
|
extends:
|
|
|
|
- .ubuntu2004_hip_kokkos
|
|
|
|
- .cmake_build_linux
|
2022-09-29 19:19:08 +00:00
|
|
|
- .run_automatically
|
2021-10-13 19:40:52 +00:00
|
|
|
variables:
|
2022-10-25 19:39:23 +00:00
|
|
|
CMAKE_BUILD_TYPE: "RelWithDebInfo"
|
2022-11-07 16:13:26 +00:00
|
|
|
VTKM_SETTINGS: "benchmarks+kokkos+hip+no_rendering+ccache"
|
2022-06-27 15:41:45 +00:00
|
|
|
|
2022-10-25 19:39:23 +00:00
|
|
|
CMAKE_PREFIX_PATH: "/opt/rocm/lib/cmake"
|
2022-11-08 19:31:07 +00:00
|
|
|
LD_LIBRARY_PATH: "/opt/rocm/lib"
|
2022-10-25 19:39:23 +00:00
|
|
|
CMAKE_HIP_COMPILER: "/opt/rocm/llvm/bin/clang++"
|
|
|
|
Kokkos_CXX_COMPILER: "/opt/rocm/llvm/bin/clang++"
|
|
|
|
CMAKE_HIP_ARCHITECTURES: "gfx900"
|
2022-06-27 15:41:45 +00:00
|
|
|
|
|
|
|
# -isystem= is not affected by CCACHE_BASEDIR, thus we must ignore it
|
2022-10-25 19:39:23 +00:00
|
|
|
CCACHE_IGNOREOPTIONS: "-isystem=*"
|
|
|
|
CCACHE_BASEDIR: "$CI_PROJECT_DIR"
|
|
|
|
CCACHE_COMPILERCHECK: "content"
|
|
|
|
CCACHE_NOHASHDIR: "true"
|
|
|
|
CCACHE_RESHARE: "true"
|
2022-06-27 15:41:45 +00:00
|
|
|
after_script:
|
|
|
|
- ccache -v -s
|
|
|
|
- ccache -z
|
2021-10-13 19:40:52 +00:00
|
|
|
|
|
|
|
test:ubuntu2004_hip_kokkos:
|
|
|
|
tags:
|
|
|
|
- vtkm
|
|
|
|
- docker
|
2022-12-21 14:34:18 +00:00
|
|
|
- linux-x86_64
|
2021-10-13 19:40:52 +00:00
|
|
|
- radeon
|
|
|
|
extends:
|
|
|
|
- .ubuntu2004_hip_kokkos
|
|
|
|
- .cmake_test_linux
|
2022-08-05 02:00:00 +00:00
|
|
|
- .run_upstream_branches
|
2021-10-13 19:40:52 +00:00
|
|
|
variables:
|
2022-09-23 22:21:14 +00:00
|
|
|
CTEST_MAX_PARALLELISM: 1
|
2021-10-13 19:40:52 +00:00
|
|
|
dependencies:
|
|
|
|
- build:ubuntu2004_hip_kokkos
|
|
|
|
needs:
|
|
|
|
- build:ubuntu2004_hip_kokkos
|
2021-10-15 16:24:33 +00:00
|
|
|
timeout: 3 hours
|
2022-10-25 19:41:12 +00:00
|
|
|
|
|
|
|
# This is only for merge-requests
|
|
|
|
build:ascent:
|
|
|
|
stage: build
|
|
|
|
variables:
|
|
|
|
BRANCH_NAME: "mr${CI_MERGE_REQUEST_IID}-${CI_COMMIT_REF_NAME}"
|
|
|
|
ASCENT_REST_URL: "https://code.ornl.gov/api/v4/projects/7035"
|
|
|
|
ASCENT_GIT_URL: "https://vbolea:${ECPTEST_TOKEN}@code.ornl.gov/ecpcitest/vtk-m.git"
|
|
|
|
tags:
|
|
|
|
- vtkm
|
|
|
|
- docker
|
2022-12-21 14:35:53 +00:00
|
|
|
- build
|
|
|
|
- linux-x86_64
|
2022-10-25 19:41:12 +00:00
|
|
|
extends:
|
|
|
|
- .ubuntu2004
|
|
|
|
- .run_only_merge_requests
|
|
|
|
script:
|
2022-11-01 22:03:03 +00:00
|
|
|
# A new commit is needed to symbolize a restart of a build from the same original commit
|
|
|
|
- .gitlab/ci/config/ecpci-amend-commit.sh "NEW_COMMIT_SHA"
|
2022-10-25 19:41:12 +00:00
|
|
|
- .gitlab/ci/config/ecpci-push-branch.sh "$ASCENT_GIT_URL" "$BRANCH_NAME"
|
2022-11-01 22:03:03 +00:00
|
|
|
- timeout 130m .gitlab/ci/config/ecpci-wait-commit-status.sh "$ASCENT_REST_URL" "$(cat NEW_COMMIT_SHA)"
|
2022-10-25 19:41:12 +00:00
|
|
|
after_script:
|
|
|
|
- .gitlab/ci/config/ecpci-remove-branch.sh "$ASCENT_GIT_URL" "$BRANCH_NAME" || true
|
2022-11-01 22:03:03 +00:00
|
|
|
- .gitlab/ci/config/ecpci-fetch-commit-trace.py "$ASCENT_REST_URL" "$(cat NEW_COMMIT_SHA)" "$ECPTEST_TOKEN"
|
2022-10-25 19:41:12 +00:00
|
|
|
timeout: 150 minutes
|
|
|
|
interruptible: true
|