Open aaowens opened 4 years ago
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.
@everywhere
However, if I instead run tangle("Parallel-VFI-examples.jmd") and run the resulting Julia script by itself, it works fine.
tangle("Parallel-VFI-examples.jmd")
I came across this same issue today. I suspect tangle and then running the script will work.
tangle
The issue persists...
The following jmd file fails to weave https://gist.github.com/aaowens/30528f61528104988a53e15c5402a86f .
If I try to run it with
I get errors like
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.