# Copyright (c) 2010-2025, Lawrence Livermore National Security, LLC. Produced # at the Lawrence Livermore National Laboratory. All Rights reserved. See files # LICENSE and NOTICE for details. LLNL-CODE-806117. # # This file is part of the MFEM library. For more information and source code # availability visit https://mfem.org. # # MFEM is free software; you can redistribute it and/or modify it under the # terms of the BSD-3 license. We welcome feedback and contributions, see file # CONTRIBUTING.md for details. # Override reproducer section to define MFEM specific variables. .dane_reproducer_vars: script: - !reference [.reproducer_vars, script] # TODO: Setup script should be defined as a bash script (but then GIT_STRATEGY # cannot be "none" anymore). # Setup clones the mfem/data repo in ${SHARED_REPOS_DIR}. The build_and_test # script then symlinks the repo to the parent directory of the MFEM source # directory. Unit tests that depend on the mfem/data repo will then detect that # this directory is present and be enabled. setup: extends: .on_dane stage: jobs-stage-1 script: - ./tests/gitlab/build_and_test_setup ######################## # Overridden shared jobs ######################## # When using shared jobs, we can duplicate them here to override description and # add necessary changes. # We keep ${PROJECT__VARIANTS} and ${PROJECT__DEPS} So that # the comparison with the original job is easier. ############ # Extra jobs ############ # We do not recommend using ${PROJECT__VARIANTS} and # ${PROJECT__DEPS} in the extra jobs. There is not reason not to fully # describe the spec here. .mfem_job_on_dane: extends: .job_on_dane stage: jobs-stage-2 variables: # Dane has 224 threads/node and we run 7 separate jobs: 224=7*32 THREADS: 28 debug_ser_gcc_10: extends: .mfem_job_on_dane variables: SPEC: "%gcc@10.3.1 +debug~mpi" debug_par_gcc_10: extends: .mfem_job_on_dane variables: SPEC: "%gcc@10.3.1 +debug+mpi" opt_ser_gcc_10: extends: .mfem_job_on_dane variables: SPEC: "%gcc@10.3.1 ~mpi" opt_par_gcc_10: extends: .mfem_job_on_dane variables: SPEC: "%gcc@10.3.1" opt_par_gcc_10_sundials: extends: .mfem_job_on_dane variables: SPEC: "%gcc@10.3.1 +sundials" opt_par_gcc_10_petsc: extends: .mfem_job_on_dane variables: SPEC: "%gcc@10.3.1 +petsc ^petsc+mumps~superlu-dist" opt_par_gcc_10_pumi: extends: .mfem_job_on_dane variables: SPEC: "%gcc@10.3.1 +pumi"