You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
194 lines
6.9 KiB
C
194 lines
6.9 KiB
C
/*
|
|
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
|
|
* University Research and Technology
|
|
* Corporation. All rights reserved.
|
|
* Copyright (c) 2004-2021 The University of Tennessee and The University
|
|
* of Tennessee Research Foundation. All rights
|
|
* reserved.
|
|
* Copyright (c) 2004-2007 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) 2007-2021 Cisco Systems, Inc. All rights reserved
|
|
* Copyright (c) 2008-2009 Sun Microsystems, Inc. All rights reserved.
|
|
* Copyright (c) 2009-2012 Oak Rigde National Laboratory. All rights reserved.
|
|
* Copyright (c) 2011-2020 Sandia National Laboratories. All rights reserved.
|
|
* Copyright (c) 2012-2018 Los Alamos National Security, LLC. All rights
|
|
* reserved.
|
|
* Copyright (c) 2011-2013 INRIA. All rights reserved.
|
|
* Copyright (c) 2015 University of Houston. All rights reserved.
|
|
* Copyright (c) 2015-2021 Research Organization for Information Science
|
|
* and Technology (RIST). All rights reserved.
|
|
* Copyright (c) 2017-2019 IBM Corporation. All rights reserved.
|
|
* Copyright (c) 2018 FUJITSU LIMITED. All rights reserved.
|
|
* Copyright (c) 2021-2022 Google, LLC. All rights reserved.
|
|
* Copyright (c) 2021-2022 Amazon.com, Inc. or its affiliates. All Rights
|
|
* reserved.
|
|
* Copyright (c) 2021 Bull S.A.S. All rights reserved.
|
|
* Copyright (c) 2018 Triad National Security, LLC. All rights
|
|
* Copyright (c) 2018-2021 Triad National Security, LLC. All rights
|
|
* reserved.
|
|
* $COPYRIGHT$
|
|
*
|
|
* Additional copyrights may follow
|
|
*
|
|
* $HEADER$
|
|
*/
|
|
/*
|
|
* Error classes and codes
|
|
* Do not change the values of these without also modifying mpif.h.in.
|
|
*/
|
|
#define MPI_SUCCESS 0
|
|
#define MPI_ERR_BUFFER 1
|
|
#define MPI_ERR_COUNT 2
|
|
#define MPI_ERR_TYPE 3
|
|
#define MPI_ERR_TAG 4
|
|
#define MPI_ERR_COMM 5
|
|
#define MPI_ERR_RANK 6
|
|
#define MPI_ERR_REQUEST 7
|
|
#define MPI_ERR_ROOT 8
|
|
#define MPI_ERR_GROUP 9
|
|
#define MPI_ERR_OP 10
|
|
#define MPI_ERR_TOPOLOGY 11
|
|
#define MPI_ERR_DIMS 12
|
|
#define MPI_ERR_ARG 13
|
|
#define MPI_ERR_UNKNOWN 14
|
|
#define MPI_ERR_TRUNCATE 15
|
|
#define MPI_ERR_OTHER 16
|
|
#define MPI_ERR_INTERN 17
|
|
#define MPI_ERR_IN_STATUS 18
|
|
#define MPI_ERR_PENDING 19
|
|
#define MPI_ERR_ACCESS 20
|
|
#define MPI_ERR_AMODE 21
|
|
#define MPI_ERR_ASSERT 22
|
|
#define MPI_ERR_BAD_FILE 23
|
|
#define MPI_ERR_BASE 24
|
|
#define MPI_ERR_CONVERSION 25
|
|
#define MPI_ERR_DISP 26
|
|
#define MPI_ERR_DUP_DATAREP 27
|
|
#define MPI_ERR_FILE_EXISTS 28
|
|
#define MPI_ERR_FILE_IN_USE 29
|
|
#define MPI_ERR_FILE 30
|
|
#define MPI_ERR_INFO_KEY 31
|
|
#define MPI_ERR_INFO_NOKEY 32
|
|
#define MPI_ERR_INFO_VALUE 33
|
|
#define MPI_ERR_INFO 34
|
|
#define MPI_ERR_IO 35
|
|
#define MPI_ERR_KEYVAL 36
|
|
#define MPI_ERR_LOCKTYPE 37
|
|
#define MPI_ERR_NAME 38
|
|
#define MPI_ERR_NO_MEM 39
|
|
#define MPI_ERR_NOT_SAME 40
|
|
#define MPI_ERR_NO_SPACE 41
|
|
#define MPI_ERR_NO_SUCH_FILE 42
|
|
#define MPI_ERR_PORT 43
|
|
#define MPI_ERR_QUOTA 44
|
|
#define MPI_ERR_READ_ONLY 45
|
|
#define MPI_ERR_RMA_CONFLICT 46
|
|
#define MPI_ERR_RMA_SYNC 47
|
|
#define MPI_ERR_SERVICE 48
|
|
#define MPI_ERR_SIZE 49
|
|
#define MPI_ERR_SPAWN 50
|
|
#define MPI_ERR_UNSUPPORTED_DATAREP 51
|
|
#define MPI_ERR_UNSUPPORTED_OPERATION 52
|
|
#define MPI_ERR_WIN 53
|
|
|
|
#define MPI_T_ERR_MEMORY 54
|
|
#define MPI_T_ERR_NOT_INITIALIZED 55
|
|
#define MPI_T_ERR_CANNOT_INIT 56
|
|
#define MPI_T_ERR_INVALID_INDEX 57
|
|
#define MPI_T_ERR_INVALID_ITEM 58
|
|
#define MPI_T_ERR_INVALID_HANDLE 59
|
|
#define MPI_T_ERR_OUT_OF_HANDLES 60
|
|
#define MPI_T_ERR_OUT_OF_SESSIONS 61
|
|
#define MPI_T_ERR_INVALID_SESSION 62
|
|
#define MPI_T_ERR_CVAR_SET_NOT_NOW 63
|
|
#define MPI_T_ERR_CVAR_SET_NEVER 64
|
|
#define MPI_T_ERR_PVAR_NO_STARTSTOP 65
|
|
#define MPI_T_ERR_PVAR_NO_WRITE 66
|
|
#define MPI_T_ERR_PVAR_NO_ATOMIC 67
|
|
#define MPI_ERR_RMA_RANGE 68
|
|
#define MPI_ERR_RMA_ATTACH 69
|
|
#define MPI_ERR_RMA_FLAVOR 70
|
|
#define MPI_ERR_RMA_SHARED 71
|
|
#define MPI_T_ERR_INVALID 72
|
|
#define MPI_T_ERR_INVALID_NAME 73
|
|
#define MPI_ERR_PROC_ABORTED 74
|
|
|
|
/* not #if conditional on OPAL_ENABLE_FT_MPI for ABI */
|
|
#define MPI_ERR_PROC_FAILED 75
|
|
#define MPI_ERR_PROC_FAILED_PENDING 76
|
|
#define MPI_ERR_REVOKED 77
|
|
|
|
/* Per MPI-3 p349 47, MPI_ERR_LASTCODE must be >= the last predefined
|
|
MPI_ERR_<foo> code. Set the last code to allow some room for adding
|
|
error codes without breaking ABI. */
|
|
#define MPI_ERR_LASTCODE 92
|
|
|
|
/*
|
|
* Comparison results. Don't change the order of these, the group
|
|
* comparison functions rely on it.
|
|
* Do not change the order of these without also modifying mpif.h.in.
|
|
*/
|
|
enum {
|
|
MPI_IDENT,
|
|
MPI_CONGRUENT,
|
|
MPI_SIMILAR,
|
|
MPI_UNEQUAL
|
|
};
|
|
|
|
/*
|
|
* MPI_Init_thread constants
|
|
* Do not change the order of these without also modifying mpif.h.in.
|
|
*/
|
|
enum {
|
|
MPI_THREAD_SINGLE,
|
|
MPI_THREAD_FUNNELED,
|
|
MPI_THREAD_SERIALIZED,
|
|
MPI_THREAD_MULTIPLE
|
|
};
|
|
|
|
/*
|
|
* Datatype combiners.
|
|
* Do not change the order of these without also modifying mpif.h.in.
|
|
* (see also mpif-common.h.fin).
|
|
*/
|
|
enum {
|
|
MPI_COMBINER_NAMED,
|
|
MPI_COMBINER_DUP,
|
|
MPI_COMBINER_CONTIGUOUS,
|
|
MPI_COMBINER_VECTOR,
|
|
#if (!OMPI_OMIT_MPI1_COMPAT_DECLS)
|
|
MPI_COMBINER_HVECTOR_INTEGER,
|
|
#else
|
|
OMPI_WAS_MPI_COMBINER_HVECTOR_INTEGER, /* preserve ABI compatibility */
|
|
#endif
|
|
MPI_COMBINER_HVECTOR,
|
|
MPI_COMBINER_INDEXED,
|
|
#if (!OMPI_OMIT_MPI1_COMPAT_DECLS)
|
|
MPI_COMBINER_HINDEXED_INTEGER,
|
|
#else
|
|
OMPI_WAS_MPI_COMBINER_HINDEXED_INTEGER, /* preserve ABI compatibility */
|
|
#endif
|
|
MPI_COMBINER_HINDEXED,
|
|
MPI_COMBINER_INDEXED_BLOCK,
|
|
#if (!OMPI_OMIT_MPI1_COMPAT_DECLS)
|
|
MPI_COMBINER_STRUCT_INTEGER,
|
|
#else
|
|
OMPI_WAS_MPI_COMBINER_STRUCT_INTEGER, /* preserve ABI compatibility */
|
|
#endif
|
|
MPI_COMBINER_STRUCT,
|
|
MPI_COMBINER_SUBARRAY,
|
|
MPI_COMBINER_DARRAY,
|
|
MPI_COMBINER_F90_REAL,
|
|
MPI_COMBINER_F90_COMPLEX,
|
|
MPI_COMBINER_F90_INTEGER,
|
|
MPI_COMBINER_RESIZED,
|
|
MPI_COMBINER_HINDEXED_BLOCK
|
|
};
|
|
|
|
////MOCK ERRHANDELERS
|
|
#define OMPI_ERRHANDLER_INVOKE(comm,err,fname) err
|
|
#define OMPI_ERRHANDLER_NOHANDLE_INVOKE(err,fname) err
|
|
|