When a @ct.electron changes the working directory, Covalent crashes because it can no longer find the results pkl file. See #94 for the somewhat cryptic error message.
Always, always, always have all files generated/parsed by Covalent be internally represented as absolute file paths, never relative file paths. You can basically copy what I've done in the covalent-hpc-pluginhere and elsewhere in terms of file path handling.
Environment
What is happening?
When a
@ct.electron
changes the working directory, Covalent crashes because it can no longer find the results pkl file. See #94 for the somewhat cryptic error message.How can we reproduce the issue?
What should happen?
No crash.
Any suggestions?
Always, always, always have all files generated/parsed by Covalent be internally represented as absolute file paths, never relative file paths. You can basically copy what I've done in the
covalent-hpc-plugin
here and elsewhere in terms of file path handling.