CobayaSampler/cobaya

Lock on input parameter file

mraveri opened this issue · 2 comments

I am setting the env variable that should prevent locking files and parameters.input.yaml.locked is still being produced (preventing resuming the run...)

My solution is removing lock files by hand... which I don't particularly enjoy...

Is this intended? Can it be disabled?

cmbant commented

Setting COBAYA_USE_FILE_LOCKING avoids using file locks, and instead uses .lock files. The .lock files should automatically be deleted for a regular termination (but not if it crashes, or job times out). Using file locks is easier if you can.

I see, so it is the intended behavior. Closing the issue, thanks!