mpid_unimpl.c 3.46 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* begin_generated_IBM_copyright_prolog                             */
/*                                                                  */
/* This is an automatically generated copyright prolog.             */
/* After initializing,  DO NOT MODIFY OR MOVE                       */
/*  --------------------------------------------------------------- */
/* Licensed Materials - Property of IBM                             */
/* Blue Gene/Q 5765-PER 5765-PRP                                    */
/*                                                                  */
/* (C) Copyright IBM Corp. 2011, 2012 All Rights Reserved           */
/* US Government Users Restricted Rights -                          */
/* Use, duplication, or disclosure restricted                       */
/* by GSA ADP Schedule Contract with IBM Corp.                      */
/*                                                                  */
/*  --------------------------------------------------------------- */
/*                                                                  */
/* end_generated_IBM_copyright_prolog                               */
/*  (C)Copyright IBM Corp.  2007, 2011  */
/**
 * \file src/misc/mpid_unimpl.c
 * \brief These are functions that are not supported
 */
#include <mpidimpl.h>

Haizhu Liu's avatar
Haizhu Liu committed
24
#ifndef DYNAMIC_TASKING
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
int MPID_Close_port(const char *port_name)
{
  MPID_abort();
  return 0;
}
int MPID_Open_port(MPID_Info *info_ptr,
                   char *port_name)
{
  MPID_abort();
  return 0;
}

int MPID_Comm_accept(const char *port_name,
                     MPID_Info *info_ptr,
                     int root,
                     MPID_Comm *comm_ptr,
                     MPID_Comm **newcomm)
{
  MPID_abort();
  return 0;
}
int MPID_Comm_connect(const char *port_name,
                      MPID_Info *info_ptr,
                      int root,
                      MPID_Comm *comm_ptr,
                      MPID_Comm **newcomm)
{
  MPID_abort();
  return 0;
}
int MPID_Comm_disconnect(MPID_Comm *comm_ptr)
{
  MPID_abort();
  return 0;
}
int MPID_Comm_spawn_multiple(int count,
                             char *array_of_commands[],
                             char* *array_of_argv[],
                             const int array_of_maxprocs[],
                             MPID_Info *array_of_info[],
                             int root,
                             MPID_Comm *comm_ptr,
                             MPID_Comm **intercomm,
                             int array_of_errcodes[])
{
  MPID_abort();
  return 0;
}
Haizhu Liu's avatar
Haizhu Liu committed
73
#endif
74
75
76
77
78
79
80
81
82
83
84
85

int MPID_Comm_failure_ack(MPID_Comm *comm_ptr)
{
  MPID_abort();
  return 0;
}

int MPID_Comm_failure_get_acked(MPID_Comm *comm_ptr, MPID_Group **failed_group_ptr)
{
  MPID_abort();
  return 0;
}
Wesley Bland's avatar
Wesley Bland committed
86

87
int MPID_Comm_agree(MPID_Comm *comm_ptr, uint32_t *bitarray, int *flag, mpir_errflag_t new_fail)
Wesley Bland's avatar
Wesley Bland committed
88
89
90
91
{
  MPID_abort();
  return 0;
}
92
93
94
95
96
97
98
99
100
101
102
103

int MPID_Comm_get_all_failed_procs(MPID_Comm *comm_ptr, MPID_Group **failed_group, int tag)
{
  MPID_abort();
  return 0;
}

int MPID_Comm_revoke(MPID_Comm *comm_ptr, int is_remote)
{
  MPID_abort();
  return 0;
}
104

105
int MPID_Comm_AS_enabled(MPID_Comm *comm_ptr)
106
{
107
108
109
  /* This function must return 1 in the default case and should not be ignored
   * by the implementation. */
  return 1;
110
}
111
112
113
114
115
116
117
118

int MPID_Request_is_anysource(MPID_Request *request_ptr)
{
  /* This function must not abort in the default case since it is used in many
   * MPI functions. As long as the device does not implement FT, it doesn't
   * matter what this function returns. */
  return 0;
}