Last change
on this file since 2129 was
1646,
checked in by yushan, 5 years ago
|
branch merged with trunk @1645. arch file (ep&mpi) added for ADA
|
File size:
385 bytes
|
Rev | Line | |
---|
[1646] | 1 | #ifdef _usingEP |
---|
[1603] | 2 | #include "ep_lib.hpp" |
---|
| 3 | #include <mpi.h> |
---|
| 4 | #include "ep_declaration.hpp" |
---|
| 5 | #include "ep_mpi.hpp" |
---|
| 6 | |
---|
| 7 | namespace ep_lib |
---|
| 8 | { |
---|
| 9 | |
---|
| 10 | int MPI_Finalize() |
---|
| 11 | { |
---|
| 12 | #pragma omp master |
---|
| 13 | { |
---|
| 14 | printf("calling EP Finalize\n"); |
---|
| 15 | ::MPI_Finalize(); |
---|
| 16 | } |
---|
| 17 | } |
---|
| 18 | |
---|
| 19 | int MPI_Abort(MPI_Comm comm, int errorcode) |
---|
| 20 | { |
---|
| 21 | return ::MPI_Abort(to_mpi_comm(comm->mpi_comm), errorcode); |
---|
| 22 | } |
---|
| 23 | |
---|
| 24 | } |
---|
| 25 | |
---|
[1646] | 26 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.