f4a458532b
This change does a couple of things: 1. Since the USE_PARENT_ALLOC attribute is a directive about regarding allocation of resources to a job, it more properly should be an attribute of the RAS. Change the name to reflect that and move the attribute define to the ras_types.h file. 2. Add the attributes list to the RMAPS map_job interface. This provides us with the desired flexibility to dynamically specify directives for mapping. The system will - in the absence of any attribute-based directive - default to the values provided in the MCA parameters (either from environment or command-line interface). This commit was SVN r12164.
55 строки
1.4 KiB
C
55 строки
1.4 KiB
C
/*
|
|
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
|
|
* University Research and Technology
|
|
* Corporation. All rights reserved.
|
|
* Copyright (c) 2004-2006 The University of Tennessee and The University
|
|
* of Tennessee Research Foundation. All rights
|
|
* reserved.
|
|
* Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
|
* University of Stuttgart. All rights reserved.
|
|
* Copyright (c) 2004-2005 The Regents of the University of California.
|
|
* All rights reserved.
|
|
* $COPYRIGHT$
|
|
*
|
|
* Additional copyrights may follow
|
|
*
|
|
* $HEADER$
|
|
*/
|
|
/**
|
|
* @file
|
|
*
|
|
* Resource Mapping
|
|
*/
|
|
#ifndef ORTE_RMAPS_RR_H
|
|
#define ORTE_RMAPS_RR_H
|
|
|
|
#include "orte/mca/rmaps/rmaps.h"
|
|
#if defined(c_plusplus) || defined(__cplusplus)
|
|
extern "C" {
|
|
#endif
|
|
|
|
|
|
/**
|
|
* RMGR Component
|
|
*/
|
|
struct orte_rmaps_round_robin_component_t {
|
|
orte_rmaps_base_component_t super;
|
|
int debug;
|
|
int priority;
|
|
bool bynode;
|
|
bool per_node;
|
|
bool no_use_local;
|
|
bool oversubscribe;
|
|
};
|
|
typedef struct orte_rmaps_round_robin_component_t orte_rmaps_round_robin_component_t;
|
|
|
|
ORTE_MODULE_DECLSPEC extern orte_rmaps_round_robin_component_t mca_rmaps_round_robin_component;
|
|
extern orte_rmaps_base_module_t orte_rmaps_round_robin_module;
|
|
|
|
|
|
#if defined(c_plusplus) || defined(__cplusplus)
|
|
}
|
|
#endif
|
|
|
|
#endif
|