2004-03-19 09:12:43 +03:00
|
|
|
/*
|
2005-11-05 22:57:48 +03:00
|
|
|
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
|
|
|
|
* University Research and Technology
|
|
|
|
* Corporation. All rights reserved.
|
|
|
|
* Copyright (c) 2004-2005 The University of Tennessee and The University
|
|
|
|
* of Tennessee Research Foundation. All rights
|
|
|
|
* reserved.
|
2015-06-24 06:59:57 +03:00
|
|
|
* Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
2004-11-28 23:09:25 +03:00
|
|
|
* University of Stuttgart. All rights reserved.
|
2005-03-24 15:43:37 +03:00
|
|
|
* Copyright (c) 2004-2005 The Regents of the University of California.
|
|
|
|
* All rights reserved.
|
2004-11-22 04:38:40 +03:00
|
|
|
* $COPYRIGHT$
|
2015-06-24 06:59:57 +03:00
|
|
|
*
|
2004-11-22 04:38:40 +03:00
|
|
|
* Additional copyrights may follow
|
2015-06-24 06:59:57 +03:00
|
|
|
*
|
2004-03-19 09:12:43 +03:00
|
|
|
* $HEADER$
|
|
|
|
*/
|
|
|
|
|
2004-06-07 19:33:53 +04:00
|
|
|
#ifndef OMPI_ERRHANDLER_PREDEFINED_H
|
|
|
|
#define OMPI_ERRHANDLER_PREDEFINED_H
|
2004-03-19 09:12:43 +03:00
|
|
|
|
2007-04-26 13:34:41 +04:00
|
|
|
#include "ompi_config.h"
|
2009-03-18 01:37:15 +03:00
|
|
|
|
|
|
|
struct ompi_communicator_t;
|
|
|
|
struct ompi_file_t;
|
|
|
|
struct ompi_win_t;
|
2004-03-19 09:12:43 +03:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Handler function for MPI_ERRORS_ARE_FATAL
|
|
|
|
*/
|
2007-04-26 13:34:41 +04:00
|
|
|
OMPI_DECLSPEC void ompi_mpi_errors_are_fatal_comm_handler(struct ompi_communicator_t **comm,
|
2004-09-06 16:06:27 +04:00
|
|
|
int *error_code, ...);
|
2007-04-26 13:34:41 +04:00
|
|
|
OMPI_DECLSPEC void ompi_mpi_errors_are_fatal_file_handler(struct ompi_file_t **file,
|
2004-09-06 16:06:27 +04:00
|
|
|
int *error_code, ...);
|
2007-04-26 13:34:41 +04:00
|
|
|
OMPI_DECLSPEC void ompi_mpi_errors_are_fatal_win_handler(struct ompi_win_t **win,
|
2004-09-06 16:06:27 +04:00
|
|
|
int *error_code, ...);
|
2004-03-19 09:12:43 +03:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Handler function for MPI_ERRORS_RETURN
|
|
|
|
*/
|
2007-04-26 13:34:41 +04:00
|
|
|
OMPI_DECLSPEC void ompi_mpi_errors_return_comm_handler(struct ompi_communicator_t **comm,
|
2004-03-19 09:12:43 +03:00
|
|
|
int *error_code, ...);
|
2007-04-26 13:34:41 +04:00
|
|
|
OMPI_DECLSPEC void ompi_mpi_errors_return_file_handler(struct ompi_file_t **file,
|
2004-09-06 16:06:27 +04:00
|
|
|
int *error_code, ...);
|
2007-04-26 13:34:41 +04:00
|
|
|
OMPI_DECLSPEC void ompi_mpi_errors_return_win_handler(struct ompi_win_t **win,
|
2004-09-06 16:06:27 +04:00
|
|
|
int *error_code, ...);
|
|
|
|
|
2004-03-19 09:12:43 +03:00
|
|
|
|
2004-06-07 19:33:53 +04:00
|
|
|
#endif /* OMPI_ERRHANDLER_PREDEFINED_H */
|