context ( { all | node_list } )
context ( comm_handle : { all | rank_list } )
commshow [ context ] [ expression | data_address ]
A context defines the set of processes to which a command applies.
Example context specifications:
context (host)
context (0)
context (all)
context (0,1)
context (1..20, 25, 30..35)
context (COMMWORLD:all)
context (COMM1:0,5)
context (COMMSELF4:0)
context (ICOMM2:all)
Example communicator handles as displayed by commshow :
In the case below where commshow is given a specific variable to find the handle of, it is normal for an error to be reported for any process which is not contained in that communicator.
(COMMWORLD:all) > commshow
Intracommunicators:
Name Size Rank (in COMMWORLD)
======= ===== ===================
COMMWORLD 6 0..5
COMM1 5 1..5
COMMSELF[0..5]
Intercommunicators:
Name Intracommunicator Pair
======= ======================
(COMMWORLD:all) > commshow other
***** (COMMWORLD:0) *****
** comm3.c{}main(int, char**)#34 other **
ERROR: cannot get communicator information
*** Null pointer argument
***** (COMMWORLD:1..5) *****
** comm3.c{}main(int, char**)#34 other **
other = COMM1
| Intel Tutorial Notes | Previous -- Next |