1
1
openmpi/orte/mca/odls/pspawn/odls_pspawn.h
Ralph Castain b5bf0a7f1d Add a new posix_spawn component to the ODLS framework.
Only selectable when specifically requested via "-mca odls pspawn"

Note that there are several concerns:
  * we aren't getting SIGCHLD calls when the procs terminate
  * we aren't seeing the IO pipes close on termination, though
    we are getting output forwarded to mpirun
  * I haven't found a way to bind the child process prior to exec.
    If we want to use this method, we probably need someone to
    implement a cgroup component for the orte/rtc framework

Signed-off-by: Ralph Castain <rhc@open-mpi.org>
2017-11-30 18:01:31 -08:00

43 строки
1.1 KiB
C

/*
* Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana
* University Research and Technology
* Corporation. All rights reserved.
* Copyright (c) 2004-2006 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) 2017 Intel, Inc. All rights reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
*
* $HEADER$
*/
/**
* @file:
*/
#ifndef ORTE_ODLS_PSPAWN_H
#define ORTE_ODLS_PSPAWN_H
#include "orte_config.h"
#include "orte/mca/mca.h"
#include "orte/mca/odls/odls.h"
BEGIN_C_DECLS
/*
* ODLS Pspawn module
*/
extern orte_odls_base_module_t orte_odls_pspawn_module;
ORTE_MODULE_DECLSPEC extern orte_odls_base_component_t mca_odls_pspawn_component;
END_C_DECLS
#endif /* ORTE_ODLS_PSPAWN_H */