diff --git a/orte/util/name_fns.h b/orte/util/name_fns.h index be1a6560fc..cb043a668a 100644 --- a/orte/util/name_fns.h +++ b/orte/util/name_fns.h @@ -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)