Debian Codegraph @

.gitlab/jobs/dane.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 MFEM specific variables.
13 .dane_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
18 # cannot be "none" anymore).
19
20 # Setup clones the mfem/data repo in ${SHARED_REPOS_DIR}. The build_and_test
21 # script then symlinks the repo to the parent directory of the MFEM source
22 # directory. Unit tests that depend on the mfem/data repo will then detect that
23 # this directory is present and be enabled.
24 setup:
25 extends: .on_dane
26 stage: jobs-stage-1
27 script:
28 - ./tests/gitlab/build_and_test_setup
29
30
31 ########################
32 # Overridden shared jobs
33 ########################
34 # When using shared jobs, we can duplicate them here to override description and
35 # add necessary changes.
36 # We keep ${PROJECT_<MACHINE>_VARIANTS} and ${PROJECT_<MACHINE>_DEPS} So that
37 # the comparison with the original job is easier.
38
39
40 ############
41 # Extra jobs
42 ############
43 # We do not recommend using ${PROJECT_<MACHINE>_VARIANTS} and
44 # ${PROJECT_<MACHINE>_DEPS} in the extra jobs. There is not reason not to fully
45 # describe the spec here.
46
47 .mfem_job_on_dane:
48 extends: .job_on_dane
49 stage: jobs-stage-2
50 variables:
51 # Dane has 224 threads/node and we run 7 separate jobs: 224=7*32
52 THREADS: 28
53
54 debug_ser_gcc_10:
55 extends: .mfem_job_on_dane
56 variables:
57 SPEC: "%[email protected] +debug~mpi"
58
59 debug_par_gcc_10:
60 extends: .mfem_job_on_dane
61 variables:
62 SPEC: "%[email protected] +debug+mpi"
63
64 opt_ser_gcc_10:
65 extends: .mfem_job_on_dane
66 variables:
67 SPEC: "%[email protected] ~mpi"
68
69 opt_par_gcc_10:
70 extends: .mfem_job_on_dane
71 variables:
72 SPEC: "%[email protected]"
73
74 opt_par_gcc_10_sundials:
75 extends: .mfem_job_on_dane
76 variables:
77 SPEC: "%[email protected] +sundials"
78
79 opt_par_gcc_10_petsc:
80 extends: .mfem_job_on_dane
81 variables:
82 SPEC: "%[email protected] +petsc ^petsc+mumps~superlu-dist"
83
84 opt_par_gcc_10_pumi:
85 extends: .mfem_job_on_dane
86 variables:
87 SPEC: "%[email protected] +pumi"