2013-09-26 21:56:20 +00:00
|
|
|
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
|
2008-06-18 03:15:56 +00:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
|
|
|
|
* University Research and Technology
|
|
|
|
* Corporation. All rights reserved.
|
|
|
|
* Copyright (c) 2004-2007 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 (c) 2006-2007 University of Houston. All rights reserved.
|
2013-09-26 21:56:20 +00:00
|
|
|
* Copyright (c) 2006-2013 Los Alamos National Security, LLC. All rights
|
2008-06-18 03:15:56 +00:00
|
|
|
* reserved.
|
2009-01-11 02:30:00 +00:00
|
|
|
* Copyright (c) 2007 Cisco Systems, Inc. All rights reserved.
|
2013-08-23 18:02:50 +00:00
|
|
|
* Copyright (c) 2013 Intel, Inc. All rights reserved
|
2012-06-27 01:28:28 +00:00
|
|
|
*
|
2008-06-18 03:15:56 +00:00
|
|
|
* $COPYRIGHT$
|
|
|
|
*
|
|
|
|
* Additional copyrights may follow
|
|
|
|
*
|
|
|
|
* $HEADER$
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "ompi_config.h"
|
|
|
|
#include <string.h>
|
|
|
|
#include <stdio.h>
|
2013-08-23 18:02:50 +00:00
|
|
|
#if HAVE_TIME_H
|
|
|
|
#include <time.h>
|
|
|
|
#endif
|
|
|
|
#if HAVE_SYS_TIME_H
|
|
|
|
#include <sys/time.h>
|
|
|
|
#endif
|
2008-06-18 03:15:56 +00:00
|
|
|
|
|
|
|
#include "ompi/mca/dpm/dpm.h"
|
|
|
|
#include "ompi/mca/dpm/base/base.h"
|
|
|
|
|
|
|
|
|
|
|
|
int ompi_dpm_base_null_connect_accept (ompi_communicator_t *comm, int root,
|
2013-09-26 21:56:20 +00:00
|
|
|
const char *port_string, bool send_first,
|
2008-06-18 03:15:56 +00:00
|
|
|
ompi_communicator_t **newcomm)
|
|
|
|
{
|
|
|
|
return OMPI_ERR_NOT_SUPPORTED;
|
|
|
|
}
|
2008-09-27 13:22:32 +00:00
|
|
|
|
2013-05-16 15:04:37 +00:00
|
|
|
int ompi_dpm_base_null_disconnect(ompi_communicator_t *comm)
|
2008-06-18 03:15:56 +00:00
|
|
|
{
|
2013-05-16 15:04:37 +00:00
|
|
|
return OMPI_SUCCESS;
|
2008-06-18 03:15:56 +00:00
|
|
|
}
|
|
|
|
|
2013-09-26 21:56:20 +00:00
|
|
|
int ompi_dpm_base_null_spawn(int count, const char *array_of_commands[],
|
|
|
|
char **array_of_argv[],
|
|
|
|
const int array_of_maxprocs[],
|
|
|
|
const MPI_Info array_of_info[],
|
|
|
|
const char *port_name)
|
2008-06-18 03:15:56 +00:00
|
|
|
{
|
|
|
|
return OMPI_ERR_NOT_SUPPORTED;
|
|
|
|
}
|
|
|
|
|
|
|
|
int ompi_dpm_base_null_dyn_init(void)
|
|
|
|
{
|
|
|
|
return OMPI_SUCCESS;
|
|
|
|
}
|
|
|
|
|
|
|
|
int ompi_dpm_base_null_dyn_finalize (void)
|
|
|
|
{
|
|
|
|
return OMPI_SUCCESS;
|
|
|
|
}
|
|
|
|
|
|
|
|
void ompi_dpm_base_null_mark_dyncomm (ompi_communicator_t *comm)
|
|
|
|
{
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
2013-01-27 23:25:10 +00:00
|
|
|
int ompi_dpm_base_null_open_port(char *port_name, ompi_rml_tag_t given_tag)
|
2008-06-18 03:15:56 +00:00
|
|
|
{
|
|
|
|
return OMPI_ERR_NOT_SUPPORTED;
|
|
|
|
}
|
|
|
|
|
2013-09-26 21:56:20 +00:00
|
|
|
int ompi_dpm_base_null_parse_port(const char *port_name,
|
2013-01-27 23:25:10 +00:00
|
|
|
char **hnp_uri, char **rml_uri, ompi_rml_tag_t *tag)
|
2008-09-27 13:22:32 +00:00
|
|
|
{
|
|
|
|
return OMPI_ERR_NOT_SUPPORTED;
|
|
|
|
}
|
|
|
|
|
2013-01-27 23:25:10 +00:00
|
|
|
int ompi_dpm_base_null_route_to_port(char *rml_uri, ompi_process_name_t *rproc)
|
2008-09-27 13:22:32 +00:00
|
|
|
{
|
|
|
|
return OMPI_ERR_NOT_SUPPORTED;
|
|
|
|
}
|
|
|
|
|
2013-09-26 21:56:20 +00:00
|
|
|
int ompi_dpm_base_null_close_port(const char *port_name)
|
2008-06-18 03:15:56 +00:00
|
|
|
{
|
|
|
|
return OMPI_ERR_NOT_SUPPORTED;
|
|
|
|
}
|
2013-08-23 18:02:50 +00:00
|
|
|
|
|
|
|
int ompi_dpm_base_null_pconnect(char *port,
|
|
|
|
struct timeval *timeout,
|
|
|
|
ompi_dpm_base_paccept_connect_callback_fn_t cbfunc,
|
|
|
|
void *cbdata)
|
|
|
|
{
|
|
|
|
return OMPI_ERR_NOT_SUPPORTED;
|
|
|
|
}
|
|
|
|
|
|
|
|
int ompi_dpm_base_null_paccept(char *port,
|
|
|
|
ompi_dpm_base_paccept_connect_callback_fn_t cbfunc,
|
|
|
|
void *cbdata)
|
|
|
|
{
|
|
|
|
return OMPI_ERR_NOT_SUPPORTED;
|
|
|
|
}
|
|
|
|
|
|
|
|
void ompi_dpm_base_null_pclose(char *port)
|
|
|
|
{
|
|
|
|
return;
|
|
|
|
}
|