Closed gideonsimpson closed 2 years ago
Hi @gideonsimpson ,
looking through your stacktrace I see that the main error is a stale file handle.
ERROR: LoadError: SystemError: ftruncate: Stale file handle
I suspect that this has nothing to do with JLD2 but instead with the file. I've seen similar issues when 1) the nfs file server had a hickup causing file handle to go stale 2) I accidentally moved / overwrote / deleted the files or containing folders of the file while it was open
That could be it. I ran the job again and it worked without a problem. I'll close out this issue.
In code that has otherwise been working, when I call
jldsave
, I recently got an error I hadn't seen before. When I say it's otherwise working, when I run the problem with slightly different numerical parameters, I don't get the same errors. This also only showed up in a job that took 25 hours on a cluster, so it's a little tough to provide a simple example that consistently produces the error.