Go backward to nCube Programming Model
Go up to Top
Go forward to nCube C Program
whoami(&node, &d, &d, &dim)
Return the dimension dim of the allocated hypercube and the number node of the current processor.
nwrite(&msg, size, dest, type)
Send message at address msg of length size with identifier type to node dest. The operation does not block.
nread(&msg, size, &src, &type)
Receive a message with identifier type from src and store it in the memory area at address msg of length size. The operation blocks until an appropriate message is available and returns the actual message length.