PencilFFTs.jl icon indicating copy to clipboard operation
PencilFFTs.jl copied to clipboard

Warning of compile cache failing when change mpiexejl --project

Open Lightup1 opened this issue 2 years ago • 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?

Lightup1 avatar Jun 24 '22 03:06 Lightup1

Another same run will have no warning. I'll close the issue

Lightup1 avatar Jun 24 '22 03:06 Lightup1

It seems occuring randomly I may re open the issue

Lightup1 avatar Jun 24 '22 04:06 Lightup1

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.

jipolanco avatar Jun 24 '22 06:06 jipolanco

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

Lightup1 avatar Jun 24 '22 08:06 Lightup1