Add LICENSE file to make GitLab detect LGPL v2.1
[alexxy/gromacs.git] / admin / gitlab-ci / gromacs.matrix / gromacs.gcc-10-cuda-11.4-release.gitlab-ci.yml
1 # Test goal: GCC with newest CUDA
2 # Test intents (should change rarely and conservatively):
3 #   OS: Ubuntu oldest supported
4 #   GPU: CUDA newest supported with its newest supported gcc
5 #   HW: NVIDIA GPU
6 #   CMake: oldest supported
7 #   Scope: configure, build, unit tests
8 # Test implementation choices (free to change as needed):
9 #   OS: Ubuntu 20.04
10 #   Build type: RelWithDebInfo
11 #   Compiler: GCC 10.2
12 #   GPU: CUDA 11.4
13 #   SIMD: AVX2_256
14 #   FFT: FFTW3
15 #   Parallelism nt/ntomp: 4/2 (unit tests)
16
17 gromacs:gcc-10-cuda-11.4:release:configure:
18   extends:
19     - .gromacs:base:release:configure
20     - .use-gcc:base
21     - .use-mpi
22     - .use-cuda
23     - .rules:nightly-only-for-release
24   image: ${CI_REGISTRY}/gromacs/gromacs/ci-ubuntu-20.04-gcc-10-cuda-11.4.0
25   variables:
26     CMAKE: /usr/local/cmake-3.16.3/bin/cmake
27     COMPILER_MAJOR_VERSION: 10
28     RELEASE_BUILD_DIR: release-builds-gcc
29     CMAKE_BUILD_TYPE_OPTIONS : "-DCMAKE_BUILD_TYPE=RelWithAssert"
30     CMAKE_REGRESSIONTEST_OPTIONS: ""
31   dependencies:
32     - archive:package
33     - regressiontests:package
34     - prepare-release-version
35
36 gromacs:gcc-10-cuda-11.4:release:build:
37   extends:
38     - .variables:default
39     - .gromacs:base:build
40     - .before_script:default
41     - .use-ccache
42     - .rules:nightly-only-for-release
43   stage: release-build
44   variables:
45     CMAKE: /usr/local/cmake-3.16.3/bin/cmake
46     BUILD_DIR: release-builds-gcc
47   image: ${CI_REGISTRY}/gromacs/gromacs/ci-ubuntu-20.04-gcc-10-cuda-11.4.0
48   needs:
49     - job: gromacs:gcc-10-cuda-11.4:release:configure
50
51 gromacs:gcc-10-cuda-11.4:release:test:
52   extends:
53     - .gromacs:base:test
54     - .rules:nightly-only-for-release
55   stage: release-tests
56   image: ${CI_REGISTRY}/gromacs/gromacs/ci-ubuntu-20.04-gcc-10-cuda-11.4.0
57   variables:
58     CMAKE: /usr/local/cmake-3.16.3/bin/cmake
59     KUBERNETES_EXTENDED_RESOURCE_NAME: "nvidia.com/gpu"
60     KUBERNETES_EXTENDED_RESOURCE_LIMIT: 1
61     BUILD_DIR: release-builds-gcc
62   tags:
63     - k8s-scilifelab
64   needs:
65     - job: gromacs:gcc-10-cuda-11.4:release:configure
66     - job: gromacs:gcc-10-cuda-11.4:release:build
67