Wrap all RTS functions exposed to AMPI programs in special macros
[charm.git] / src / libs / ck-libs / ampi / ampi_noimpl.C
blob401ad06d951a30b283e8bc45f5413e339f12ec25
1 #include "ampiimpl.h"
3 /*
4 This file contains function definitions of all MPI functions that are currently
5 unsupported in AMPI. Calling these functions aborts the application.
6 */
8 #define AMPI_NOIMPL_ONLY
9 #define AMPI_FUNC_NOIMPL(return_type, function_name, ...) \
10     AMPI_API_IMPL(return_type, function_name, __VA_ARGS__) \
11     { \
12         AMPI_API(STRINGIFY(function_name)); \
13         CkAbort(STRINGIFY(function_name) " is not implemented in AMPI."); \
14     }
16 #include "ampi_functions.h"
18 #undef AMPI_NOIMPL_ONLY
19 #undef AMPI_FUNC_NOIMPL