-
-
Notifications
You must be signed in to change notification settings - Fork 38
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
Allowing a DArray to do as standard Array does #202
Comments
What you seeing is an unfortunate interaction between how distributed Julia is implemented and how struct definitions work. Note the:
Lift the call to the rundistributed function into this own Generally I try to avoid |
Sorry, can you explain exactly what you mean please? I put
[edit - I was so distracted making this reply - see amended quote] |
For the record
and
Results in:
|
I am currently low on bandwidth, if you have the time and inclination to look into this yourself, here is my hunch. It seems to me that the method we want to call is too new. So the question is why? |
Dear All,
I'm considering the following MWE, which consists of creating a matrix and vector of a
struct
an doing a calculation on them. I import the relevant mathematical operators from base, and it just works. Next Iaddprocs
and try it withDArray
, and the same calculation fails. Is there a way to enable this kind of functionality? It's definitely possible that I'm barking up the wrong tree and there's a much better way of achieving this - please let me know!Thanks,
James
Output:
The text was updated successfully, but these errors were encountered: