Last change
on this file since 1079 was
1053,
checked in by yushan, 7 years ago
|
ep_lib namespace specified when netcdf involved
|
File size:
446 bytes
|
Rev | Line | |
---|
[1037] | 1 | #include "ep_lib.hpp" |
---|
| 2 | #include <mpi.h> |
---|
| 3 | #include "ep_declaration.hpp" |
---|
| 4 | |
---|
| 5 | namespace ep_lib |
---|
| 6 | { |
---|
| 7 | |
---|
| 8 | |
---|
| 9 | |
---|
| 10 | int MPI_Alloc_mem(MPI_Aint size, MPI_Info info, void *baseptr) |
---|
| 11 | { |
---|
[1053] | 12 | ::MPI_Alloc_mem(size.mpi_aint, static_cast< ::MPI_Info>(info.mpi_info), baseptr); |
---|
[1037] | 13 | return 0; |
---|
| 14 | } |
---|
| 15 | |
---|
| 16 | int MPI_Alloc_mem(unsigned long size, MPI_Info info, void *baseptr) |
---|
| 17 | { |
---|
[1053] | 18 | ::MPI_Alloc_mem(size, static_cast< ::MPI_Info>(info.mpi_info), baseptr); |
---|
[1037] | 19 | return 0; |
---|
[1053] | 20 | } |
---|
[1037] | 21 | |
---|
| 22 | |
---|
| 23 | |
---|
| 24 | } |
---|
| 25 | |
---|
| 26 | |
---|
Note: See
TracBrowser
for help on using the repository browser.