1
1
openmpi/src/errhandler/errhandler_predefined.h

39 строки
1.2 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$
*
* 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, ...);
void ompi_mpi_errors_are_fatal_win_handler(struct ompi_win_t **win,
int *error_code, ...);
/**
* 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, ...);
void ompi_mpi_errors_return_win_handler(struct ompi_win_t **win,
int *error_code, ...);
#endif /* OMPI_ERRHANDLER_PREDEFINED_H */