1
1

Add a macro to construct a complete 32-bit jobid from a local jobid number. This inserts the mpirun's job family into the upper 16-bit field.

This commit was SVN r20161.
Этот коммит содержится в:
Ralph Castain 2008-12-20 23:27:25 +00:00
родитель aff3d1df21
Коммит d1ff02e924

Просмотреть файл

@ -81,6 +81,9 @@ ORTE_DECLSPEC char* orte_util_print_local_jobid(const orte_jobid_t job);
#define ORTE_LOCAL_JOBID(n) \
( (n) & 0x0000ffff)
#define ORTE_CONSTRUCT_LOCAL_JOBID(local, job) \
( ((local) & 0xffff0000) | ((job) & 0x0000ffff) )
/* a macro for identifying that a proc is a daemon */
#define ORTE_PROC_IS_DAEMON(n) \
!((n) & 0x0000ffff)