2007-01-09 03:19:52 +03:00
|
|
|
/*
|
2008-05-06 22:08:45 +04:00
|
|
|
* Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana
|
2007-01-09 03:19:52 +03:00
|
|
|
* University Research and Technology
|
|
|
|
* Corporation. All rights reserved.
|
2009-06-23 23:50:23 +04:00
|
|
|
* Copyright (c) 2004-2009 The University of Tennessee and The University
|
2007-01-09 03:19:52 +03:00
|
|
|
* 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.
|
2012-04-06 18:23:13 +04:00
|
|
|
* Copyright (c) 2011 Los Alamos National Security, LLC. All rights
|
2015-06-24 06:59:57 +03:00
|
|
|
* reserved.
|
2008-05-22 02:35:04 +04:00
|
|
|
* Copyright (c) 2008 Sun Microsystems, Inc. All rights reserved.
|
2011-03-29 11:46:59 +04:00
|
|
|
* Copyright (c) 2011 IBM Corporation. All rights reserved.
|
2015-04-17 02:18:37 +03:00
|
|
|
* Copyright (c) 2015 Intel, Inc. All rights reserved.
|
2007-01-09 03:19:52 +03:00
|
|
|
* $COPYRIGHT$
|
|
|
|
*
|
|
|
|
* Additional copyrights may follow
|
|
|
|
*
|
|
|
|
* $HEADER$
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* @file:
|
2008-02-28 04:57:57 +03:00
|
|
|
* Part of the rsh launcher. See plm_rsh.h for an overview of how it works.
|
2007-01-09 03:19:52 +03:00
|
|
|
*/
|
|
|
|
|
2008-02-28 04:57:57 +03:00
|
|
|
#ifndef ORTE_PLM_RSH_EXPORT_H
|
|
|
|
#define ORTE_PLM_RSH_EXPORT_H
|
2007-01-09 03:19:52 +03:00
|
|
|
|
|
|
|
#include "orte_config.h"
|
|
|
|
|
2007-01-25 17:17:44 +03:00
|
|
|
#ifdef HAVE_SYS_TIME_H
|
|
|
|
#include <sys/time.h>
|
|
|
|
#endif
|
2011-11-27 05:49:42 +04:00
|
|
|
#include <time.h>
|
2007-01-25 17:17:44 +03:00
|
|
|
|
2007-01-09 03:19:52 +03:00
|
|
|
#include "opal/threads/condition.h"
|
2015-03-06 06:50:44 +03:00
|
|
|
#include "orte/mca/mca.h"
|
2007-01-09 03:19:52 +03:00
|
|
|
|
2008-02-28 04:57:57 +03:00
|
|
|
#include "orte/mca/plm/plm.h"
|
|
|
|
|
|
|
|
BEGIN_C_DECLS
|
2007-01-09 03:19:52 +03:00
|
|
|
|
|
|
|
/**
|
|
|
|
* PLS Component
|
|
|
|
*/
|
2008-02-28 04:57:57 +03:00
|
|
|
struct orte_plm_rsh_component_t {
|
|
|
|
orte_plm_base_component_t super;
|
|
|
|
bool force_rsh;
|
2008-05-22 02:35:04 +04:00
|
|
|
bool disable_qrsh;
|
2009-02-18 21:02:38 +03:00
|
|
|
bool using_qrsh;
|
|
|
|
bool daemonize_qrsh;
|
2011-03-29 11:46:59 +04:00
|
|
|
bool disable_llspawn;
|
|
|
|
bool using_llspawn;
|
|
|
|
bool daemonize_llspawn;
|
2011-11-27 05:49:42 +04:00
|
|
|
struct timespec delay;
|
2007-01-09 03:19:52 +03:00
|
|
|
int priority;
|
2013-04-07 19:48:25 +04:00
|
|
|
bool no_tree_spawn;
|
2012-04-06 18:23:13 +04:00
|
|
|
int num_concurrent;
|
2011-11-26 06:33:05 +04:00
|
|
|
char *agent;
|
2015-09-24 17:16:48 +03:00
|
|
|
char *agent_path;
|
|
|
|
char **agent_argv;
|
2011-11-26 06:33:05 +04:00
|
|
|
bool assume_same_shell;
|
2011-12-07 05:24:36 +04:00
|
|
|
bool pass_environ_mca_params;
|
2015-04-17 02:18:37 +03:00
|
|
|
char *ssh_args;
|
|
|
|
char *pass_libpath;
|
2007-01-09 03:19:52 +03:00
|
|
|
};
|
2008-02-28 04:57:57 +03:00
|
|
|
typedef struct orte_plm_rsh_component_t orte_plm_rsh_component_t;
|
2007-01-09 03:19:52 +03:00
|
|
|
|
2008-02-28 04:57:57 +03:00
|
|
|
ORTE_MODULE_DECLSPEC extern orte_plm_rsh_component_t mca_plm_rsh_component;
|
|
|
|
extern orte_plm_base_module_t orte_plm_rsh_module;
|
|
|
|
|
2011-11-26 06:33:05 +04:00
|
|
|
ORTE_MODULE_DECLSPEC char **orte_plm_rsh_search(const char* agent_list, const char *path);
|
|
|
|
|
2008-02-28 04:57:57 +03:00
|
|
|
END_C_DECLS
|
2007-01-09 03:19:52 +03:00
|
|
|
|
|
|
|
#endif /* ORTE_PLS_RSH_EXPORT_H */
|