Warning of compile cache failing when change mpiexejl --project
Opened this issue · 4 comments
After change a another mpi base by mpiexejl --project, there is a warning:
┌ Warning: The call to compilecache failed to create a usable precompiled cache file for PencilArrays [0e08944d-e94e-41b1-9406-dcf66b6a9d2e]
│ exception = Required dependency StaticArrays [90137ffa-7385-5640-81b9-e52037218182] failed to load from a cache file.
└ @ Base loading.jl:1132
Is it important to fix or just let it be?
Another same run will have no warning. I'll close the issue
It seems occuring randomly I may re open the issue
Hi, this might be the result of all MPI processes trying to precompile packages at the same time. You may want to try precompiling with a single process first, as described here.
After I change to IMPI2018 and add julia --project -e 'using Pkg; Pkg.instantiate()'
andjulia --project -e 'using Pkg; Pkg.precompile()'
the warning messages don't showing now.
But it still keep showing when I change to other MPIs