mpiSynqNetCableNumToNodePort
Declaration
int32_t mpiSynqNetCableNumToNodePort(MPISynqNet synqNet, int32_t cableNumber, int32_t *nodeNumber, MPINetworkPort *port);
Required Header: stdmpi.h
Description
mpiSynqNetCableNumToNodePort converts a cable number on a SynqNet network into a node number and port. It reads the node number and writes it into a int32_t pointed to by nodeNumber and reads the port and writes it to the value pointed to by port.
Network connections can be identified by a cable number OR a node number and port. For simple network topologies, it is easier to identify network connections by a cable number. For complex network topologies, it is easier to identify network connections by a node number and port.
synqNet | a handle to the SynqNet object |
---|---|
cableNumber | the number of the cable |
*nodeNumber | a pointer to a node number |
*port | a pointer to an enumerated port value |
Return Values | |
---|---|
MPIMessageOK |