Menu

#2 Error when receiving a basic int using Communicator::recv()

open
nobody
8
2007-11-29
2007-11-29
P. Heckeler
No

When receiving a basic int variable (with given tag and rank!!!) the compiler can't determine which recv-method to use. This works for all basic types but not for int!
I think the seconf int-param may be recognized as an iterator ?!?

When only the int-param is bypassed to the method-template (no tag and rank) it also works fine...

Compiler-Output: ../TPO++/src/current_arch/communicator.H:1906: Anmerkung: Kandidat 1: TPO::Status TPO::Communicator::recv(const Iterator&, const Iterator&, const TPO::Rank&, const TPO::Tag&) [with Iterator = int]
../TPO++/src/current_arch/communicator.H:1886: Anmerkung: Kandidat 2: TPO::Status TPO::Communicator::recv(T&, const TPO::Rank&, const TPO::Tag&) [with T = int]

Discussion


Log in to post a comment.

MongoDB Logo MongoDB