OpenMPI  0.1.1
orterun.h
1 /*
2  * Copyright (c) 2004-2010 The Trustees of Indiana University and Indiana
3  * University Research and Technology
4  * Corporation. All rights reserved.
5  * Copyright (c) 2004-2005 The University of Tennessee and The University
6  * of Tennessee Research Foundation. All rights
7  * reserved.
8  * Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
9  * University of Stuttgart. All rights reserved.
10  * Copyright (c) 2004-2005 The Regents of the University of California.
11  * All rights reserved.
12  * Copyright (c) 2007-2011 Cisco Systems, Inc. All rights reserved.
13  * $COPYRIGHT$
14  *
15  * Additional copyrights may follow
16  *
17  * $HEADER$
18  */
19 
20 #ifndef ORTERUN_ORTERUN_H
21 #define ORTERUN_ORTERUN_H
22 
23 #include "orte_config.h"
24 #include "opal/threads/mutex.h"
25 
26 BEGIN_C_DECLS
27 
28 /**
29  * Main body of orterun functionality
30  */
31 int orterun(int argc, char *argv[]);
32 
33 /**
34  * Global struct for catching orterun command line options.
35  */
37  bool help;
38  bool version;
39  bool verbose;
40  char *report_pid;
41  char *report_uri;
42  bool exit;
43  bool debugger;
44  int num_procs;
45  char *env_val;
46  char *appfile;
47  char *wdir;
48  char *path;
49  char *preload_files;
50  char *preload_files_dest_dir;
51  opal_mutex_t lock;
52  bool sleep;
53  char *ompi_server;
54  bool wait_for_server;
55  int server_wait_timeout;
56  char *stdin_target;
57  char *prefix;
58  char *path_to_mpirun;
59 #if OPAL_ENABLE_FT_CR == 1
60  char *sstore_load;
61 #endif
62  bool disable_recovery;
63 };
64 
65 /**
66  * Struct holding values gleaned from the orterun command line -
67  * needed by debugger init
68  */
69 ORTE_DECLSPEC extern struct orterun_globals_t orterun_globals;
70 
71 END_C_DECLS
72 
73 #endif /* ORTERUN_ORTERUN_H */
Definition: mutex_unix.h:53
Global struct for catching orterun command line options.
Definition: orterun.h:36
Mutual exclusion functions.