MultiApply not working when using package gstat
Hi @aho ,
MultiApply is not working when using the function krige.cv from the package gstat. I've prepared a reproducible example in /esarchive/scratch/jmateu/Codes/geostats/UK_multiapply_test.R. There is a logical variable force_working
that you can set to true to avoid the krige.cv function and see that the parallelized function is actually working. Also, when setting ncores=1, it works perfectly fine.
I've tried to run it in RStudio, in the terminal, and launching a job... nothing seems to work.
It bothers me because we have already parallelized a script with this krige.cv function, and it works well: https://earth.bsc.es/gitlab/es/universalkriging/-/blob/production/general/cross_UK2.R
I don't know what else I can try, do you have any suggestions?
Thanks so much and happy new year!
Jan