2005-03-26 21:49:16 +03:00
|
|
|
/*
|
2007-03-17 02:11:45 +03:00
|
|
|
* Copyright (c) 2006-2007 The Trustees of Indiana University and Indiana
|
|
|
|
* University Research and Technology
|
|
|
|
* Corporation. All rights reserved.
|
2005-11-05 22:57:48 +03:00
|
|
|
* Copyright (c) 2004-2005 The University of Tennessee and The University
|
|
|
|
* of Tennessee Research Foundation. All rights
|
|
|
|
* reserved.
|
2012-02-06 21:35:21 +04:00
|
|
|
* Copyright (c) 2011 Sandia National Laboratories. All rights reserved.
|
2005-03-26 21:49:16 +03:00
|
|
|
* $COPYRIGHT$
|
|
|
|
*
|
|
|
|
* Additional copyrights may follow
|
|
|
|
*
|
|
|
|
* $HEADER$
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "ompi_config.h"
|
|
|
|
#include "pml_example.h"
|
|
|
|
#include "pml_example_recvreq.h"
|
|
|
|
#include "pml_example_sendreq.h"
|
|
|
|
|
|
|
|
mca_pml_example_t mca_pml_example = {
|
|
|
|
{
|
|
|
|
mca_pml_example_add_procs,
|
|
|
|
mca_pml_example_del_procs,
|
|
|
|
mca_pml_example_add_ptls,
|
|
|
|
mca_pml_example_control,
|
|
|
|
mca_pml_example_progress,
|
|
|
|
mca_pml_example_add_comm,
|
|
|
|
mca_pml_example_del_comm,
|
|
|
|
mca_pml_example_irecv_init,
|
|
|
|
mca_pml_example_irecv,
|
|
|
|
mca_pml_example_recv,
|
|
|
|
mca_pml_example_isend_init,
|
|
|
|
mca_pml_example_isend,
|
|
|
|
mca_pml_example_send,
|
|
|
|
mca_pml_example_iprobe,
|
|
|
|
mca_pml_example_probe,
|
2005-08-09 18:56:04 +04:00
|
|
|
mca_pml_example_start,
|
2012-02-06 21:35:21 +04:00
|
|
|
mca_pml_example_improbe,
|
|
|
|
mca_pml_example_mprobe,
|
|
|
|
mca_pml_example_imrecv,
|
|
|
|
mca_pml_example_mrecv,
|
2007-03-17 02:11:45 +03:00
|
|
|
mca_pml_example_ft_event,
|
|
|
|
|
2005-08-09 18:56:04 +04:00
|
|
|
32768,
|
|
|
|
(0x7fffffff)
|
2005-03-26 21:49:16 +03:00
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
int mca_pml_example_add_comm(ompi_communicator_t* comm)
|
|
|
|
{
|
|
|
|
return OMPI_SUCCESS;
|
|
|
|
}
|
|
|
|
|
|
|
|
int mca_pml_example_del_comm(ompi_communicator_t* comm)
|
|
|
|
{
|
|
|
|
return OMPI_SUCCESS;
|
|
|
|
}
|
|
|
|
|
2005-07-03 20:22:16 +04:00
|
|
|
int mca_pml_example_add_ptls(opal_list_t *ptls)
|
2005-03-26 21:49:16 +03:00
|
|
|
{
|
|
|
|
return OMPI_SUCCESS;
|
|
|
|
}
|
|
|
|
|
|
|
|
int mca_pml_example_control(int param, void* value, size_t size)
|
|
|
|
{
|
|
|
|
return OMPI_SUCCESS;
|
|
|
|
}
|
|
|
|
|
|
|
|
int mca_pml_example_add_procs(ompi_proc_t** procs, size_t nprocs)
|
|
|
|
{
|
|
|
|
return OMPI_SUCCESS;
|
|
|
|
}
|
|
|
|
|
|
|
|
int mca_pml_example_del_procs(ompi_proc_t** procs, size_t nprocs)
|
|
|
|
{
|
|
|
|
return OMPI_SUCCESS;
|
|
|
|
}
|
|
|
|
|
2007-03-17 02:11:45 +03:00
|
|
|
int mca_pml_example_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 {
|
|
|
|
;
|
|
|
|
}
|
2015-06-24 06:59:57 +03:00
|
|
|
|
2007-03-17 02:11:45 +03:00
|
|
|
return OMPI_SUCCESS;
|
|
|
|
}
|