It keys off of $PETSC_ARCH/include/petscconf.h so is a configure/build
time configuration not a runtime configuration.  

Scott



On 2021-03-22 21:40, Pierre Jolivet did write:
> 
> 
> > On 22 Mar 2021, at 9:24 PM, Pierre Jolivet <pie...@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
> 

-- 
Scott Kruger
Tech-X Corporation               kru...@txcorp.com
5621 Arapahoe Ave, Suite A       Phone: (720) 466-3196
Boulder, CO 80303                Fax:   (303) 448-7756

Reply via email to