I was wondering if it is possible (or if there are plans to do so) to load a minimal subspace of functionalities that one needs. The precompilation times are high and for my usage they deter me from using it. I would like for example the ODEProblem and solve function alongside with an explicit solver such as a RK4() method. For this purpose I don’t see a reason why I have to wait for (say) Krylov methods to precompile etc.
@time using OrdinaryDiffEq
[ Info: Precompiling OrdinaryDiffEq [1dea7af3-3e70-54e6-95c3-0bf5283fa5ed]
┌ Warning: The call to compilecache failed to create a usable precompiled cache file for OrdinaryDiffEq [1dea7af3-3e70-54e6-95c3-0bf5283fa5ed]
│ exception = Required dependency NonlinearSolve [8913a72c-1f9b-4ce2-8d82-65094dcecaec] failed to load from a cache file.
└ @ Base loading.jl:1992
[ Info: Precompiling NonlinearSolve [8913a72c-1f9b-4ce2-8d82-65094dcecaec]
┌ Warning: The call to compilecache failed to create a usable precompiled cache file for NonlinearSolve [8913a72c-1f9b-4ce2-8d82-65094dcecaec]
│ exception = Error reading package image file.
└ @ Base loading.jl:1992
167.764636 seconds (29.87 M allocations: 1.823 GiB, 0.30% gc time, 8.74% compilation time)
versioninfo()
Julia Version 1.10.6
Commit 67dffc4a8ae (2024-10-28 12:23 UTC)
Build Info:
Official https://julialang.org/ release
Platform Info:
OS: Linux (x86_64-linux-gnu)
CPU: 8 × Intel(R) Core(TM) i7-8665U CPU @ 1.90GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-15.0.7 (ORCJIT, skylake)
Threads: 1 default, 0 interactive, 1 GC (on 8 virtual cores)
Environment:
LD_LIBRARY_PATH = :/home/stamatis/.openmpi/lib/:/home/svretina/.julia/artifacts/e95ca94c82899616429924e9fdc7eccda275aa38/lib/