1get_elpa_row_col_comms(3) Library Functions Manual get_elpa_row_col_comms(3)
2
3
4
6 get_elpa_row_col_comms - old, deprecated interface to get the MPI row
7 and column communicators needed in ELPA. It is recommended to use
8 elpa_get_communicators(3)
9
10
12 FORTRAN INTERFACE
13 use elpa1
14
15 success = get_elpa_row_col_comms (mpi_comm_global, my_prow, my_pcol,
16 mpi_comm_rows, mpi_comm_cols)
17
18 integer, intent(in) mpi_comm_global: global communicator for the
19 calculation
20 integer, intent(in) my_prow: row coordinate of the calling
21 process in the process grid
22 integer, intent(in) my_pcol: column coordinate of the
23 calling process in the process grid
24 integer, intent(out) mpi_comm_row: communicator for communication
25 within rows of processes
26 integer, intent(out) mpi_comm_row: communicator for communication
27 within columns of processes
28
29 integer success: return value indicating success
30 or failure of the underlying MPI_COMM_SPLIT function
31
32
33 C INTERFACE
34 #include "elpa_generated.h"
35
36 success = elpa_get_communicators (int mpi_comm_world, int my_prow,
37 my_pcol, int *mpi_comm_rows, int *Pmpi_comm_cols);
38
39 int mpi_comm_global: global communicator for the calculation
40 int my_prow: row coordinate of the calling process in the
41 process grid
42 int my_pcol: column coordinate of the calling process in the
43 process grid
44 int *mpi_comm_row: pointer to the communicator for communication
45 within rows of processes
46 int *mpi_comm_row: pointer to the communicator for communication
47 within columns of processes
48
49 int success: return value indicating success or failure of the
50 underlying MPI_COMM_SPLIT function
51
52
53
54
55
56
58 Old, depcreated interface, which will be deleted at some point: Please
59 use elpa_get_communicators(3) ! All ELPA routines need MPI
60 communicators for communicating within rows or columns of processes.
61 These communicators are created from the mpi_comm_global communicator.
62 It is assumed that the matrix used in ELPA is distributed with my_prow
63 rows and my_pcol columns on the calling process. This function has to
64 be envoked by all involved processes before any other calls to ELPA
65 routines.
66
68 elpa_get_communicators(3) elpa_solve_evp_real(3)
69 elpa_solve_evp_complex(3) elpa2_print_kernels(1)
70
71
72
73ELPA Wed Dec 2 2015 get_elpa_row_col_comms(3)