Going from the same link, I perform the following operations-

r = remotecall(2, +, 2, 2)
s = remotecall(2, +, 1, r)

I get the following errors-

exception on 2: ERROR: `+` has no method matching +(::Int64, ::RemoteRef)
 in anonymous at multi.jl:819
 in run_work_thunk at multi.jl:592
 in run_work_thunk at multi.jl:601
 in anonymous at task.jl:6

What could be the problem ?

ᐧ

Regards,
Kapil Agarwal

On Sat, Oct 11, 2014 at 12:20 PM, Kapil <[email protected]> wrote:

> Okay,
> I went to this link
> http://www.admin-magazine.com/HPC/Articles/Parallel-Julia-Jumping-Right-In
> which is listed in the Julia learning resources where it is written as
> remote_call.
>
> Maybe the link should be fixed.
> ᐧ
>
> Regards,
> Kapil Agarwal
>
> On Sat, Oct 11, 2014 at 12:18 PM, Andreas Noack <
> [email protected]> wrote:
>
>> It is "remotecall" without the underscore.
>>
>> Med venlig hilsen
>>
>> Andreas Noack
>>
>> 2014-10-11 12:10 GMT-04:00 Kapil Agarwal <[email protected]>:
>>
>> Hi
>>>
>>> I started Julia with 'julia -q -p 2' and then ran 'r = remote_call(2, +,
>>> 2, 2)' and I get 'ERROR: remote_call not defined'.
>>>
>>> Please help me solve the issue.
>>>
>>> I am using a machine with 16 cores.
>>>
>>> Kapil
>>>
>>
>>
>

Reply via email to