71 строка
1.7 KiB
C
71 строка
1.7 KiB
C
|
/*
|
||
|
* Copyright (c) 2004-2007 The Trustees of Indiana University and Indiana
|
||
|
* University Research and Technology
|
||
|
* Corporation. All rights reserved.
|
||
|
* Copyright (c) 2004-2006 The University of Tennessee and The University
|
||
|
* of Tennessee Research Foundation. All rights
|
||
|
* reserved.
|
||
|
* Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
||
|
* University of Stuttgart. All rights reserved.
|
||
|
* Copyright (c) 2004-2005 The Regents of the University of California.
|
||
|
* All rights reserved.
|
||
|
* $COPYRIGHT$
|
||
|
*
|
||
|
* Additional copyrights may follow
|
||
|
*
|
||
|
* $HEADER$
|
||
|
*/
|
||
|
|
||
|
#include "ompi_config.h"
|
||
|
#include "ompi/mca/bml/bml.h"
|
||
|
#include "ompi/mca/bml/base/base.h"
|
||
|
#include "ompi/mca/btl/btl.h"
|
||
|
#include "ompi/mca/btl/base/base.h"
|
||
|
#include "ompi/mca/bml/base/bml_base_endpoint.h"
|
||
|
#include "ompi/mca/bml/base/bml_base_btl.h"
|
||
|
|
||
|
int mca_bml_base_ft_event(int state)
|
||
|
{
|
||
|
if(OPAL_CRS_CHECKPOINT == state) {
|
||
|
;
|
||
|
}
|
||
|
else if(OPAL_CRS_CONTINUE == state) {
|
||
|
;
|
||
|
}
|
||
|
else if(OPAL_CRS_RESTART == state) {
|
||
|
;
|
||
|
}
|
||
|
else if(OPAL_CRS_TERM == state ) {
|
||
|
;
|
||
|
}
|
||
|
else {
|
||
|
;
|
||
|
}
|
||
|
|
||
|
/*
|
||
|
* BML is expected to call ft_event in
|
||
|
* - BTL(s)
|
||
|
* - MPool(s)
|
||
|
* Currently you can't do this from outside a component
|
||
|
* So just return Unimplemented
|
||
|
*/
|
||
|
|
||
|
if(OPAL_CRS_CHECKPOINT == state) {
|
||
|
;
|
||
|
}
|
||
|
else if(OPAL_CRS_CONTINUE == state) {
|
||
|
;
|
||
|
}
|
||
|
else if(OPAL_CRS_RESTART == state) {
|
||
|
;
|
||
|
}
|
||
|
else if(OPAL_CRS_TERM == state ) {
|
||
|
;
|
||
|
}
|
||
|
else {
|
||
|
;
|
||
|
}
|
||
|
|
||
|
return OMPI_ERR_NOT_IMPLEMENTED;
|
||
|
}
|