Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:05:37

0001 /*
0002  * Copyright (c) 2010-2012 Oak Ridge National Labs.  All rights reserved.
0003  * Copyright (c) 2010-2020 The University of Tennessee and the University
0004  *                         of Tennessee research Foundation.  All rights
0005  *                         reserved.
0006  * $COPYRIGHT$
0007  *
0008  * Additional copyrights may follow
0009  *
0010  * $HEADER$
0011  *
0012  */
0013 
0014 /********************************
0015  * Error codes and classes
0016  ********************************/
0017 #define MPIX_ERR_PROC_FAILED          MPI_ERR_PROC_FAILED
0018 #define MPIX_ERR_PROC_FAILED_PENDING  MPI_ERR_PROC_FAILED_PENDING
0019 #define MPIX_ERR_REVOKED              MPI_ERR_REVOKED
0020 #define MPIX_FT                       MPI_FT
0021 
0022 /********************************
0023  * Communicators
0024  ********************************/
0025 OMPI_DECLSPEC int MPIX_Comm_revoke(MPI_Comm comm);
0026 OMPI_DECLSPEC int MPIX_Comm_is_revoked(MPI_Comm comm, int *flag);
0027 OMPI_DECLSPEC int MPIX_Comm_shrink(MPI_Comm comm, MPI_Comm *newcomm);
0028 OMPI_DECLSPEC int MPIX_Comm_failure_ack(MPI_Comm comm);
0029 OMPI_DECLSPEC int MPIX_Comm_failure_get_acked(MPI_Comm comm, MPI_Group *failedgrp);
0030 OMPI_DECLSPEC int MPIX_Comm_get_failed(MPI_Comm comm, MPI_Group *failedgroup);
0031 OMPI_DECLSPEC int MPIX_Comm_ack_failed(MPI_Comm comm, int num_to_ack, int *num_acked);
0032 OMPI_DECLSPEC int MPIX_Comm_agree(MPI_Comm comm, int *flag);
0033 OMPI_DECLSPEC int MPIX_Comm_iagree(MPI_Comm comm, int *flag, MPI_Request *request);
0034 
0035 OMPI_DECLSPEC int PMPIX_Comm_revoke(MPI_Comm comm);
0036 OMPI_DECLSPEC int PMPIX_Comm_is_revoked(MPI_Comm comm, int *flag);
0037 OMPI_DECLSPEC int PMPIX_Comm_shrink(MPI_Comm comm, MPI_Comm *newcomm);
0038 OMPI_DECLSPEC int PMPIX_Comm_failure_ack(MPI_Comm comm);
0039 OMPI_DECLSPEC int PMPIX_Comm_failure_get_acked(MPI_Comm comm, MPI_Group *failedgrp);
0040 OMPI_DECLSPEC int PMPIX_Comm_get_failed(MPI_Comm comm, MPI_Group *failedgroup);
0041 OMPI_DECLSPEC int PMPIX_Comm_ack_failed(MPI_Comm comm, int num_to_ack, int *num_acked);
0042 OMPI_DECLSPEC int PMPIX_Comm_agree(MPI_Comm comm, int *flag);
0043 OMPI_DECLSPEC int PMPIX_Comm_iagree(MPI_Comm comm, int *flag, MPI_Request *request);
0044 
0045 #include <stdbool.h>
0046 OMPI_DECLSPEC int OMPI_Comm_failure_inject(MPI_Comm comm, bool notify);
0047 /* Provide defines to facilitate the detection of the new API */
0048 #define OMPI_HAVE_MPIX_COMM_GET_FAILED 1
0049 #define OMPI_HAVE_MPIX_COMM_ACK_FAILED 1
0050