JuliaParallel / JuliaParallel/MPI.jl

Recv

Open
#127 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
439
Forks
127
Avg merge
19h 6m
Merged PRs (30d)
17

Description

In mpi-base.jl Recv has the following declaration:

function Recv{T<:MPIDatatype}(::Type{T}, src::Integer, tag::Integer, comm::Comm)

However:

MPI.Recv(Int64, Int(rank + txOffst), Int(i), comm)
and
MPI.Recv(typeof(rxVal), Int(rank + txOffst), Int(i), comm)

Both throw the error

ERROR: LoadError: MethodError: `Recv!` has no method matching Recv!(::Type{Ref{Int64}}, ::Int64, ::Int64, ::MPI.Comm)

It appears that Recv calls Recv! which then expects an array type, am I missing something or is this a bug? I notice that there are no tests or examples for sending single objects.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.