jipolanco / PencilFFTs.jl

Fast Fourier transforms of MPI-distributed Julia arrays
https://jipolanco.github.io/PencilFFTs.jl/dev/
MIT License
77 stars 7 forks source link

Warning of compile cache failing when change mpiexejl --project #53

Open Lightup1 opened 2 years ago

Lightup1 commented 2 years ago

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 commented 2 years ago

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

Lightup1 commented 2 years ago

It seems occuring randomly I may re open the issue

jipolanco commented 2 years ago

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.

Lightup1 commented 2 years ago

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