diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 943441b35..ed2b513b7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -53,8 +53,8 @@ before_script: .skylake: &skylake SCHEDULER_PARAMETERS: "--nodes=1 --partition=skylake-gold,skylake-platinum" -.power9: &power9 - SCHEDULER_PARAMETERS: "--nodes=1 --partition=power9-rhel7" +.a100: &a100 + SCHEDULER_PARAMETERS: "--nodes=1 --partition=shared-gpu-ampere" ################# # General Setup # @@ -87,9 +87,9 @@ before_script: - module load gcc/${SPINER_GCC_VERSION} - module load cuda/${SPINER_CUDA_VERSION} - | - if [[ ${CI_JOB_NAME} =~ "power9" ]]; + if [[ ${CI_JOB_NAME} =~ "a100" ]]; then - export SPINER_SPACK_SPEC="${SPINER_SPACK_SPEC}+hdf5+mpi+kokkos+cuda cuda_arch=70"; + export SPINER_SPACK_SPEC="${SPINER_SPACK_SPEC}+hdf5+mpi+kokkos+cuda cuda_arch=80"; fi - | if [[ "${CI_COMMIT_BRANCH}" == "${CI_DEFAULT_BRANCH}" ]]; @@ -123,9 +123,9 @@ before_script: -DSPINER_BUILD_TESTS=ON \ -DCMAKE_INSTALL_PREFIX=${CI_PROJECT_DIR}/install \ -DSPINER_USE_HDF=ON \ - -DSPINER_TEST_USE_KOKKOS=$([[ ${CI_JOB_NAME} =~ "power9" ]] && echo ON || echo OFF) \ - -DSPINER_TEST_USE_KOKKOS_CUDA=$([[ ${CI_JOB_NAME} =~ "power9" ]] && echo ON || echo OFF) \ - -DCMAKE_CXX_COMPILER=$([[ ${CI_JOB_NAME} =~ "power9" ]] && echo nvcc_wrapper || g++) \ + -DSPINER_TEST_USE_KOKKOS=$([[ ${CI_JOB_NAME} =~ "a100" ]] && echo ON || echo OFF) \ + -DSPINER_TEST_USE_KOKKOS_CUDA=$([[ ${CI_JOB_NAME} =~ "a100" ]] && echo ON || echo OFF) \ + -DCMAKE_CXX_COMPILER=$([[ ${CI_JOB_NAME} =~ "a100" ]] && echo nvcc_wrapper || g++) \ .. - make -j $(nproc) - make install @@ -149,9 +149,9 @@ gnu_skylake: variables: <<: *skylake -gnu_power9: +gnu_a100: <<: *job_def extends: .test variables: - <<: *power9 + <<: *a100