2004-01-15 04:47:20 +00:00
|
|
|
/*
|
|
|
|
* $HEADER$
|
|
|
|
*/
|
|
|
|
|
2004-06-07 15:33:53 +00:00
|
|
|
#ifndef OMPI_RUNTIME_H
|
|
|
|
#define OMPI_RUNTIME_H
|
2004-01-15 04:47:20 +00:00
|
|
|
|
2004-06-07 15:33:53 +00:00
|
|
|
#include "ompi_config.h"
|
2004-01-31 21:47:59 +00:00
|
|
|
|
|
|
|
|
2004-03-17 20:00:24 +00:00
|
|
|
/*
|
|
|
|
* Global variables and symbols for the MPI layer
|
|
|
|
*/
|
|
|
|
|
2004-06-07 15:33:53 +00:00
|
|
|
extern bool ompi_mpi_initialized;
|
|
|
|
extern bool ompi_mpi_finalized;
|
|
|
|
extern bool ompi_mpi_param_check;
|
2004-03-17 20:00:24 +00:00
|
|
|
|
2004-06-07 15:33:53 +00:00
|
|
|
extern bool ompi_mpi_thread_multiple;
|
|
|
|
extern int ompi_mpi_thread_requested;
|
|
|
|
extern int ompi_mpi_thread_provided;
|
2004-03-17 20:00:24 +00:00
|
|
|
|
|
|
|
|
2004-01-15 04:47:20 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2004-06-07 15:33:53 +00:00
|
|
|
int ompi_abort(int status, char *fmt, ...);
|
|
|
|
int ompi_init(int argc, char* argv[]);
|
|
|
|
int ompi_finalize(void);
|
|
|
|
int ompi_rte_init(bool *allow_multi_user_threads, bool *have_hidden_threads);
|
|
|
|
int ompi_rte_finalize(void);
|
2004-01-15 04:47:20 +00:00
|
|
|
|
2004-06-07 15:33:53 +00:00
|
|
|
int ompi_mpi_init(int argc, char **argv, int requested, int *provided);
|
|
|
|
int ompi_mpi_finalize(void);
|
2004-03-17 20:00:24 +00:00
|
|
|
|
2004-01-15 04:47:20 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2004-06-07 15:33:53 +00:00
|
|
|
#endif /* OMPI_RUNTIME_H */
|