root/ompi/runtime/ompi_cr.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   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$
  13  *
  14  * Additional copyrights may follow
  15  *
  16  * $HEADER$
  17  */
  18 
  19 /**
  20  * @file
  21  *
  22  * Checkpoint/Restart Functionality for the OMPI layer
  23  */
  24 
  25 #ifndef OMPI_CR_H
  26 #define OMPI_CR_H
  27 
  28 #include "ompi_config.h"
  29 #if OPAL_ENABLE_FT_CR == 1
  30 #include "orte/runtime/orte_cr.h"
  31 #endif
  32 
  33 BEGIN_C_DECLS
  34 
  35     /*
  36      * Initialization called in ompi_init()
  37      */
  38     OMPI_DECLSPEC int ompi_cr_init(void);
  39 
  40     /*
  41      * Finalization called in ompi_finalize()
  42      */
  43     OMPI_DECLSPEC int ompi_cr_finalize(void);
  44 
  45     /*
  46      * Interlayer Coodination Callback
  47      */
  48     OMPI_DECLSPEC int ompi_cr_coord(int state);
  49 
  50     /*
  51      * A general output handle to use for FT related messages
  52      */
  53     OMPI_DECLSPEC extern int ompi_cr_output;
  54 
  55 #if OPAL_ENABLE_CRDEBUG == 1
  56     OMPI_DECLSPEC extern int    MPIR_checkpointable;
  57     OMPI_DECLSPEC extern char * MPIR_controller_hostname;
  58     OMPI_DECLSPEC extern char * MPIR_checkpoint_command;
  59     OMPI_DECLSPEC extern char * MPIR_restart_command;
  60     OMPI_DECLSPEC extern char * MPIR_checkpoint_listing_command;
  61 #endif
  62 
  63 END_C_DECLS
  64 
  65 #endif /* OMPI_CR_H */

/* [<][>][^][v][top][bottom][index][help] */