1 /*
2 * Copyright (c) 2004-2007 The Trustees of Indiana University and Indiana
3 * University Research and Technology
4 * Corporation. All rights reserved.
5 * Copyright (c) 2004-2006 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) 2008 Cisco Systems, Inc. All rights reserved.
13 * $COPYRIGHT$
14 *
15 * Additional copyrights may follow
16 *
17 * $HEADER$
18 */
19
20 #include "ompi_config.h"
21 #include "ompi/mca/bml/base/base.h"
22 #include "opal/mca/btl/base/base.h"
23 #include "ompi/mca/bml/base/bml_base_btl.h"
24
25 int mca_bml_base_ft_event(int state)
26 {
27 if(OPAL_CRS_CHECKPOINT == state) {
28 ;
29 }
30 else if(OPAL_CRS_CONTINUE == state) {
31 ;
32 }
33 else if(OPAL_CRS_RESTART == state) {
34 ;
35 }
36 else if(OPAL_CRS_TERM == state ) {
37 ;
38 }
39 else {
40 ;
41 }
42
43 /*
44 * BML is expected to call ft_event in
45 * - BTL(s)
46 * - MPool(s)
47 * Currently you can't do this from outside a component
48 * So just return Unimplemented
49 */
50
51 if(OPAL_CRS_CHECKPOINT == state) {
52 ;
53 }
54 else if(OPAL_CRS_CONTINUE == state) {
55 ;
56 }
57 else if(OPAL_CRS_RESTART == state) {
58 ;
59 }
60 else if(OPAL_CRS_TERM == state ) {
61 ;
62 }
63 else {
64 ;
65 }
66
67 return OMPI_ERR_NOT_IMPLEMENTED;
68 }