getkeops / keops

KErnel OPerationS, on CPUs and GPUs, with autodiff and without memory overflows
https://www.kernel-operations.io
MIT License
1.04k stars 65 forks source link

FileNotFoundErrors on parallel execution. #324

Closed kpoeppel closed 10 months ago

kpoeppel commented 1 year ago

When keopscore is imported in two or more parallel python scripts, there is a bad race condition:

FileNotFoundError: [Errno 2] No such file or directory: 'PATH_OMITTED...tmp.txt'