![Jeff Squyres](/assets/img/avatar_default.png)
it's always ORTE_SUCCESS and sometimes masks real !=ORTE_SUCCESS rc values. - Add MCA param pls_tm_want_path_check. If nonzero (the default), check for the orted in the PATH before each tm_spawn()'ing (doing a little caching so that we don't hammer on the filesystem -- remember all the PATH's where we successfully found the orted so that we don't have to query the filesystem multiple times for a PATH where we previously found the orted) - Be sure to opal_argv_split() the pls_tm_orted MCA param This commit was SVN r7625.
49 строки
1.3 KiB
C
49 строки
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_TM_EXPORT_H
|
|
#define ORTE_PLS_TM_EXPORT_H
|
|
|
|
#include "orte_config.h"
|
|
|
|
#include "mca/mca.h"
|
|
#include "mca/pls/pls.h"
|
|
|
|
#if defined(c_plusplus) || defined(__cplusplus)
|
|
extern "C" {
|
|
#endif
|
|
|
|
struct orte_pls_tm_component_t {
|
|
orte_pls_base_component_t super;
|
|
int priority;
|
|
int debug;
|
|
bool want_path_check;
|
|
char *orted;
|
|
char **checked_paths;
|
|
};
|
|
typedef struct orte_pls_tm_component_t orte_pls_tm_component_t;
|
|
|
|
/* Globally exported variables */
|
|
OMPI_COMP_EXPORT extern orte_pls_tm_component_t mca_pls_tm_component;
|
|
extern orte_pls_base_module_1_0_0_t orte_pls_tm_module;
|
|
|
|
|
|
|
|
#if defined(c_plusplus) || defined(__cplusplus)
|
|
}
|
|
#endif
|
|
#endif /* ORTE_PLS_TM_EXPORT_H */
|