Skip to content

adapt CI to CMAKE_TOOLCHAIN configuration; pesky HIP tests are disabled

Ryunosuke O'Neil requested to merge roneil-ci-cmake_toolchain into master

Changes

HIP run_throughput and run_physics_efficiency tests

  • they have been disabled

Moving to CMake toolchain files

CMake toolchain files are used in lieu of TARGET, BUILD_TYPE settings (among other bash scripting utilised in order to prepare the environment and dependencies)

Specifying platform, optimisation, and device target

  • LCG_ARCHITECTURE is removed. LCG_VERSION, LCG_SYSTEM, LCG_QUALIFIER, and LCG_OPTIMIZATION must be set instead.
  • LCG_PLATFORM (replaces LCG_ARCHITECTURE) is created from LCG_SYSTEM+LCG_QUALIFIER-LCG_OPTIMIZATION.
    • e.g. LCG_SYSTEM=x86_64_v3-centos7-clang12, LCG_QUALIFIER=cuda11_4, LCG_OPTIMIZATION=opt makes LCG_PLATFORM=x86_64_v3-centos7-clang12+cuda11_4-opt.
  • BUILD_TYPE is removed. LCG_OPTIMIZATION=<opt or dbg> should be used instead.

Silencing throughput reports for certain jobs

  • setting TPUT_REPORT=NO_REPORT for run/run_full stage run_throughput jobs will stop throughput reports from being published later on.

test_throughput readability improved

image

Todo

  • -DTARGET_DEVICE now handled by CMAKE_TOOLCHAIN files. Need to replace matrix variable TARGET with qualifier in LCG_PLATFORM (string that comes after + sign), called it LCG_QUALIFIER
  • make it possible to exclude throughput reports of certain builds from mattermost channel reports
  • make the pipeline work again

cc @dcampora

Edited by Ryunosuke O'Neil

Merge request reports