10 #ifndef OMPI_PARTEST_H_ 11 #define OMPI_PARTEST_H_ 17 #define MAXPE 28*64*1024 18 #define MAXCHARLEN 256 23 #include "partest_opts.h" 30 int all_size, all_rank, work_size, work_rank, workread_size, workread_rank, local_size, local_rank;
31 int file_number, ionode_number;
37 int test_paropen_multi_ompi (
char *filename,
44 int test_paropen_omp (
char *filename,
52 int barrier_after_start (MPI_Comm comm);
53 int barrier_after_malloc(MPI_Comm comm);
54 int barrier_after_open (MPI_Comm comm);
55 int barrier_after_write (MPI_Comm comm);
56 int barrier_after_read (MPI_Comm comm);
57 int barrier_after_close (MPI_Comm comm);
58 int barrier_before_unlink (MPI_Comm comm);
59 int barrier_after_unlink (MPI_Comm comm);
61 int collective_print_gather (
char* cbuffer, MPI_Comm comm);
65 #define _PARTEST_SION_INT32 10 66 #define _PARTEST_SION_INT64 11 67 #define _PARTEST_DOUBLE 12 68 void reduce_omp(
void *syncdata,
void * out, MPI_Op op,
int dtype);