Lines Matching +full:test +full:- +full:basic

2 # stage-1 take only a few minutes; they do not run the full test suite or external packages.
4 # stage-2 runs on MCS systems and may take 10 to 15 minutes. They run the full test suite but with …
6 # stage-3 runs on MCS systems and may take an hour or more. They run the full test suite and heavil…
8 # The stage-(n) tests are only started if all of the stage-(n-1) tests run without error
13 - stage-1
14 - stage-2
15 - stage-3
16 - stage-4
19 GIT_CLEAN_FLAGS: -ffdxq
21 BASE_EXTRA_OPTIONS: -nox -nox_warning -malloc_dump
25 # The most basic template that most tests will expand upon
28 .test-basic:
32 # Set with CI/CD Shedules - New Schedule
33 - schedules
34 - api
35 # Set with CI/CD Pipelines - Run Pipeline
36 - web
37 - merge_requests
40 .test:
41 extends: .test-basic
44 # Skip if the docs-only label is attached to a merge request
45 - $CI_MERGE_REQUEST_LABELS =~ /(^|,)docs-only($|,)/
46 - $PETSC_CI_SCHEDULED =~ /yes/
48 check-ci-settings:
49 extends: .test-basic
52 - gce-stage1
54 - lib/petsc/bin/maint/check-ci-settings.sh
57 # This provides the basic order of operations and options template for cloud based stage 1 tests.
58 # Not all test-short need to follow this template but most will.
61 .stage-1:
62 extends: .test
63 stage: stage-1
65 - gce-u22-stage1
67 - date
68 - hostname
69 - grep PRETTY_NAME /etc/os-release
70 - nproc
71 - lscpu
72 - ccache --zero-stats
74 - if [ ! -z ${LOAD_MODULES+x} ]; then module --trace load ${LOAD_MODULES}; module list; fi
75- if [ ! -z ${INIT_SCRIPT+x} ]; then echo "sourcing ${INIT_SCRIPT}"; if [ -f ${HOME}/${INIT_SCRIPT…
76 - printf "PATH:$PATH\n"
77 - printf "PYTHONPATH:$PYTHONPATH\n"
78 - printf "python:${PYTHON}\n"
79 - ${PYTHON} -m pip list --user
80 - printf "CONFIG_OPTS:${CONFIG_OPTS}\n"
81 - printf "EXTRA_OPTIONS_INITIAL:$EXTRA_OPTIONS_INITIAL $BASE_EXTRA_OPTIONS\n"
82 - printf "MODULEPATH:$MODULEPATH\n"
83- if [ ! -z ${CI_MERGE_REQUEST_SOURCE_BRANCH_NAME+x} ]; then printf "CI_MERGE_REQUEST_SOURCE_BRANC…
84- ${PYTHON} ./configure --with-debugging=0 COPTFLAGS='-O3 -march=native' CXXOPTFLAGS='-O3 -march=n…
85- make CFLAGS="${MAKE_CFLAGS}" CXXFLAGS="${MAKE_CXXFLAGS}" FFLAGS="${MAKE_FFLAGS}" CUDAFLAGS="${MA…
86- if [ ! -z ${ENABLE_CHECK+x} ]; then make CFLAGS="${MAKE_CFLAGS}" CXXFLAGS="${MAKE_CXXFLAGS}" FFL…
87- make CFLAGS="${MAKE_TEST_CFLAGS}" CXXFLAGS="${MAKE_TEST_CXXFLAGS}" FFLAGS="${MAKE_TEST_FFLAGS}" …
88- if [ ! -z ${ENABLE_COMPILETESTS+x} ]; then make -j 16 CFLAGS="${MAKE_TEST_CFLAGS}" CXXFLAGS="${M…
91 MAKE_CFLAGS: -Werror -Wmissing-field-initializers
92 MAKE_CXXFLAGS: -Werror -Wzero-as-null-pointer-constant
93 MAKE_FFLAGS: -Werror -fimplicit-none
94 MAKE_TEST_CFLAGS: -Werror
95 MAKE_TEST_CXXFLAGS: -Werror
96 MAKE_TEST_FFLAGS: -Werror
98 - date
99 - ccache --show-stats
102 junit: arch-*/tests/testresults.xml
106 - arch-*/lib/petsc/conf/*.log
107 - arch-*/lib/pkgconfig/petsc.pc
108 - arch-*/tests/testresults.xml
109 - arch-*/tests/test_*_tap.log
110 - arch-*/tests/test_*_err.log
114 # The following tests run on the cloud as part of stage-1.
117 fp16-arm:
118 extends: .stage-1
120 - linux-arm-stage1
122 …CONFIG_OPTS: --with-precision=__fp16 --with-fc=0 --with-mpi-dir=/software/mpich-4.2.3 --with-blasl…
123 TEST_SEARCH: vec_vec_tests-ex6%
124 MAKE_CXXFLAGS: -O1 -Werror
126 ompi-cuda:
127 extends: .stage-1
129 - cuda-stage1
131--with-mpi-dir=/nfs/gce/software/custom/linux-ubuntu22.04-x86_64/spack/opt/spack/linux-ubuntu22.04
132 TEST_SEARCH: snes_tutorials-ex19_cuda%
134 MAKE_CXXFLAGS: -Werror
135 MAKE_CUDAFLAGS: -Xcompiler -Wall -Xcompiler -Werror
137 mpich-cxx-py3:
138 extends: .stage-1
140 CONFIG_OPTS: --with-clanguage=cxx --with-fc=0 CXXFLAGS=-std=c++11 --with-strict-petscerrorcode
141 TEST_SEARCH: snes_tutorials-ex48%
142 LOAD_MODULES: gcc/12.1.0 mpich/4.1-gcc-12.1.0
144 mpich-cxx-mlib:
145 extends: .stage-1
147 …NFIG_OPTS: --with-clanguage=cxx --with-single-library=0 --with-log=0 --with-info=0 --with-ctable=0…
148 TEST_SEARCH: snes_tutorials-ex48%
149 LOAD_MODULES: gcc/12.1.0 mpich/4.1-gcc-12.1.0
151 uni-complex-float-int64:
152 extends: .stage-1
154 … CONFIG_OPTS: --with-mpi=0 --with-scalar-type=complex --with-precision=single --with-64-bit-indices
155 TEST_SEARCH: ts_tutorials-ex11_adv_2d_quad_%
158 c99-mlib-static-py:
159 extends: .stage-1
161 …S: --with-single-library=0 --with-shared-libraries=0 --with-strict-petscerrorcode CFLAGS=-std=c99 …
163 …TEST_SEARCH: snes_tutorials-ex19% snes_tutorials-ex5f90t% tao_unconstrained_tutorials-rosenbrock1%…
164 MAKE_TEST_CFLAGS: -Werror -std=c99 -Wdeclaration-after-statement
165 MAKE_TEST_FFLAGS: -Werror -std=f2008
166 LOAD_MODULES: gcc/12.1.0 mpich/4.1-gcc-12.1.0
168 clang-uni:
169 extends: .stage-1
171 …CONFIG_OPTS: --with-cc=clang --with-cxx=clang++ --with-mpi=0 --with-strict-petscerrorcode FPPFLAGS…
172 MAKE_CFLAGS: -Werror -Wmissing-field-initializers -Wundef -Wextra-semi-stmt
173 MAKE_CXXFLAGS: -Werror -Wzero-as-null-pointer-constant -Wundef -Wextra-semi-stmt -Wextra-semi
174 MAKE_TEST_CFLAGS: -Werror -Wmissing-field-initializers -Wundef -Wextra-semi-stmt
175 … MAKE_TEST_CXXFLAGS: -Werror -Wzero-as-null-pointer-constant -Wundef -Wextra-semi-stmt -Wextra-semi
176 TEST_SEARCH: snes_tutorials-ex48% snes_tutorials-ex5f%
179 gcc-lto:
180 extends: .stage-1
182 CONFIG_OPTS: CFLAGS= CXXFLAGS= FFLAGS="-ffree-line-length-none -ffree-line-length-0"
183 MAKE_CFLAGS: -Werror -flto=4 -Werror=odr -Werror=lto-type-mismatch
184 MAKE_CXXFLAGS: -Werror -Wextra-semi -flto=4 -Werror=odr -Werror=lto-type-mismatch
185 MAKE_FFLAGS: -Werror -flto=4 -Werror=odr -Werror=lto-type-mismatch
186 TEST_SEARCH: snes_tutorials-ex19% snes_tutorials-ex5f%
187 LOAD_MODULES: gcc/12.1.0 mpich/4.1-gcc-12.1.0
189 petsc4py-install:
190 extends: .stage-2
192 - gce-u22-stage1
195 T_PREFIX: petsc-install
196 T_DESTDIR: petsc-destdir
198 T_VALIDATE_CMD: lib/petsc/bin/maint/validate-petsc4py.sh
200 - printf "PATH:$PATH\n"
201 - mkdir hide
202- if [ ! -z ${CI_MERGE_REQUEST_SOURCE_BRANCH_NAME+x} ]; then printf "CI_MERGE_REQUEST_SOURCE_BRANC…
203 - ${PYTHON} ./configure --prefix="${PWD}/${T_PREFIX}" --with-petsc4py=1 --with-debugging=0
204 - make CFLAGS=-Werror CXXFLAGS="-Werror -Wzero-as-null-pointer-constant" FFLAGS=-Werror
205- printf "====== Test A. Install into staging directory then into prefix directory (mimics distro …
206 - make install DESTDIR="${PWD}/${T_DESTDIR}"
207 - test "$(find ${PWD}/${T_PREFIX} -mindepth 1 | wc -l)" -eq 0
208 - test "$(find ${PWD}/${T_DESTDIR} -mindepth 1 | wc -l)" -gt 0
209 - (cd "${PWD}/${T_DESTDIR}" && find * -exec install -v -D "{}" "/{}" \; )
210 - mv arch-* hide/ && PETSC_DIR="${PWD}/${T_PREFIX}" ${T_VALIDATE_CMD} && mv hide/arch-* ./
211 - rm -r "${PWD}/${T_PREFIX}" "${PWD}/${T_DESTDIR}" && mkdir "${PWD}/${T_PREFIX}"
212 - printf "====== Test B. Install directly into prefix directory =====\n"
213 - make install
214 - test "$(find ${PWD}/${T_PREFIX} -mindepth 1 | wc -l)" -gt 0
215 - mv arch-* hide/ && PETSC_DIR="${PWD}/${T_PREFIX}" ${T_VALIDATE_CMD} && mv hide/arch-* ./
216 - rm -r "${PWD}/${T_PREFIX}"/*/petsc4py*
217 - printf "====== Test C. Install manually with setuptools =====\n"
218 - export PETSC_DIR="${PWD}/${T_PREFIX}" && (cd "${T_PETSC4PY}" && ${PYTHON} setup.py build)
219- export PETSC_DIR="${PWD}/${T_PREFIX}" P="${PWD}" && (cd "${T_PETSC4PY}" && ${PYTHON} setup.py in…
220 - mv arch-* hide/ && PETSC_DIR="${PWD}/${T_PREFIX}" ${T_VALIDATE_CMD} && mv hide/arch-* ./
221 - rm -r "${PWD}/${T_PREFIX}"/*/petsc4py*
222 - printf "====== Test D. Install manually with setuptools with staging =====\n"
223- export PETSC_DIR="${PWD}/${T_PREFIX}" P="${PWD}" && (cd "${T_PETSC4PY}" && ${PYTHON} setup.py in…
224 - (cd "${PWD}/${T_DESTDIR}" && find * -exec install -v -D "{}" "/{}" \; )
225 - mv arch-* hide/ && PETSC_DIR="${PWD}/${T_PREFIX}" ${T_VALIDATE_CMD} && mv hide/arch-* ./
227 petsc4py-pip:
228 extends: .stage-2
230 - gce-u22-stage1
232 PETSC_CONFIGURE_OPTIONS: --with-mpi=0 --with-fc=0
233 CFLAGS: -O0
235 - python3 -m venv pip-builds
236 - source pip-builds/bin/activate
237 - python -m pip install --upgrade pip
238 - unset PETSC_DIR PETSC_ARCH
239 - export PIP_WHEEL_DIR="${PWD}/wheelhouse"
240 - export PIP_FIND_LINKS="${PIP_WHEEL_DIR}"
241 - mkdir -p "${PIP_WHEEL_DIR}"
242 - python -m pip wheel .
243 - python -m pip wheel src/binding/petsc4py
244 - python -m pip install --pre --no-index --no-cache-dir petsc4py
245 - python -m pip list
246 - python -m petsc --prefix
247 - python -m petsc4py
249 petsc-dist:
250 extends: .stage-2
252 - gce-u24-stage2
254 - bash -x ./lib/petsc/bin/maint/builddist
257 - arch-*/lib/petsc/conf/*.log
258 - petsc*.gz
262 extends: .test-basic
265 - gce-u22-stage1
267- python3 ./configure --with-mpi=0 --with-fc=0 --with-cxx=0 --with-coverage-exec=0 --with-syclc=0
268 - vermin --version
269 - make vermin
270- PATH=/nfs/gce/projects/petsc/soft/u22.04/spack-2025-08-26-llvm/opt/spack/linux-x86_64/llvm-21.1.…
271 - make checkbadSource SHELL=bash
272 - make checkbadFileChange SHELL=bash
273 - make -f gmakefile check_output SHELL=bash
274 - make check_petsc4py_rst
275 - make -C src/binding/petsc4py lint
276 - PATH=/nfs/gce/projects/petsc/soft/shellcheck-stable:$PATH make checkshellcheck SHELL=bash
281 - arch-*/lib/petsc/conf/*.patch
282 - arch-*/lib/petsc/conf/*.log
285 pause-for-approval:
286 extends: .test
289 - gce-stage1
292 - merge_requests
294 - $CI_MERGE_REQUEST_EVENT_TYPE == "merged_result"
295 - $CI_MERGE_REQUEST_EVENT_TYPE == "detached"
297 - echo "pause-for-approval has no script to run"
304 # Basic template for code coverage generation. Tests should additionally inherit from the more
305 # specialized OS-specific versions instead of this one.
308 .coverage-generate:
311 RUN_GCOV_OPTIONS: --decisions
313 .coverage-disable:
318 # This provides the basic order of operations and options template for stage-2,3 tests.
319 # Not all stage-2,3 need to follow this template, but most will.
321 .stage-23:
323 - .test
324 - .coverage-generate
326 - if [ ! -z ${LOAD_MODULES+x} ]; then module --trace load ${LOAD_MODULES}; module list; fi
327 - if [ ! -z ${GCOV_MODULES+x} ]; then module --trace load ${GCOV_MODULES}; module list; fi
328- if [ ! -z ${INIT_SCRIPT+x} ]; then echo "sourcing ${INIT_SCRIPT}"; if [ -f ${HOME}/${INIT_SCRIPT…
329 - if [ "${RUN_GCOV}" == 1 ]; then
331 gcovr --version;
333- if [ -d ${HOME}/petsc-hash-pkgs/ ]; then find ${HOME}/petsc-hash-pkgs/ -maxdepth 1 -mindepth 1 -
334 - printf "PATH:$PATH\n"
335 - printf "PYTHONPATH:$PYTHONPATH\n"
336 - printf "EXTRA_OPTIONS_INITIAL:$EXTRA_OPTIONS_INITIAL $BASE_EXTRA_OPTIONS\n"
337- if [ ! -z ${CI_MERGE_REQUEST_SOURCE_BRANCH_NAME+x} ]; then printf "CI_MERGE_REQUEST_SOURCE_BRANC…
338 - printf "./config/examples/${TEST_ARCH}.py\n"
339 - cat ./config/examples/${TEST_ARCH}.py
340- ./config/examples/${TEST_ARCH}.py || if [ -f naglicenseproblem ]; then exit 126; else exit 1; fi
341- make CFLAGS="${MAKE_CFLAGS}" CXXFLAGS="${MAKE_CXXFLAGS}" FFLAGS="${MAKE_FFLAGS}" CUDAFLAGS="${MA…
342- export ASAN_OPTIONS="log_path=stdout:detect_leaks=false" UBSAN_OPTIONS="suppressions=${PWD}/shar…
343- make CFLAGS="${MAKE_CFLAGS}" CXXFLAGS="${MAKE_CXXFLAGS}" FFLAGS="${MAKE_FFLAGS}" CUDAFLAGS="${MA…
344 - make updatedatafiles
345- if [ -z ${DISABLE_PETSC4PY_TESTS+x} ]; then if [ -z ${ENABLE_PETSC4PY_LDPRELOAD+x} ]; then echo …
346- if [ -z ${DISABLE_TESTS+x} ]; then make cleantest && make CFLAGS="${MAKE_CFLAGS}" CXXFLAGS="${MA…
347 - if [ "${RUN_GCOV}" == 1 ]; then make gcov PETSC_GCOV_OPTIONS="${RUN_GCOV_OPTIONS}"; fi
350 junit: arch-*/tests/testresults.xml
354 - arch-*/lib/petsc/conf/*.log
355 - arch-*/lib/pkgconfig/petsc.pc
356 - arch-*/tests/testresults.xml
357 - arch-*/tests/test_arch-*_tap.log
358 - arch-*/tests/test_arch-*_err.log
359 - arch-*/arch-*-gcovr-report.json.tar.bz2
364 .stage-2:
365 extends: .stage-23
366 stage: stage-2
368 .stage-3:
369 extends: .stage-23
370 stage: stage-3
378 - date
379 - hostname
380 - grep PRETTY_NAME /etc/os-release
381 - nproc
382 - lscpu
383 - ccache --zero-stats
385 - date
386 - ccache --show-stats
391 MAKE_CFLAGS: -Werror
392 MAKE_CXXFLAGS: -Werror
397 MAKE_CFLAGS: -Werror
398 MAKE_CXXFLAGS: -Werror
399 MAKE_FFLAGS: -Werror
403 - .coverage-disable
405 MAKE_CFLAGS: -Werror
406 MAKE_CXXFLAGS: -Werror
407 MAKE_FFLAGS: -Werror
409 - date
410 - hostname
411 - freebsd-version
412 - echo $(sysctl -n hw.ncpu)
413 - ccache --zero-stats
415 - date
416 - ccache --show-stats
420 MAKE_CFLAGS: -Werror
421 MAKE_CXXFLAGS: -Werror
422 MAKE_FFLAGS: -Werror
424 - date
425 - hostname
426 - sw_vers -productVersion
427 - echo $(sysctl -n hw.ncpu)
428 - ccache --zero-stats
430 - date
431 - ccache --show-stats
435 - .coverage-disable
437 - date
438 - hostname
439 - uname -a
440 - nproc
442 - date
445 # The following tests run as part of stage-2.
447 # The tags variable used in the tests below connects the particular test with the runners
448 # listed on the left hand side of https://gitlab.com/petsc/petsc/-/settings/ci_cd.
449 # For example the test 'linux-sycl-double' any runner that has the tags 'gce-u22-stage3, linux-fast'
453 macos-arm:
455 - .stage-3
456 - .macos_test
457 - .coverage-disable
459 - os:macos-arm
461 TEST_ARCH: arch-ci-macos-arm
462 EXTRA_OPTIONS_INITIAL: -check_pointer_intensity 0 -error_output_stdout
465 freebsd-cxx-cmplx-64idx-dbg:
467 - .stage-2
468 - .freebsd_test
470 - os:fbsd
472 TEST_ARCH: arch-ci-freebsd-cxx-cmplx-64idx-dbg
474 freebsd-c-single-opt:
476 - .stage-2
477 - .freebsd_test
479 - os:fbsd
481 TEST_ARCH: arch-ci-freebsd-c-single-opt
483 mswin-opt-impi:
485 - .stage-3
486 - .mswin_test
488 - mswin-11
490 TEST_ARCH: arch-ci-mswin-opt-impi
493 linux-gcc-quad-64idx-dbg:
495 - .stage-2
496 - .linux_test
498 - gce-u24-stage2
499 - linux-gcov
501 TEST_ARCH: arch-ci-linux-gcc-quad-64idx-dbg
503 linux-gcc-pkgs-opt:
505 - .stage-2
506 - .linux_test
508 - gce-u24-stage2
509 - linux-gcov
511 TEST_ARCH: arch-ci-linux-gcc-pkgs-opt
514 - $PETSC_CI_SCHEDULED =~ /yes/
516 linux-gcc-complex-opt-32bit:
518 - .stage-2
519 - .linux_test
521 - gce-u24-stage2
522 - linux-gcov
524 TEST_ARCH: arch-ci-linux-gcc-complex-opt-32bit
526 linux-emcc:
528 - .stage-2
529 - .linux_test
530 - .coverage-disable
532 - gce-u24-stage2
534 TEST_ARCH: arch-ci-linux-emcc
539 # The following tests run as part of stage-3.
542 freebsd-cxx-cmplx-pkgs-dbg:
544 - .stage-3
545 - .freebsd_test
547 - os:fbsd
549 TEST_ARCH: arch-ci-freebsd-cxx-cmplx-pkgs-dbg
551 freebsd-cxx-pkgs-opt:
553 - .stage-3
554 - .freebsd_test
556 - os:fbsd
558 EXTRA_OPTIONS_INITIAL: -vecscatter_mpi1 false -options_left false
559 TEST_ARCH: arch-ci-freebsd-cxx-pkgs-opt
561 freebsd-pkgs-opt:
563 - .stage-3
564 - .freebsd_test
566 - os:fbsd
568 TEST_ARCH: arch-ci-freebsd-pkgs-opt
569 MAKE_CFLAGS: -DPETSC_SKIP_COMPLEX -Werror
571 linux-hip-double:
573 - .stage-3
574 - .linux_test_noflags
575 - .coverage-disable
577 - gpu:amd
578 - os:linux
580 TEST_ARCH: arch-ci-linux-hip-double
582 linux-hip-cmplx:
584 - .stage-3
585 - .linux_test_noflags
586 - .coverage-disable
588 - gpu:amd
589 - os:linux
591 TEST_ARCH: arch-ci-linux-hip-cmplx
593 linux-sycl-double:
595 - .stage-3
596 - .linux_test_nofflags
597 - .coverage-disable
599 - gce-u22-stage3
600 - linux-fast
603 TEST_ARCH: arch-ci-linux-sycl-double
604 LOAD_MODULES: tbb/latest compiler-rt/latest umf/latest compiler/latest mpi/latest dpl/latest
606 MAKE_CFLAGS: -Wno-expected-file-type -Werror
608 linux-cuda-pkgs:
610 - .stage-3
611 - .linux_test
613 - cuda-stage3
615 TEST_ARCH: arch-ci-linux-cuda-pkgs
616 …TEST_OPTS: -j3 queryval='cuda,device,hypre,kokkos,kokkos_kernels' query='requires,requires,require…
617 MAKE_CUDAFLAGS: --compiler-options -Wall,-Werror
620 linux-kokkos-cuda:
622 - .stage-3
623 - .linux_test
625 - cuda-stage3
627 TEST_ARCH: arch-ci-linux-kokkos-cuda
628 TEST_OPTS: -j3 queryval='cuda,kokkos,kokkos_kernels' query='requires,requires,requires'
629 MAKE_CUDAFLAGS: --compiler-options -Wall,-Werror
631 …MODULEPATH: /nfs/gce/projects/petsc/soft/u22.04/spack-2024-11-27-cuda/modules/linux-ubuntu22.04-x8…
632 LOAD_MODULES: cuda/12.8.0-rz6425d
634 linux-cuda112-omp:
636 - .stage-3
637 - .linux_test
638 - .coverage-disable
640 - cuda-stage3
642 TEST_ARCH: arch-ci-linux-cuda112-omp
643 TEST_OPTS: -j4 query=requires queryval=kokkos_kernels
644 LOAD_MODULES: cuda/11.2.2 u-gcc-9/9.4.0
647 MAKE_CUDAFLAGS: --compiler-options -Wall,-Werror
649 linux-cuda-cmplx:
651 - .stage-3
652 - .linux_test
654 - cuda-stage3
656 TEST_ARCH: arch-ci-linux-cuda-cmplx
657 MAKE_CUDAFLAGS: --compiler-options -Wall,-Werror
659 linux-cuda-double-64idx:
661 - .stage-3
662 - .linux_test
664 - cuda12
666 TEST_ARCH: arch-ci-linux-cuda-double-64idx
667 TEST_OPTS: -j3 query=requires queryval=cuda
668 MAKE_CUDAFLAGS: --compiler-options -Wall,-Werror
670 linux-cuda-latest:
672 - .stage-3
673 - .linux_test
675 - cuda13
677 TEST_ARCH: arch-ci-linux-cuda-latest
678 TEST_OPTS: -j3 query='requires,requires' queryval='cuda,kokkos_kernels'
679 MAKE_CUDAFLAGS: --compiler-options -Wall,-Werror
681 linux-cuda-single-cxx:
683 - .stage-3
684 - .linux_test_noflags
685 - .coverage-disable
687 - cuda-stage3
689 TEST_ARCH: arch-ci-linux-cuda-single-cxx
690 …DULEPATH: /nfs/gce/projects/petsc/soft/u22.04/spack-2023-02-02/share/spack/modules/linux-ubuntu22.…
691 LOAD_MODULES: nvhpc-22.11-gcc-11.3.0-vmvmbrx
692 TEST_OPTS: -j15 query=requires queryval=cuda
694 linux-cuda-uni-pkgs:
696 - .stage-3
697 - .linux_test
699 - cuda-stage3
701 TEST_ARCH: arch-ci-linux-cuda-uni-pkgs
702 TEST_OPTS: -j20 query=requires queryval=cuda
703 MAKE_CUDAFLAGS: --compiler-options -Wall,-Werror
705 linux-clang-cuda:
707 - .stage-3
708 - .linux_test
709 - .coverage-disable
711 - cuda-stage3
713 TEST_ARCH: arch-ci-linux-clang-cuda
714 TEST_OPTS: -j 1 queryval='cuda,snes*' query='requires%OR%name'
715 …DULEPATH: /nfs/gce/projects/petsc/soft/u22.04/spack-2023-02-02/share/spack/modules/linux-ubuntu22.…
716 …LOAD_MODULES: llvm-15.0.7-gcc-11.3.0-pjldtxf cuda-11.5.2-gcc-11.3.0-jkoottx gcc-11.3.0-gcc-11.3.0-
717 MAKE_CUDAFLAGS: -Wno-pass-failed -Werror
719 linux-viennacl:
721 - .stage-3
722 - .linux_test
724 - cuda-stage3
726 TEST_ARCH: arch-ci-linux-viennacl
727 MAKE_CXXFLAGS: -Werror -Wno-ignored-attributes
728 TEST_OPTS: -j20 query=requires queryval=viennacl
730 linux-without-fc:
732 - .stage-3
733 - .linux_test
735 - gce-u22-stage3
737 TEST_ARCH: arch-ci-linux-without-fc
739 linux-flang-arm:
741 - .stage-3
742 - .linux_test_noflags
744 - .coverage-disable
746 - arch:arm
747 - os:linux
749 TEST_ARCH: arch-ci-linux-flang-arm
751 linux-cmplx-single-arm:
753 - .stage-3
754 - .linux_test
756 - .coverage-disable
758 - arch:arm
759 - os:linux
762 TEST_ARCH: arch-ci-linux-cmplx-single-arm
764 linux-gcc-cxx-avx2:
766 - .stage-3
767 - .linux_test
769 - name:petsc-knl-01
771 TEST_ARCH: arch-ci-linux-gcc-cxx-avx2
773 linux-clang-avx:
775 - .stage-3
776 - .linux_test
778 - name:petsc-knl-01
780 TEST_ARCH: arch-ci-linux-clang-avx
782 linux-knl:
784 - .stage-3
785 - .linux_test
786 - .coverage-disable
788 - name:petsc-knl-01
790 MAKE_FFLAGS: -warn errors
791 TEST_ARCH: arch-ci-linux-knl
792 … LOAD_MODULES: intel-oneapi-compilers/2022.0.2 intel-oneapi-mkl/2022.0.2 intel-oneapi-mpi/2021.5.1
794 linux-intel-mkl-single:
796 - .stage-3
797 - .linux_test_nofflags
798 - .coverage-disable
800 - name:petsc-knl-01
802 TEST_ARCH: arch-ci-linux-intel-mkl-single
803 … LOAD_MODULES: intel-oneapi-compilers/2022.0.2 intel-oneapi-mkl/2022.0.2 intel-oneapi-mpi/2021.5.1
805 linux-cxx-cmplx-pkgs-64idx:
807 - .stage-3
808 - .linux_test
810 - gce-u22-stage3
812 TEST_ARCH: arch-ci-linux-cxx-cmplx-pkgs-64idx
813 EXTRA_OPTIONS_INITIAL: -fp_trap
814 …MODULEPATH: /nfs/gce/projects/petsc/soft/u22.04/spack-2024-08-30/modules/linux-ubuntu22.04-x86_64/…
815 …LOAD_MODULES: python/3.13.0rc1-rayc5m7 py-setuptools/69.2.0-6yku3zk python-venv/1.0-bnbfk2n py-pip…
818 linux-pkgs-dbg-ftn-interfaces:
820 - .stage-3
821 - .linux_test
822 - .coverage-disable
824 - gce-u22-stage3
826 TEST_ARCH: arch-ci-linux-pkgs-dbg-ftn-interfaces
829 EXTRA_OPTIONS_INITIAL: -fp_trap
831 linux-pkgs-cxx-mlib:
833 - .stage-3
834 - .linux_test
836 - gce-u22-stage3
838 TEST_ARCH: arch-ci-linux-pkgs-cxx-mlib
839 EXTRA_OPTIONS_INITIAL: -fp_trap
842 linux-pkgs-valgrind:
844 - .stage-3
845 - .linux_test
847 - gce-valgrind
849 TEST_ARCH: arch-ci-linux-pkgs-valgrind
853 linux-pkgs-opt:
855 - .stage-3
856 - .linux_test
858 - gce-u22-stage3
859 - linux-fast
861 TEST_ARCH: arch-ci-linux-pkgs-opt
863 MAKE_CFLAGS: -Wno-unused-const-variable -Werror
864 MAKE_CXXFLAGS: -Wno-deprecated-declarations -Werror
869 linux-pkgs-dbg:
871 - .stage-3
872 - .linux_test
874 - gce-u22-stage3
875 - linux-gcov
877 TEST_ARCH: arch-ci-linux-pkgs-dbg
878 EXTRA_OPTIONS_INITIAL: -fp_trap
880 linux-matlab-ilp64:
882 - .stage-3
883 - .linux_test
885 - gce-u22-stage3
886 - linux-gcov
888 TEST_ARCH: arch-ci-linux-matlab-ilp64
892 linux-intel-cmplx:
894 - .stage-3
895 - .linux_test_nofflags
896 - .coverage-disable
898 - gce-u22-stage3
900 TEST_ARCH: arch-ci-linux-intel-cmplx
901 LOAD_MODULES: intel-oneapi-compilers/2023.0.0 intel-oneapi-mkl/2022.0.2
903 linux-misc-dbg:
905 - .stage-3
906 - .linux_test
908 - gce-u22-stage3
910 TEST_ARCH: arch-ci-linux-misc-dbg
913 check-each-commit:
915 - .stage-2
916 - .linux_test
917 - .coverage-disable
919 - gce-u22-stage2
921- export PATH=/nfs/gce/projects/petsc/soft/u22.04/spack-2025-08-26-llvm/opt/spack/linux-x86_64/llv…
922 - lib/petsc/bin/maint/check-each-commit.sh
925 - $PETSC_CI_SCHEDULED =~ /yes/
928 linux-analyzer:
930 - .stage-2
931 - .linux_test
932 - .coverage-disable
934 - gce-u22-stage2
936 - printf "PATH:$PATH\n"
937 - printf "PYTHONPATH:$PYTHONPATH\n"
938 - python3 --version
939 - git --version
940 - mypy --version
941 - vermin --version
942 - printf "EXTRA_OPTIONS_INITIAL:$EXTRA_OPTIONS_INITIAL $BASE_EXTRA_OPTIONS\n"
943- if [ ! -z ${CI_MERGE_REQUEST_SOURCE_BRANCH_NAME+x} ]; then printf "CI_MERGE_REQUEST_SOURCE_BRANC…
944 - printf "./config/examples/${TEST_ARCH}.py\n"
945 - cat ./config/examples/${TEST_ARCH}.py
946 - ./config/examples/${TEST_ARCH}.py
947 - make LINTER_OPTIONS="${LINTER_OPTIONS}" test-lint
948 - make V=3 LINTER_OPTIONS="${LINTER_OPTIONS} -- ./src" lint
950 TEST_ARCH: arch-ci-linux-analyzer
951 …LINTER_OPTIONS: "--PETSC_ARCH=${TEST_ARCH} --clang_lib=`llvm-config-14 --libdir`/libclang.so.1 --w…
954 - arch-*/lib/petsc/conf/*.log
955 - ./petscLintPatches/*.patch
959 - $PETSC_CI_SCHEDULED =~ /yes/
961 linux-intel:
963 - .stage-3
964 - .linux_test_nofflags
965 - .coverage-disable
967 - gce-u22-stage3
969 TEST_ARCH: arch-ci-linux-intel
970 LOAD_MODULES: intel-oneapi-compilers/2023.0.0 intel-oneapi-mkl/2022.0.2
972 linux-clang-ubsan:
974 - .stage-2
975 - .linux_test
976 - .coverage-disable
978 - gce-u22-stage2
980 TEST_ARCH: arch-ci-linux-clang-ubsan
983 linux-opt-arm:
985 - .stage-3
986 - .linux_test
988 - .coverage-disable
990 - arch:arm
991 - os:linux
993 TEST_ARCH: arch-ci-linux-opt-arm
995 linux-pkgs-64idx:
997 - .stage-3
998 - .linux_test
1000 - gce-u22-stage3
1001 - linux-mcpu
1003 TEST_ARCH: arch-ci-linux-pkgs-64idx
1004 LOAD_MODULES: intel-oneapi-mkl/2022.0.2
1006 linux-64idx-i8:
1008 - .stage-3
1009 - .linux_test
1011 - gce-u22-stage3
1012 - linux-mcpu
1014 TEST_ARCH: arch-ci-linux-64idx-i8
1016 linux-gcc-ifc-cmplx:
1018 - .stage-3
1019 - .linux_test_nofflags
1021 - gce-u22-stage3
1023 TEST_ARCH: arch-ci-linux-gcc-ifc-cmplx
1024 LOAD_MODULES: intel-oneapi-compilers/2022.2.1
1026 linux-opt-cxx-quad:
1028 - .stage-3
1029 - .linux_test
1031 - gce-u22-stage3
1033 TEST_ARCH: arch-ci-linux-opt-cxx-quad
1034 …MODULEPATH: /nfs/gce/projects/petsc/soft/u22.04/spack-2024-08-30/modules/linux-ubuntu22.04-x86_64/…
1035 LOAD_MODULES: python/3.13.0rc1-rayc5m7
1037 linux-ILP64:
1039 - .stage-3
1040 - .linux_test
1042 - gce-u22-stage3
1044 TEST_ARCH: arch-ci-linux-ILP64
1045 LOAD_MODULES: gcc/8.5.0 mpich/2-1.5-gcc-8.5.0
1046 MAKE_CFLAGS: -Wno-discarded-qualifiers -Werror
1048 linux-64idx-i8-uni:
1050 - .stage-3
1051 - .linux_test
1053 - gce-u22-stage3
1054 - linux-mcpu
1056 TEST_ARCH: arch-ci-linux-64idx-i8-uni
1058 linux-misc-32bit:
1060 - .stage-3
1061 - .linux_test
1063 - gce-u22-stage3
1065 TEST_ARCH: arch-ci-linux-misc-32bit
1067 mswin-intel-cxx-cmplx:
1069 - .stage-3
1070 - .mswin_test
1072 - mswin-11
1074 TEST_ARCH: arch-ci-mswin-intel-cxx-cmplx
1076 MAKE_CFLAGS: -Wno-string-compare -Wno-deprecated-declarations
1077 … MAKE_CXXFLAGS: -Wno-string-compare -Wno-deprecated-declarations -Wno-unused-command-line-argument
1079 mswin-uni:
1081 - .stage-3
1082 - .mswin_test
1084 - mswin-11
1086 EXTRA_OPTIONS_INITIAL: -check_pointer_intensity 0 -error_output_stdout
1087 TEST_ARCH: arch-ci-mswin-uni
1089 mswin-gnu:
1091 - .stage-3
1092 - .mswin_test
1094 - mswin-11
1096 TEST_ARCH: arch-ci-mswin-gnu
1097 MAKE_CFLAGS: -Werror
1098 MAKE_CXXFLAGS: -Werror
1099 MAKE_FFLAGS: -Werror
1102 #mswin-intel:
1104 # - .stage-3
1105 # - .mswin_test
1107 # - os:win
1109 # TEST_ARCH: arch-ci-mswin-intel
1111 macos-cxx-cmplx-pkgs-dbg-arm:
1113 - .stage-3
1114 - .macos_test
1115 - .coverage-disable
1117 - os:macos-arm
1119 TEST_ARCH: arch-ci-macos-cxx-cmplx-pkgs-dbg-arm
1122 macos-cxx-pkgs-opt-arm:
1124 - .stage-3
1125 - .macos_test
1126 - .coverage-disable
1128 - os:macos-arm
1130 EXTRA_OPTIONS_INITIAL: -vecscatter_mpi1 false -options_left false
1131 TEST_ARCH: arch-ci-macos-cxx-pkgs-opt-arm
1132 MAKE_CXXFLAGS: -Werror -Wno-pass-failed
1135 macos-dbg:
1137 - .stage-3
1138 - .macos_test
1139 - .coverage-disable
1141 - os:macos-x64
1143 TEST_ARCH: arch-ci-macos-dbg
1147 macos-opt-arm:
1149 - .stage-3
1150 - .macos_test
1151 - .coverage-disable
1153 - os:macos-arm
1155 TEST_ARCH: arch-ci-macos-opt-arm
1159 coverage-analyze:
1160 extends: .test
1161 stage: stage-4
1163 - gce-u22-short
1165 # stage-2
1166 - linux-gcc-quad-64idx-dbg
1167 - linux-gcc-pkgs-opt
1168 - linux-gcc-complex-opt-32bit
1169 # stage-3
1170 - linux-pkgs-dbg
1171 - linux-matlab-ilp64
1172 - linux-cuda-pkgs
1173 - linux-cxx-cmplx-pkgs-64idx
1174 - linux-cuda-cmplx
1175 - linux-cuda-double-64idx
1176 - linux-cuda-uni-pkgs
1177 - linux-viennacl
1178 - linux-without-fc
1179 - linux-gcc-cxx-avx2
1180 - linux-clang-avx
1181 - linux-pkgs-cxx-mlib
1182 - linux-pkgs-valgrind
1183 - linux-misc-dbg
1184 - linux-pkgs-64idx
1185 - linux-pkgs-opt
1186 - linux-64idx-i8
1187 - linux-gcc-ifc-cmplx
1188 - linux-opt-cxx-quad
1189 - linux-ILP64
1190 - linux-64idx-i8-uni
1193 PETSC_ARCH: arch-ci-analyze-pipeline
1195 - date
1196 - hostname
1198 - if [ ! -z ${LOAD_MODULES+x} ]; then module --trace load ${LOAD_MODULES}; module list; fi
1199 - ${PYTHON} --version
1200 - gcovr --version
1201 - printf "PATH:$PATH\n"
1202 - printf "PYTHONPATH:$PYTHONPATH\n"
1203- if [ ! -z ${CI_MERGE_REQUEST_SOURCE_BRANCH_NAME+x} ]; then printf "CI_MERGE_REQUEST_SOURCE_BRANC…
1204 - ${PYTHON} ./configure --with-mpi=0 --with-cxx=0 --download-sowing --with-fortran-bindings
1205 - make mergegcov PETSC_GCOV_OPTIONS='--ci-mode --verbose'
1211 - arch-ci-analyze-pipeline/gcovr/*
1212 - arch-ci-analyze-pipeline/lib/petsc/conf/*.log
1217 path: arch-ci-analyze-pipeline/gcovr/xml/*.xml
1221 .coverage-review:
1222 extends: .test
1225 - gce-u22-short
1227 - coverage-analyze
1229 - date
1230 - hostname
1235 - arch-ci-analyze-pipeline/gcovr/*
1236 - arch-ci-analyze-pipeline/lib/petsc/conf/*.log
1239 coverage-total-review:
1240 extends: .coverage-review
1243 …url: https://$CI_PROJECT_NAMESPACE.gitlab.io/-/$CI_PROJECT_NAME/-/jobs/$CI_JOB_ID/artifacts/arch-c…
1247 coverage-untested-review:
1248 extends: .coverage-review
1251 …url: https://$CI_PROJECT_NAMESPACE.gitlab.io/-/$CI_PROJECT_NAME/-/jobs/$CI_JOB_ID/artifacts/arch-c…
1255 analyze-pipeline:
1256 extends: .coverage-review
1258 - date
1259 - hostname
1262 - if [ -f ./arch-ci-analyze-pipeline/gcovr/.CI_FAIL ]; then
1263 cat ./arch-ci-analyze-pipeline/gcovr/merge_gcov_errors.log;
1272 stage: stage-2
1274 - gce-u24-docs
1276 - git fetch --unshallow --tags origin +release:remotes/origin/release +main:remotes/origin/main
1277 - printf "PATH:$PATH\n"
1278 - printf "PYTHONPATH:$PYTHONPATH\n"
1279 - VENV=venv-petsc-docs &&
1280 python3 -m venv $VENV &&
1283 python -m pip install -r requirements.txt
1288 docs-review:
1290 - .docs
1291 - .test-basic
1293 - printf "PATH:$PATH\n"
1294 - printf "PYTHONPATH:$PYTHONPATH\n"
1295 #- printf "python:${PYTHON}\n"
1296 #- ${PYTHON} -m pip list --user
1297 - printf "CONFIG_OPTS:${CONFIG_OPTS}\n"
1298 - printf "EXTRA_OPTIONS_INITIAL:$EXTRA_OPTIONS_INITIAL $BASE_EXTRA_OPTIONS\n"
1299- if [ ! -z ${CI_MERGE_REQUEST_SOURCE_BRANCH_NAME+x} ]; then printf "CI_MERGE_REQUEST_SOURCE_BRANC…
1300- (time make html BUILDDIR="../public" SPHINXOPTS="-T -E -W --keep-going -j 2") || (printf "Sphinx…
1301- (time make latexpdf SPHINXOPTS="-T -E -W --keep-going -j 2") || (printf "Sphinx build failed (wa…
1302 - cp _build/latex/manual.pdf ../public/html/manual/
1305 …url: https://$CI_PROJECT_NAMESPACE.gitlab.io/-/$CI_PROJECT_NAME/-/jobs/$CI_JOB_ID/artifacts/public…
1310 - public
1314 - $PETSC_CI_SCHEDULED =~ /yes/
1323 - mkdir -p ../public/ && cp public/* ../public/
1324- (git checkout origin/main && pip install -r requirements.txt && make website-deploy SPHINXOPTS="
1325 - cd .. && git clean -fdxq -e public -e venv-petsc-docs && cd doc && rm -rf images
1326- (git checkout origin/release && pip install -r requirements.txt && make website-deploy SPHINXOPT…
1327 - rm -rf ../public/*/.doctrees
1330 - $PETSC_CI_SCHEDULED == "yes"
1333 - public
1338 …sts are experimental; more tests by users at other sites may be added below this. Experimental test
1342 .test-experimental:
1343 extends: .test