Weave.jl icon indicating copy to clipboard operation
Weave.jl copied to clipboard

Weave not working with distributed processing

Open aaowens opened this issue 5 years ago • 2 comments

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.

aaowens avatar Jan 14 '20 23:01 aaowens

I came across this same issue today. I suspect tangle and then running the script will work.

platawiec avatar Feb 12 '20 21:02 platawiec

The issue persists...

jaepillee0315 avatar Oct 10 '21 21:10 jaepillee0315