Sending code to workers



As I want to keep everything as simple as possible, I figured out that I can send code to all Julia workers simply by

@eval @everywhere Base.include_string($(readstring(open("mycode.jl")))) 

and that works amazingly well! However this command leaves include statements. How could I generalize for all include statements which may be in mycode.jl and follow up files?

Initiate workers on a remote cluster from local master process