2005-01-27 07:03:29 +08:00
|
|
|
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
2007-02-07 22:56:24 +08:00
|
|
|
* Copyright by The HDF Group. *
|
2005-01-27 07:03:29 +08:00
|
|
|
* Copyright by the Board of Trustees of the University of Illinois. *
|
|
|
|
* All rights reserved. *
|
|
|
|
* *
|
|
|
|
* This file is part of HDF5. The full HDF5 copyright notice, including *
|
|
|
|
* terms governing use, modification, and redistribution, is contained in *
|
2017-04-18 03:32:16 +08:00
|
|
|
* the COPYING file, which can be found at the root of the source code *
|
2021-02-17 22:52:36 +08:00
|
|
|
* distribution tree, or in https://www.hdfgroup.org/licenses. *
|
2017-04-18 03:32:16 +08:00
|
|
|
* If you do not have access to either file, you may request a copy from *
|
|
|
|
* help@hdfgroup.org. *
|
2005-01-27 07:03:29 +08:00
|
|
|
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
|
|
|
|
|
|
|
#ifndef _PH5DIFF_H__
|
|
|
|
#define _PH5DIFF_H__
|
|
|
|
|
|
|
|
/* Send from manager to workers */
|
2020-09-30 22:27:10 +08:00
|
|
|
#define MPI_TAG_ARGS 1
|
|
|
|
#define MPI_TAG_PRINT_TOK 2
|
2005-01-27 07:03:29 +08:00
|
|
|
|
|
|
|
/*Sent from workers to manager */
|
2020-09-30 22:27:10 +08:00
|
|
|
#define MPI_TAG_TOK_REQUEST 3
|
|
|
|
#define MPI_TAG_DONE 4
|
|
|
|
#define MPI_TAG_TOK_RETURN 5
|
|
|
|
#define MPI_TAG_PRINT_DATA 6
|
2005-01-27 07:03:29 +08:00
|
|
|
|
|
|
|
/* Operational tags used to init and complete diff */
|
2020-09-30 22:27:10 +08:00
|
|
|
#define MPI_TAG_END 7
|
|
|
|
#define MPI_TAG_PARALLEL 8
|
2005-01-27 07:03:29 +08:00
|
|
|
|
2020-09-30 22:27:10 +08:00
|
|
|
struct diff_mpi_args {
|
|
|
|
char name1[256];
|
|
|
|
char name2[256];
|
2017-10-17 06:26:23 +08:00
|
|
|
diff_opt_t opts;
|
2020-09-30 22:27:10 +08:00
|
|
|
diff_args_t argdata; /* rest args */
|
2005-08-14 04:53:35 +08:00
|
|
|
};
|
2005-01-27 07:03:29 +08:00
|
|
|
|
2020-09-30 22:27:10 +08:00
|
|
|
struct diffs_found {
|
2005-06-29 03:20:56 +08:00
|
|
|
hsize_t nfound;
|
2020-09-30 22:27:10 +08:00
|
|
|
int not_cmp;
|
2005-06-29 03:20:56 +08:00
|
|
|
};
|
|
|
|
|
2020-09-30 22:27:10 +08:00
|
|
|
#endif /* _PH5DIFF_H__ */
|