OpenMPI
0.1.1
|
Populates global structure with system-specific information. More...
Go to the source code of this file.
Data Structures | |
struct | orte_namelist_t |
Typedefs | |
typedef struct orte_namelist_t | orte_namelist_t |
Functions | |
ORTE_DECLSPEC char * | orte_util_print_name_args (const orte_process_name_t *name) |
ORTE_DECLSPEC char * | orte_util_print_jobids (const orte_jobid_t job) |
ORTE_DECLSPEC char * | orte_util_print_vpids (const orte_vpid_t vpid) |
ORTE_DECLSPEC char * | orte_util_print_job_family (const orte_jobid_t job) |
ORTE_DECLSPEC char * | orte_util_print_local_jobid (const orte_jobid_t job) |
ORTE_DECLSPEC char * | orte_pretty_print_timing (int64_t secs, int64_t usecs) |
ORTE_DECLSPEC | OBJ_CLASS_DECLARATION (orte_namelist_t) |
ORTE_DECLSPEC int | orte_util_convert_jobid_to_string (char **jobid_string, const orte_jobid_t jobid) |
ORTE_DECLSPEC int | orte_util_convert_string_to_jobid (orte_jobid_t *jobid, const char *jobidstring) |
ORTE_DECLSPEC int | orte_util_convert_vpid_to_string (char **vpid_string, const orte_vpid_t vpid) |
ORTE_DECLSPEC int | orte_util_convert_string_to_vpid (orte_vpid_t *vpid, const char *vpidstring) |
ORTE_DECLSPEC int | orte_util_convert_string_to_process_name (orte_process_name_t *name, const char *name_string) |
ORTE_DECLSPEC int | orte_util_convert_process_name_to_string (char **name_string, const orte_process_name_t *name) |
ORTE_DECLSPEC int | orte_util_create_process_name (orte_process_name_t **name, orte_jobid_t job, orte_vpid_t vpid) |
ORTE_DECLSPEC int | orte_util_compare_name_fields (orte_ns_cmp_bitmask_t fields, const orte_process_name_t *name1, const orte_process_name_t *name2) |
ORTE_DECLSPEC uint64_t | orte_util_hash_name (const orte_process_name_t *name) |
This funtion returns a guaranteed unique hash value for the passed process name. | |
ORTE_DECLSPEC int | orte_util_convert_string_to_sysinfo (char **cpu_type, char **cpu_model, const char *sysinfo_string) |
ORTE_DECLSPEC int | orte_util_convert_sysinfo_to_string (char **sysinfo_string, const char *cpu_model, const char *cpu_type) |
Variables | |
BEGIN_C_DECLS typedef uint8_t | orte_ns_cmp_bitmask_t |
Bit mask for comparing process names. | |
Populates global structure with system-specific information.
Notes: add limits.h, compute size of integer and other types via sizeof(type)*CHAR_BIT
#define ORTE_EPOCH_SET | ( | n, | |
m | |||
) |
#define ORTE_HNP_NAME_FROM_JOB | ( | n, | |
job | |||
) |
ORTE_DECLSPEC int orte_util_convert_string_to_jobid | ( | orte_jobid_t * | jobid, |
const char * | jobidstring | ||
) |
check for wildcard character - handle appropriately
ORTE_DECLSPEC int orte_util_convert_string_to_process_name | ( | orte_process_name_t * | name, |
const char * | name_string | ||
) |
copy input string as the strtok process is destructive
get first field -> jobid
get next field -> vpid
References orte_process_name_t::jobid, and orte_process_name_t::vpid.
Referenced by orte_rml_base_parse_uris().
ORTE_DECLSPEC int orte_util_convert_string_to_sysinfo | ( | char ** | cpu_type, |
char ** | cpu_model, | ||
const char * | sysinfo_string | ||
) |
copy input string as the strtok process is destructive
get first field -> cpu_type
get next field -> cpu_model
ORTE_DECLSPEC int orte_util_convert_string_to_vpid | ( | orte_vpid_t * | vpid, |
const char * | vpidstring | ||
) |
check for wildcard character - handle appropriately