OpenMPI  0.1.1
opal-restart.c File Reference

OPAL Restart command. More...

#include "opal_config.h"
#include <stdio.h>
#include <errno.h>
#include "opal/constants.h"
#include "opal/util/cmd_line.h"
#include "opal/util/argv.h"
#include "opal/util/show_help.h"
#include "opal/util/output.h"
#include "opal/util/opal_environ.h"
#include "opal/util/error.h"
#include "opal/util/basename.h"
#include "opal/mca/base/base.h"
#include "opal/mca/base/mca_base_param.h"
#include "opal/runtime/opal.h"
#include "opal/runtime/opal_cr.h"
#include "opal/mca/crs/crs.h"
#include "opal/mca/crs/base/base.h"
#include "opal/mca/compress/compress.h"
#include "opal/mca/compress/base/base.h"

Data Structures

struct  opal_restart_globals_t
 

Functions

static int initialize (int argc, char *argv[])
 
static int finalize (void)
 
static int parse_args (int argc, char *argv[])
 
static int check_file (void)
 
static int post_env_vars (int prev_pid, opal_crs_base_snapshot_t *snapshot)
 
int main (int argc, char *argv[])
 

Variables

static char * expected_crs_comp = NULL
 
opal_restart_globals_t opal_restart_globals
 
opal_cmd_line_init_t cmd_line_opts []
 

Detailed Description

OPAL Restart command.

This command will restart a single process from the checkpoint generated by the opal-checkpoint command.

Function Documentation

static int parse_args ( int  argc,
char *  argv[] 
)
static

Put all of the MCA arguments in the environment

Now start parsing our specific arguments

References opal_argv_count(), opal_argv_join(), opal_cmd_line_create(), opal_cmd_line_get_tail(), opal_cmd_line_get_usage_msg(), opal_cmd_line_parse(), and opal_show_help_string().