[petsc-dev] Test harness + PETSC_HAVE_DEFINED

Pierre Jolivet pierre at joliv.et
Mon Mar 22 15:40:23 CDT 2021



> On 22 Mar 2021, at 9:24 PM, Pierre Jolivet <pierre at joliv.et> 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-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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20210322/d4111453/attachment.html>


More information about the petsc-dev mailing list