Debian Codegraph @

.gitlab/jobs/tioga.yml

raw
1 # Copyright (c) 2010-2025, Lawrence Livermore National Security, LLC. Produced
2 # at the Lawrence Livermore National Laboratory. All Rights reserved. See files
3 # LICENSE and NOTICE for details. LLNL-CODE-806117.
4 #
5 # This file is part of the MFEM library. For more information and source code
6 # availability visit https://mfem.org.
7 #
8 # MFEM is free software; you can redistribute it and/or modify it under the
9 # terms of the BSD-3 license. We welcome feedback and contributions, see file
10 # CONTRIBUTING.md for details.
11
12 # Override reproducer section to define UMPIRE specific variables.
13 .tioga_reproducer_vars:
14 script:
15 - !reference [.reproducer_vars, script]
16
17 #TODO: Setup script should be defined as a bash script (but then GIT_STRATEGY cannot be "none" anymore).
18
19 # Setup clones the mfem/data repo in ${SHARED_REPOS_DIR}. The build_and_test
20 # script then symlinks the repo to the parent directory of the MFEM source
21 # directory. Unit tests that depend on the mfem/data repo will then detect that
22 # this directory is present and be enabled.
23 setup:
24 extends: .on_tioga
25 stage: jobs-stage-1
26 script:
27 - ./tests/gitlab/build_and_test_setup
28
29 ########################
30 # Overridden shared jobs
31 ########################
32 # When using shared jobs , we can duplicate them here to override description and add necessary changes.
33 # We keep ${PROJECT_<MACHINE>_VARIANTS} and ${PROJECT_<MACHINE>_DEPS} So that
34 # the comparison with the original job is easier.
35
36
37 ############
38 # Extra jobs
39 ############
40 # We do not recommend using ${PROJECT_<MACHINE>_VARIANTS} and
41 # ${PROJECT_<MACHINE>_DEPS} in the extra jobs. There is not reason not to fully
42 # describe the spec here.
43
44 # Build and test jobs, simply provide a spec
45
46 #.tioga_job_command:
47 # script:
48 # - echo PROXY="${PROXY}"
49 # - echo TIOGA_JOB_ALLOC="${TIOGA_JOB_ALLOC}"
50 # - "printf '#!/bin/bash\n%s\n' \"${JOB_CMD}\" > flux_script.sh"
51 # - cat flux_script.sh
52 # - ${PROXY} flux watch $( ${PROXY} flux batch -o output.stdout.type=kvs ${TIOGA_JOB_ALLOC} flux_script.sh )
53 # - rm -f flux_script.sh
54
55 .mfem_job_on_tioga:
56 extends: .job_on_tioga
57 stage: jobs-stage-2
58 variables:
59 # We run 1 job on 1 node that has 64 threads
60 THREADS: 64
61
62 opt_mpi_rocm_hypre_rocm:
63 extends: .mfem_job_on_tioga
64 variables:
65 SPEC: "%rocmcc@=6.3.1 +rocm amdgpu_target=gfx90a ^hypre+rocm"
66
67 # cce_16_0_1:
68 # extends: .mfem_job_on_tioga
69 # variables:
70 # SPEC: "%cce@=16.0.1"