Last change
on this file was
1646,
checked in by yushan, 6 years ago
|
branch merged with trunk @1645. arch file (ep&mpi) added for ADA
|
File size:
636 bytes
|
Line | |
---|
1 | #ifdef _usingEP |
---|
2 | #include "ep_lib.hpp" |
---|
3 | #include <mpi.h> |
---|
4 | #include "ep_declaration.hpp" |
---|
5 | #include <iostream> |
---|
6 | #include <fstream> |
---|
7 | #include "ep_mpi.hpp" |
---|
8 | |
---|
9 | using namespace std; |
---|
10 | |
---|
11 | |
---|
12 | namespace ep_lib |
---|
13 | { |
---|
14 | ep_comm::ep_comm(void* comm) |
---|
15 | { |
---|
16 | is_ep = false; |
---|
17 | is_intercomm = false; |
---|
18 | mpi_comm = static_cast< ::MPI_Comm*>(comm); |
---|
19 | } |
---|
20 | |
---|
21 | ep_info::ep_info(void* info) |
---|
22 | { |
---|
23 | mpi_info = static_cast< ::MPI_Info*>(info); |
---|
24 | } |
---|
25 | |
---|
26 | ep_request::ep_request(void* request) |
---|
27 | { |
---|
28 | mpi_request = static_cast< ::MPI_Request*>(request); |
---|
29 | } |
---|
30 | |
---|
31 | ep_status::ep_status(void* status) |
---|
32 | { |
---|
33 | mpi_status = static_cast< ::MPI_Status*>(status); |
---|
34 | } |
---|
35 | |
---|
36 | } |
---|
37 | |
---|
38 | |
---|
39 | |
---|
40 | |
---|
41 | #endif |
---|
42 | |
---|
43 | |
---|
44 | |
---|
45 | |
---|
Note: See
TracBrowser
for help on using the repository browser.