1 /* 2 * Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana 3 * University Research and Technology 4 * Corporation. All rights reserved. 5 * Copyright (c) 2004-2005 The University of Tennessee and The University 6 * of Tennessee Research Foundation. All rights 7 * reserved. 8 * Copyright (c) 2004-2005 High Performance Computing Center Stuttgart, 9 * University of Stuttgart. All rights reserved. 10 * Copyright (c) 2004-2005 The Regents of the University of California. 11 * All rights reserved. 12 * Copyright (c) 2012-2013 Los Alamos National Security, LLC. 13 * All rights reserved. 14 * Copyright (c) 2015 Intel, Inc. All rights reserved. 15 * $COPYRIGHT$ 16 * 17 * Additional copyrights may follow 18 * 19 * $HEADER$ 20 */ 21 /** 22 * @file 23 * 24 * Resource Allocation (SLURM) 25 */ 26 #ifndef ORTE_RAS_SLURM_H 27 #define ORTE_RAS_SLURM_H 28 29 #include "orte_config.h" 30 #include "orte/mca/ras/ras.h" 31 #include "orte/mca/ras/base/base.h" 32 33 BEGIN_C_DECLS 34 35 typedef struct { 36 orte_ras_base_component_t super; 37 int timeout; 38 bool dyn_alloc_enabled; 39 char *config_file; 40 bool rolling_alloc; 41 bool use_all; 42 } orte_ras_slurm_component_t; 43 ORTE_DECLSPEC extern orte_ras_slurm_component_t mca_ras_slurm_component; 44 45 ORTE_DECLSPEC extern orte_ras_base_module_t orte_ras_slurm_module; 46 47 END_C_DECLS 48 49 #endif 50