Draft: DaVinci cache development
Want to make DV use internal cache made from AllFunctor job
Before development
make fast/DaVinci/test ARGS='-R DaVinciExamples.tupling.test_davinci_tupling_All'
FunctorFactory INFO New functor library will be created: "/run/user/41827/FunctorJitLib_0xc9cae712704cbeb_0x1ed6fe2dae23ee50.so"
FunctorFactory INFO Writing cpp files for 182 functors split in 4 files
FunctorFactory INFO Compilation will use 4 jobs.
FunctorFactory INFO Compilation of functor library took 36 seconds
After development
Cache now being built
DaVinci/build.x86_64_v2-el9-gcc13-opt/DaVinciCache/libFunctorCache_DaVinci_davinci_tuple_all_functors.so
Now DaVinciExamples.tupling.test_davinci_tupling_All has no report of FunctorFactory in log (and not using local one in /tmp/)
If I do not build the cache - build.x86_64_v2-el9-gcc13-opt/DaVinciCache/ does not exist - and set
<argument name="environment"><set>
<text>THOR_DISABLE_JIT=1</text>
</set></argument>
I get
FunctorFactory FATAL DisableJIT (THOR_DISABLE_JIT env var) is true but the following functors are not in the functor cache.
FunctorFactory ERROR missing functor 0x3d05f04ffe179b registered by FunTupleBase_Particles/B0DsK_Tuple
...
...
including the cache again it works and I get no mention of FunctorFactory
Edited by Nicole Skidmore