Retrives the node number associated with the given Process ID from the BProc process space. Note only user processes ghosted on the master are available in this way. Node kernal and internal BProc PIDs are not accessable.
Return the node number that the pid is running on.
BPROC_NODE_NONE if the pid is running on the master node or isn't a valid pid.
This functions returns
BPROC_NODE_NONE if there was an error accessing the BProc status file, or if pid was not found in the status file. There is currently no way to tell if
BPROC_NODE_NONE resulted from an error or from pid not being masqueraded by BProc.
The program does not have access to read the BProc status file.
The BProc status file does not exist.
Insufficient kernel memory.
The limit of files that can be opened by the process has been reached.
The limit of files that can be opened by the system has been reached.
The BProc status file has been locked.