2005-05-01 04:58:06 +04:00
|
|
|
/*
|
2005-11-05 22:57:48 +03:00
|
|
|
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
|
|
|
|
* University Research and Technology
|
|
|
|
* Corporation. All rights reserved.
|
2006-08-23 07:32:36 +04:00
|
|
|
* Copyright (c) 2004-2006 The University of Tennessee and The University
|
2005-11-05 22:57:48 +03:00
|
|
|
* of Tennessee Research Foundation. All rights
|
|
|
|
* reserved.
|
2008-02-28 04:57:57 +03:00
|
|
|
* Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
2005-05-01 04:58:06 +04:00
|
|
|
* University of Stuttgart. All rights reserved.
|
|
|
|
* Copyright (c) 2004-2005 The Regents of the University of California.
|
|
|
|
* All rights reserved.
|
|
|
|
* $COPYRIGHT$
|
2008-02-28 04:57:57 +03:00
|
|
|
*
|
2005-05-01 04:58:06 +04:00
|
|
|
* Additional copyrights may follow
|
2008-02-28 04:57:57 +03:00
|
|
|
*
|
2005-05-01 04:58:06 +04:00
|
|
|
* $HEADER$
|
|
|
|
*/
|
2008-02-28 04:57:57 +03:00
|
|
|
/**
|
|
|
|
* @file
|
|
|
|
*
|
|
|
|
* Resource Discovery (Hostfile)
|
|
|
|
*/
|
|
|
|
#ifndef ORTE_UTIL_HOSTFILE_H
|
|
|
|
#define ORTE_UTIL_HOSTFILE_H
|
2006-02-07 06:32:36 +03:00
|
|
|
|
2005-05-01 04:58:06 +04:00
|
|
|
#include "orte_config.h"
|
|
|
|
|
2008-02-28 04:57:57 +03:00
|
|
|
#include "opal/class/opal_list.h"
|
2005-05-01 04:58:06 +04:00
|
|
|
|
|
|
|
|
2008-02-28 04:57:57 +03:00
|
|
|
BEGIN_C_DECLS
|
2006-02-07 06:32:36 +03:00
|
|
|
|
2008-02-28 04:57:57 +03:00
|
|
|
ORTE_DECLSPEC int orte_util_add_hostfile_nodes(opal_list_t *nodes,
|
|
|
|
char *hostfile);
|
|
|
|
|
|
|
|
ORTE_DECLSPEC int orte_util_filter_hostfile_nodes(opal_list_t *nodes,
|
|
|
|
char *hostfile);
|
2006-02-07 06:32:36 +03:00
|
|
|
|
2008-04-02 00:03:49 +04:00
|
|
|
ORTE_DECLSPEC int orte_util_get_ordered_host_list(opal_list_t *nodes,
|
|
|
|
char *hostfile);
|
|
|
|
|
2008-02-28 04:57:57 +03:00
|
|
|
END_C_DECLS
|
2005-05-01 04:58:06 +04:00
|
|
|
|
2008-02-28 04:57:57 +03:00
|
|
|
#endif
|