I believe I may have found a bug in Julia source code but I can’t pinpoint the exact line ([see this topic])(There is a bug in this function and I can't figure out what it is). What I want to do is modify the
Distributed.jl module in Julia source code so that whenever I write
using Distributed (or when a pacakge called
using Distributed) my edited code is used.
This is what I’ve done so far. I’ve taken the actual source code files from Julia source and copied them into a new folder. Then I
include this folder and call
using Revise includet("Distributed.jl") using .Distributed using ClusterManagers a = addprocs(SlurmManager(2))
However, this dosnt work since
ClusterManagers also does a
using Distributed call and so it turns out that my edited
Distributed != ClusterManagers.Distributed.
Is the only way to edit the Julia source code and recompile?