1
1
openmpi/orte/mca/pls/slurm/pls_slurm.h
Josh Hursey a5e5924217 Added a custom arguments MCA param for Slurm PLS.
This allows the user to specify certain options to srun when an application
is launched with this PLS.

A useful example is the need to set the time to wait from when the first
process completes and when slurm kills remaining processes:

  pls_slurm_args=--wait=1200

This commit was SVN r7206.
2005-09-06 21:52:28 +00:00

51 строка
1.3 KiB
C

/*
* Copyright (c) 2004-2005 The Trustees of Indiana University.
* All rights reserved.
* Copyright (c) 2004-2005 The Trustees of the University of Tennessee.
* 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$
*/
#ifndef ORTE_PLS_SLURM_EXPORT_H
#define ORTE_PLS_SLURM_EXPORT_H
#include "ompi_config.h"
#include "mca/mca.h"
#include "mca/pls/pls.h"
#if defined(c_plusplus) || defined(__cplusplus)
extern "C" {
#endif
struct orte_pls_slurm_component_t {
orte_pls_base_component_t super;
int priority;
int debug;
char *orted;
char *custom_args;
};
typedef struct orte_pls_slurm_component_t orte_pls_slurm_component_t;
/*
* Globally exported variable
*/
OMPI_COMP_EXPORT extern orte_pls_slurm_component_t
mca_pls_slurm_component;
OMPI_COMP_EXPORT extern orte_pls_base_module_1_0_0_t
orte_pls_slurm_module;
#if defined(c_plusplus) || defined(__cplusplus)
}
#endif
#endif /* ORTE_PLS_SLURM_EXPORT_H */