1
1
openmpi/orte/mca/ras/slurm/ras_slurm.h
Ralph Castain a591fbf06f Add initial support for dynamic allocations. At this time, only Slurm supports the new capability, which will be included in an upcoming release.
Add hooks for supporting dynamic allocation and deallocation to support application-driven requests and fault recovery operations.

This commit was SVN r27879.
2013-01-20 00:33:42 +00:00

48 строки
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-2005 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 (c) 2012-2013 Los Alamos National Security, LLC.
* All rights reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
*
* $HEADER$
*/
/**
* @file
*
* Resource Allocation (SLURM)
*/
#ifndef ORTE_RAS_SLURM_H
#define ORTE_RAS_SLURM_H
#include "orte_config.h"
#include "orte/mca/ras/ras.h"
#include "orte/mca/ras/base/base.h"
BEGIN_C_DECLS
typedef struct {
orte_ras_base_component_t super;
int timeout;
bool dyn_alloc_enabled;
char *config_file;
bool rolling_alloc;
} orte_ras_slurm_component_t;
ORTE_DECLSPEC extern orte_ras_slurm_component_t mca_ras_slurm_component;
ORTE_DECLSPEC extern orte_ras_base_module_t orte_ras_slurm_module;
END_C_DECLS
#endif