Changeset 1081 for XIOS/dev/branch_yushan/src/registry.hpp
- Timestamp:
- 03/31/17 20:26:21 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/branch_yushan/src/registry.hpp
r1080 r1081 28 28 /** Constructor, the communicator is used for bcast or gather operation between MPI processes */ 29 29 30 //CRegistry(const ep_lib::MPI_Comm& comm=MPI_COMM_WORLD) : communicator(comm) {} 31 CRegistry(const ep_lib::MPI_Comm& comm=MPI_COMM_WORLD) 32 { 33 communicator = comm; 34 } 30 CRegistry(const ep_lib::MPI_Comm& comm=MPI_COMM_WORLD) : communicator(comm) {} 31 // CRegistry(const ep_lib::MPI_Comm& comm=MPI_COMM_WORLD) 32 // { 33 // communicator = comm; 34 35 // int tmp_rank; 36 // MPI_Comm_rank(comm, &tmp_rank); 37 // printf("rank %d (%d): constructor on address %p, ref_comm = %p\n", tmp_rank, omp_get_thread_num(), &communicator, &comm); 38 // } 35 39 36 40
Note: See TracChangeset
for help on using the changeset viewer.