
- Delete unnecessary header files using contrib/check_unnecessary_headers.sh after applying patches, that include headers, being "lost" due to inclusion in one of the now deleted headers... In total 817 files are touched. In ompi/mpi/c/ header files are moved up into the actual c-file, where necessary (these are the only additional #include), otherwise it is only deletions of #include (apart from the above additions required due to notifier...) - To get different MCAs (OpenIB, TM, ALPS), an earlier version was successfully compiled (yesterday) on: Linux locally using intel-11, gcc-4.3.2 and gcc-SVN + warnings enabled Smoky cluster (x86-64 running Linux) using PGI-8.0.2 + warnings enabled Lens cluster (x86-64 running Linux) using Pathscale-3.2 + warnings enabled This commit was SVN r21096.
76 строки
1.8 KiB
C
76 строки
1.8 KiB
C
/*
|
|
* Copyright (c) 2004-2008 The Trustees of Indiana University.
|
|
* All rights reserved.
|
|
* $COPYRIGHT$
|
|
*
|
|
* Additional copyrights may follow
|
|
*
|
|
* $HEADER$
|
|
*/
|
|
|
|
/**
|
|
* @file
|
|
*
|
|
* NONE CRS component
|
|
*
|
|
* Simple, braindead implementation.
|
|
*/
|
|
|
|
#ifndef MCA_CRS_NONE_EXPORT_H
|
|
#define MCA_CRS_NONE_EXPORT_H
|
|
|
|
#include "opal_config.h"
|
|
|
|
|
|
#include "opal/mca/mca.h"
|
|
#include "opal/mca/crs/crs.h"
|
|
|
|
#if defined(c_plusplus) || defined(__cplusplus)
|
|
extern "C" {
|
|
#endif
|
|
|
|
/*
|
|
* Local Component structures
|
|
*/
|
|
struct opal_crs_none_component_t {
|
|
opal_crs_base_component_t super; /** Base CRS component */
|
|
|
|
};
|
|
typedef struct opal_crs_none_component_t opal_crs_none_component_t;
|
|
OPAL_MODULE_DECLSPEC extern opal_crs_none_component_t mca_crs_none_component;
|
|
|
|
int opal_crs_none_component_query(mca_base_module_t **module, int *priority);
|
|
|
|
/*
|
|
* Module functions
|
|
*/
|
|
int opal_crs_none_module_init(void);
|
|
int opal_crs_none_module_finalize(void);
|
|
|
|
/*
|
|
* Actual funcationality
|
|
*/
|
|
int opal_crs_none_checkpoint( pid_t pid, opal_crs_base_snapshot_t *snapshot, opal_crs_state_type_t *state);
|
|
|
|
int opal_crs_none_restart( opal_crs_base_snapshot_t *snapshot, bool spawn_child, pid_t *child_pid);
|
|
|
|
int opal_crs_none_disable_checkpoint(void);
|
|
int opal_crs_none_enable_checkpoint(void);
|
|
|
|
int opal_crs_none_prelaunch(int32_t rank,
|
|
char *base_snapshot_dir,
|
|
char **app,
|
|
char **cwd,
|
|
char ***argv,
|
|
char ***env);
|
|
|
|
int opal_crs_none_reg_thread(void);
|
|
|
|
extern bool opal_crs_none_select_warning;
|
|
|
|
#if defined(c_plusplus) || defined(__cplusplus)
|
|
}
|
|
#endif
|
|
|
|
#endif /* MCA_CRS_NONE_EXPORT_H */
|