source: XIOS/trunk/src/mpi_tag.hpp @ 833

Last change on this file since 833 was 833, checked in by mhnguyen, 5 years ago

Improvements for dht

+) Implement adaptive hierarchy for dht, level of hierarchy depends on number of processes
+) Remove some redundant codes

Test
+) On Curie
+) All tests are correct

File size: 2.0 KB
Line 
1#ifndef __XIOS_MPI_TAG_HPP__
2#define __XIOS_MPI_TAG_HPP__
3
4/* Tag for mpi communication to send and receive index in distributed hashed table version 2*/
5#define MPI_DHT_INDEX 15
6
7/* Tag for mpi communication to send and receive info in distributed hashed table version 2*/
8#define MPI_DHT_INFO 12
9
10/* Tag for mpi communication to send and receive index in distributed hashed table version 1*/
11#define MPI_DHT_INDEX_0 25
12
13/* Tag for mpi communication to send and receive info in distributed hashed table version 1*/
14#define MPI_DHT_INFO_0 22
15
16/* Tag for mpi communication to send and receive index in distributed hashed table version 1*/
17#define MPI_DHT_INDEX_1 27
18
19/* Tag for mpi communication to send and receive info in distributed hashed table version 1*/
20#define MPI_DHT_INFO_1 24
21
22/* Tag for mpi communication to send and receive info of current grid source in grid transformation*/
23#define MPI_GRID_TRANSFORMATION_CURRENT_GRID_INDEX 31
24
25/* Tag for mpi communication to send and receive info of current grid source in grid transformation*/
26#define MPI_GRID_TRANSFORMATION_ORIGINAL_GRID_GLOBAL_INDEX 32
27
28/* Tag for mpi communication to send and receive info of current grid source in grid transformation*/
29#define MPI_GRID_TRANSFORMATION_ORIGINAL_GRID_LOCAL_INDEX 33
30
31/* Tag for mpi communication to send and receive info of current grid source in grid transformation*/
32#define MPI_GRID_TRANSFORMATION_ORIGINAL_GRID_WEIGHT 34
33
34/* Tag for mpi communication to send and receive info grid source and grid destination in transformation mapping*/
35#define MPI_TRANSFORMATION_MAPPING_INDEX 35
36
37/* Tag for mpi communication to send and receive info of DOMAIN in domain interpolation*/
38#define MPI_DOMAIN_INTERPOLATION_DEST_INDEX 7
39
40/* Tag for mpi communication to send and receive info of DOMAIN in domain interpolation*/
41#define MPI_DOMAIN_INTERPOLATION_SRC_INDEX 8
42
43/* Tag for mpi communication to send and receive info of DOMAIN in domain interpolation*/
44#define MPI_DOMAIN_INTERPOLATION_WEIGHT 9
45
46
47
48#endif
Note: See TracBrowser for help on using the repository browser.