There also seems to be a scope issue as well. The following throws an error that `a` is not defined. I guess it's because of the local scope but I would hope this wouldn't be a problem for @parallel:
runparl = true
if runparl
addprocs(3)
a = rand(5)
x = @parallel (vcat) for k=1:3
sin(a)
end
end
