afe7e687cb
using orteprobe. Created a header file for orte_setup_hnp. [HNP = Head Node Process] General cleanup and added a bit of documentation in orte_setup_hnp.c Also fixed a cellid tokens issue (circa line 285) Changed the launched scope from private to public In orteprobe: - added reference to orted.h to avoid duplicate header contents in orteprobe.h - removed the version tag, and put in a verbose argument - Fixed a buffer packing problem that was causing the parent from receiving the proper contact information for the new daemon. This commit was SVN r6802.
40 строки
968 B
C
40 строки
968 B
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$
|
|
*/
|
|
|
|
/**
|
|
* @file
|
|
*
|
|
* Establish a Head Node Process on a cluster's front end
|
|
*/
|
|
|
|
#ifndef ORTE_SETUP_HNP_H
|
|
#define ORTE_SETUP_HNP_H
|
|
|
|
/*
|
|
* Local data structure
|
|
*/
|
|
typedef struct {
|
|
char *target_cluster;
|
|
char *headnode;
|
|
orte_process_name_t *name;
|
|
orte_jobid_t jobid;
|
|
} orte_setup_hnp_cb_data_t;
|
|
|
|
|
|
int orte_setup_hnp(char *target_cluster, char *headnode, char *username);
|
|
|
|
#endif
|