Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

move darray from base affect @parallel on master branch #10485

Closed
armgong opened this issue Mar 12, 2015 · 4 comments · Fixed by #10486
Closed

move darray from base affect @parallel on master branch #10485

armgong opened this issue Mar 12, 2015 · 4 comments · Fixed by #10486

Comments

@armgong
Copy link
Contributor

armgong commented Mar 12, 2015

julia> @Everywhere using DistributedArrays

julia> x= @parallel [sqrt(i) for i = 1:1e5]
ERROR: UndefVarError: DArray not defined

@amitmurthy
Copy link
Contributor

This was another way of creating DArrays (via a comprehension). It should be removed from Base and implemented in DistributedArrays.

@armgong
Copy link
Contributor Author

armgong commented Mar 12, 2015

thanks, and julia/base/linalg/distributed.jl maybe also need remove? since there is no DArray anymore in base lib

@amitmurthy
Copy link
Contributor

Yes, you are right. Have updated the PR.

@jakebolewski
Copy link
Member

This has been added to the DistributedArray's package. The syntax is now x = @DArray [sqrt(i) for i=1:5]. Thanks @armgong for highlighting this omission in removing DArray's from Base.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants