Weave.jl
Weave.jl copied to clipboard
Weave not working with distributed processing
The following jmd file fails to weave https://gist.github.com/aaowens/30528f61528104988a53e15c5402a86f .
If I try to run it with
weave("Parallel-VFI-examples.jmd")
I get errors like
ERROR: UndefVarError: DM not defined
for my module DM. Module DM is defined @everywhere and I have added multiple processes.
However, if I instead run tangle("Parallel-VFI-examples.jmd") and run the resulting Julia script by itself, it works fine.
I came across this same issue today. I suspect tangle and then running the script will work.
The issue persists...