mercury
mercury copied to clipboard
Cannot HG_Forward to self
When SELF_FORWARD is disabled, the address returned by HG_Addr_self cannot be used to forward RPCs. Instead, one has to convert it into a string (HG_Addr_to_string) then do a lookup to get an hg_addr_t object that can be used for forwarding RPCs.
This was disabled intentionally so that you can only forward to yourself if that option is turned ON. I believe we could try to forward anyway using the self address and use the transport is that option is turned OFF but I'm not sure all the transports will support it unless you do a lookup before.