1
1
openmpi/src/errhandler/errhandler_predefined.h

45 строки
1.4 KiB
C
Исходник Обычный вид История

/*
* Copyright (c) 2004-2005 The Trustees of Indiana University.
* All rights reserved.
* Copyright (c) 2004-2005 The Trustees of the University of Tennessee.
* All rights reserved.
* Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
* University of Stuttgart. All rights reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
*
* $HEADER$
*/
#ifndef OMPI_ERRHANDLER_PREDEFINED_H
#define OMPI_ERRHANDLER_PREDEFINED_H
/**
* Handler function for MPI_ERRORS_ARE_FATAL
*/
void ompi_mpi_errors_are_fatal_comm_handler(struct ompi_communicator_t **comm,
int *error_code, ...);
void ompi_mpi_errors_are_fatal_file_handler(struct ompi_file_t **file,
int *error_code, ...);
#if OMPI_WANT_MPI2_ONE_SIDED
void ompi_mpi_errors_are_fatal_win_handler(struct ompi_win_t **win,
int *error_code, ...);
#endif
/**
* Handler function for MPI_ERRORS_RETURN
*/
void ompi_mpi_errors_return_comm_handler(struct ompi_communicator_t **comm,
int *error_code, ...);
void ompi_mpi_errors_return_file_handler(struct ompi_file_t **file,
int *error_code, ...);
#if OMPI_WANT_MPI2_ONE_SIDED
void ompi_mpi_errors_return_win_handler(struct ompi_win_t **win,
int *error_code, ...);
#endif
#endif /* OMPI_ERRHANDLER_PREDEFINED_H */