Re: [petsc-dev] Test harness + PETSC_HAVE_DEFINED
On 22 Mar 2021, at 10:15 PM, Scott Kruger <[email protected]> wrote:
It keys off of $PETSC_ARCH/include/petscconf.h so is a configure/build time configuration not a runtime configuration.
Right, and since 3.12, <li>The ./configure option --with-avx512-kernels defaults to true now so the manually optimized AVX-512 kernels are used by default</li>. So instead of having a single worker with: config/examples/arch-ci-linux-knl.py: '--with-avx512-kernels=1', There should probably have been some workers with the flag --with-avx512-kernels=0, I guess. ksp_ksp_tests-ex6_3_skip_pipegcr is in fact skipped by all workers now. Thanks, Pierre
Scott
On 2021-03-22 21:40, Pierre Jolivet did write:
On 22 Mar 2021, at 9:24 PM, Pierre Jolivet <[email protected]> wrote:
Hello, My make check is skipping tests which have a “requires: defined(PETSC_USE_SHARED_LIBRARIES)” with the message "SKIP PETSC_HAVE_DEFINED(PETSC_USE_SHARED_LIBRARIES) requirement not met" even though in configure.log I have: 2021-03-22T16:17:43.1626452Z #define PETSC_USE_SHARED_LIBRARIES 1 Is this expected?
Sorry for the double send, I’m now realizing it should read define, not defined.
Here is an ever more puzzling behavior. https://gitlab.com/petsc/petsc/-/jobs/1118286502/artifacts/browse/arch-ci-fr... <https://gitlab.com/petsc/petsc/-/jobs/1118286502/artifacts/browse/arch-ci-freebsd-pkgs-opt/tests/><https://gitlab.com/petsc/petsc/-/jobs/1118286502/artifacts/browse/arch-ci-freebsd-pkgs-opt/tests/ <https://gitlab.com/petsc/petsc/-/jobs/1118286502/artifacts/browse/arch-ci-freebsd-pkgs-opt/tests/>> ok ksp_ksp_tests-ex6_3_skip_pipegcr # SKIP Null requirement not met: define(PETSC_USE_AVX512_KERNELS) #PIPEGCR generates nans on linux-knl test: requires: !define(PETSC_USE_AVX512_KERNELS) suffix: 3_skip_pipegcr
I’ve also realized that PETSC_USE_AVX512_KERNELS is defined on that worker, which seems a little weird to me (is it defined for all workers, even those which are not AVX512-capable?).
Thanks, Pierre
Why is this test skipped (on a worker other than linux-knl)? Thanks, Pierre
-- Scott Kruger Tech-X Corporation [email protected] <mailto:[email protected]> 5621 Arapahoe Ave, Suite A Phone: (720) 466-3196 Boulder, CO 80303 Fax: (303) 448-7756
participants (1)
-
Pierre Jolivet