try:
@everywhere function f1(x)
sleep(2)
rand()+x
end
You work with multiple processes here, which involves the pain to make your functions available on all processes.
try:
@everywhere function f1(x)
sleep(2)
rand()+x
end
You work with multiple processes here, which involves the pain to make your functions available on all processes.