SIONlib  1.7.7
Scalable I/O library for parallel access to task-local files
partest_split_comm.h
1 /****************************************************************************
2 ** SIONLIB http://www.fz-juelich.de/jsc/sionlib **
3 *****************************************************************************
4 ** Copyright (c) 2008-2019 **
5 ** Forschungszentrum Juelich, Juelich Supercomputing Centre **
6 ** **
7 ** See the file COPYRIGHT in the package base directory for details **
8 ****************************************************************************/
9 #ifndef PARTEST_SPLIT_COMM_H_
10 #define PARTEST_SPLIT_COMM_H_
11 
12 #define WAKEUP 102
13 #define COLPRINT 103
14 #define MAXCHARLEN 350
15 
17  MPI_Comm all;
18  MPI_Comm work;
19  MPI_Comm workread;
20  MPI_Comm local;
21  int all_size, all_rank, work_size, work_rank, workread_size, workread_rank, local_size, local_rank;
22  int file_number, ionode_number;
23 };
24 
26 
27 int split_communicator(_test_communicators * communicators, int bluegene, int bluegene_np, int bluegene_sort, int numfiles, int read_task_offset, int verbose);
28 int collective_print(char *cbuffer, MPI_Comm comm);
29 int collective_print_gather(char *cbuffer, MPI_Comm comm);
30 
31 #endif