source: XIOS/dev/dev_trunk_omp/extern/src_ep_dev/ep_finalize.cpp @ 1646

Last change on this file since 1646 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
Line 
1#ifdef _usingEP
2#include "ep_lib.hpp"
3#include <mpi.h>
4#include "ep_declaration.hpp"
5#include "ep_mpi.hpp"
6
7namespace 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
26#endif
Note: See TracBrowser for help on using the repository browser.