mpiSynqNetNodePortToCableNum
Declaration
int32_t mpiSynqNetNodePortToCableNum(MPISynqNet synqNet, int32_t nodeNumber, MPINetworkPort port, int32_t *cableNumber);
Required Header: stdmpi.h
Description
mpiSynqNetNodePortToCableNum converts a node number and port on a SynqNet network into a cable number. It reads the cable number and writes it into a int32_t pointed to by cableNumber.
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 |
---|---|
nodeNumber | the number of the node |
port | an enumerated port value |
*cableNumber | a pointer to a cable number |
Return Values | |
---|---|
MPIMessageOK |