From 084281d01e9956af0c8db1d4c23a8802239376f1 Mon Sep 17 00:00:00 2001 From: Prabhanjan Kambadur Date: Thu, 29 Jan 2004 18:21:55 +0000 Subject: [PATCH] adding functions: u and w This commit was SVN r582. --- src/mpi/interface/c/unpack.c | 18 ++++++++++++++++++ src/mpi/interface/c/unpack_external.c | 18 ++++++++++++++++++ src/mpi/interface/c/unpublish_name.c | 17 +++++++++++++++++ src/mpi/interface/c/wait.c | 16 ++++++++++++++++ src/mpi/interface/c/waitall.c | 17 +++++++++++++++++ src/mpi/interface/c/waitany.c | 17 +++++++++++++++++ src/mpi/interface/c/waitsome.c | 18 ++++++++++++++++++ src/mpi/interface/c/win_c2f.c | 16 ++++++++++++++++ src/mpi/interface/c/win_call_errhandler.c | 16 ++++++++++++++++ src/mpi/interface/c/win_complete.c | 16 ++++++++++++++++ src/mpi/interface/c/win_create.c | 17 +++++++++++++++++ src/mpi/interface/c/win_create_errhandler.c | 17 +++++++++++++++++ src/mpi/interface/c/win_create_keyval.c | 18 ++++++++++++++++++ src/mpi/interface/c/win_delete_attr.c | 16 ++++++++++++++++ src/mpi/interface/c/win_f2c.c | 16 ++++++++++++++++ src/mpi/interface/c/win_fence.c | 16 ++++++++++++++++ src/mpi/interface/c/win_free.c | 16 ++++++++++++++++ src/mpi/interface/c/win_free_keyval.c | 16 ++++++++++++++++ src/mpi/interface/c/win_get_attr.c | 17 +++++++++++++++++ src/mpi/interface/c/win_get_errhandler.c | 16 ++++++++++++++++ src/mpi/interface/c/win_get_group.c | 16 ++++++++++++++++ src/mpi/interface/c/win_get_name.c | 16 ++++++++++++++++ src/mpi/interface/c/win_lock.c | 16 ++++++++++++++++ src/mpi/interface/c/win_post.c | 16 ++++++++++++++++ src/mpi/interface/c/win_set_attr.c | 16 ++++++++++++++++ src/mpi/interface/c/win_set_errhandler.c | 16 ++++++++++++++++ src/mpi/interface/c/win_set_name.c | 16 ++++++++++++++++ src/mpi/interface/c/win_start.c | 16 ++++++++++++++++ src/mpi/interface/c/win_test.c | 16 ++++++++++++++++ src/mpi/interface/c/win_unlock.c | 16 ++++++++++++++++ src/mpi/interface/c/win_wait.c | 16 ++++++++++++++++ src/mpi/interface/c/wtick.c | 16 ++++++++++++++++ src/mpi/interface/c/wtime.c | 16 ++++++++++++++++ 33 files changed, 542 insertions(+) create mode 100644 src/mpi/interface/c/unpack.c create mode 100644 src/mpi/interface/c/unpack_external.c create mode 100644 src/mpi/interface/c/unpublish_name.c create mode 100644 src/mpi/interface/c/wait.c create mode 100644 src/mpi/interface/c/waitall.c create mode 100644 src/mpi/interface/c/waitany.c create mode 100644 src/mpi/interface/c/waitsome.c create mode 100644 src/mpi/interface/c/win_c2f.c create mode 100644 src/mpi/interface/c/win_call_errhandler.c create mode 100644 src/mpi/interface/c/win_complete.c create mode 100644 src/mpi/interface/c/win_create.c create mode 100644 src/mpi/interface/c/win_create_errhandler.c create mode 100644 src/mpi/interface/c/win_create_keyval.c create mode 100644 src/mpi/interface/c/win_delete_attr.c create mode 100644 src/mpi/interface/c/win_f2c.c create mode 100644 src/mpi/interface/c/win_fence.c create mode 100644 src/mpi/interface/c/win_free.c create mode 100644 src/mpi/interface/c/win_free_keyval.c create mode 100644 src/mpi/interface/c/win_get_attr.c create mode 100644 src/mpi/interface/c/win_get_errhandler.c create mode 100644 src/mpi/interface/c/win_get_group.c create mode 100644 src/mpi/interface/c/win_get_name.c create mode 100644 src/mpi/interface/c/win_lock.c create mode 100644 src/mpi/interface/c/win_post.c create mode 100644 src/mpi/interface/c/win_set_attr.c create mode 100644 src/mpi/interface/c/win_set_errhandler.c create mode 100644 src/mpi/interface/c/win_set_name.c create mode 100644 src/mpi/interface/c/win_start.c create mode 100644 src/mpi/interface/c/win_test.c create mode 100644 src/mpi/interface/c/win_unlock.c create mode 100644 src/mpi/interface/c/win_wait.c create mode 100644 src/mpi/interface/c/wtick.c create mode 100644 src/mpi/interface/c/wtime.c diff --git a/src/mpi/interface/c/unpack.c b/src/mpi/interface/c/unpack.c new file mode 100644 index 0000000000..ae1466ee22 --- /dev/null +++ b/src/mpi/interface/c/unpack.c @@ -0,0 +1,18 @@ +/* + * $HEADERS$ + */ +#include "lam_config.h" +#include + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_Unpack = PMPI_Unpack +#endif + +int MPI_Unpack(void *inbuf, int insize, int *position, + void *outbuf, int outcount, MPI_Datatype datatype, + MPI_Comm comm) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/unpack_external.c b/src/mpi/interface/c/unpack_external.c new file mode 100644 index 0000000000..c30a05a91d --- /dev/null +++ b/src/mpi/interface/c/unpack_external.c @@ -0,0 +1,18 @@ +/* + * $HEADERS$ + */ +#include "lam_config.h" +#include + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_Unpack_external = PMPI_Unpack_external +#endif + +int MPI_Unpack_external (char *datarep, void *inbuf, MPI_Aint insize, + MPI_Aint *position, void *outbuf, int outcount, + MPI_Datatype datatype) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/unpublish_name.c b/src/mpi/interface/c/unpublish_name.c new file mode 100644 index 0000000000..3a3a1664ca --- /dev/null +++ b/src/mpi/interface/c/unpublish_name.c @@ -0,0 +1,17 @@ +/* + * $HEADERS$ + */ +#include "lam_config.h" +#include + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_Unpublish_name = PMPI_Unpublish_name +#endif + +int MPI_Unpublish_name(char *service_name, MPI_Info info, + char *port_name) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/wait.c b/src/mpi/interface/c/wait.c new file mode 100644 index 0000000000..e272228d01 --- /dev/null +++ b/src/mpi/interface/c/wait.c @@ -0,0 +1,16 @@ +/* + * $HEADERS$ + */ +#include "lam_config.h" +#include + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_Wait = PMPI_Wait +#endif + +int MPI_Wait(MPI_Request *request, MPI_Status *status) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/waitall.c b/src/mpi/interface/c/waitall.c new file mode 100644 index 0000000000..b841556c68 --- /dev/null +++ b/src/mpi/interface/c/waitall.c @@ -0,0 +1,17 @@ +/* + * $HEADERS$ + */ +#include "lam_config.h" +#include + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_Waitall = PMPI_Waitall +#endif + +int MPI_Waitall(int count, MPI_Request *array_of_requests, + MPI_Status *array_of_statuses) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/waitany.c b/src/mpi/interface/c/waitany.c new file mode 100644 index 0000000000..372348dab2 --- /dev/null +++ b/src/mpi/interface/c/waitany.c @@ -0,0 +1,17 @@ +/* + * $HEADERS$ + */ +#include "lam_config.h" +#include + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_Waitany = PMPI_Waitany +#endif + +int MPI_Waitany(int count, MPI_Request *array_of_requests, + int *index, MPI_Status *status) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/waitsome.c b/src/mpi/interface/c/waitsome.c new file mode 100644 index 0000000000..3e191bde20 --- /dev/null +++ b/src/mpi/interface/c/waitsome.c @@ -0,0 +1,18 @@ +/* + * $HEADERS$ + */ +#include "lam_config.h" +#include + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_Waitsome = PMPI_Waitsome +#endif + +int MPI_Waitsome(int incount, MPI_Request *array_of_requests, + int *outcount, int *array_of_indices, + MPI_Status *array_of_statuses) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/win_c2f.c b/src/mpi/interface/c/win_c2f.c new file mode 100644 index 0000000000..5178a46736 --- /dev/null +++ b/src/mpi/interface/c/win_c2f.c @@ -0,0 +1,16 @@ +/* + * $HEADERS$ + */ +#include "lam_config.h" +#include + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_Win_c2f = PMPI_Win_c2f +#endif + +MPI_Fint MPI_Win_c2f(MPI_Win win) { + return (MPI_Fint)0; +} diff --git a/src/mpi/interface/c/win_call_errhandler.c b/src/mpi/interface/c/win_call_errhandler.c new file mode 100644 index 0000000000..f26d742b2a --- /dev/null +++ b/src/mpi/interface/c/win_call_errhandler.c @@ -0,0 +1,16 @@ +/* + * $HEADERS$ + */ +#include "lam_config.h" +#include + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_Win_call_errhandler = PMPI_Win_call_errhandler +#endif + +int MPI_Win_call_errhandler(MPI_Win win, int errorcode) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/win_complete.c b/src/mpi/interface/c/win_complete.c new file mode 100644 index 0000000000..ac3f219186 --- /dev/null +++ b/src/mpi/interface/c/win_complete.c @@ -0,0 +1,16 @@ +/* + * $HEADERS$ + */ +#include "lam_config.h" +#include + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_Win_complete = PMPI_Win_complete +#endif + +int MPI_Win_complete(MPI_Win win) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/win_create.c b/src/mpi/interface/c/win_create.c new file mode 100644 index 0000000000..467ac3c04a --- /dev/null +++ b/src/mpi/interface/c/win_create.c @@ -0,0 +1,17 @@ +/* + * $HEADERS$ + */ +#include "lam_config.h" +#include + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_Win_create = PMPI_Win_create +#endif + +int MPI_Win_create(void *base, MPI_Aint size, int disp_unit, + MPI_Info info, MPI_Comm comm, MPI_Win *win) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/win_create_errhandler.c b/src/mpi/interface/c/win_create_errhandler.c new file mode 100644 index 0000000000..ee2d207235 --- /dev/null +++ b/src/mpi/interface/c/win_create_errhandler.c @@ -0,0 +1,17 @@ +/* + * $HEADERS$ + */ +#include "lam_config.h" +#include + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_Win_create_errhandler = PMPI_Win_create_errhandler +#endif + +int MPI_Win_create_errhandler(MPI_Win_errhandler_fn *function, + MPI_Errhandler *errhandler) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/win_create_keyval.c b/src/mpi/interface/c/win_create_keyval.c new file mode 100644 index 0000000000..f88e2e2d90 --- /dev/null +++ b/src/mpi/interface/c/win_create_keyval.c @@ -0,0 +1,18 @@ +/* + * $HEADERS$ + */ +#include "lam_config.h" +#include + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_Win_create_keyval = PMPI_Win_create_keyval +#endif + +int MPI_Win_create_keyval(MPI_Win_copy_attr_function *win_copy_attr_fn, + MPI_Win_delete_attr_function *win_delete_attr_fn, + int *win_keyval, void *extra_state) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/win_delete_attr.c b/src/mpi/interface/c/win_delete_attr.c new file mode 100644 index 0000000000..0ab3bdb8cf --- /dev/null +++ b/src/mpi/interface/c/win_delete_attr.c @@ -0,0 +1,16 @@ +/* + * $HEADERS$ + */ +#include "lam_config.h" +#include + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_Win_delete_attr = PMPI_Win_delete_attr +#endif + +int MPI_Win_delete_attr(MPI_Win win, int win_keyval) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/win_f2c.c b/src/mpi/interface/c/win_f2c.c new file mode 100644 index 0000000000..37ea1aa737 --- /dev/null +++ b/src/mpi/interface/c/win_f2c.c @@ -0,0 +1,16 @@ +/* + * $HEADERS$ + */ +#include "lam_config.h" +#include + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_Win_f2c = PMPI_Win_f2c +#endif + +MPI_Win MPI_Win_f2c(MPI_Fint win) { + return (MPI_Win)0; +} diff --git a/src/mpi/interface/c/win_fence.c b/src/mpi/interface/c/win_fence.c new file mode 100644 index 0000000000..36c8b64adc --- /dev/null +++ b/src/mpi/interface/c/win_fence.c @@ -0,0 +1,16 @@ +/* + * $HEADERS$ + */ +#include "lam_config.h" +#include + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_Win_fence = PMPI_Win_fence +#endif + +int MPI_Win_fence(int assert, MPI_Win win) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/win_free.c b/src/mpi/interface/c/win_free.c new file mode 100644 index 0000000000..7a5dba3e43 --- /dev/null +++ b/src/mpi/interface/c/win_free.c @@ -0,0 +1,16 @@ +/* + * $HEADERS$ + */ +#include "lam_config.h" +#include + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_Win_free = PMPI_Win_free +#endif + +int MPI_Win_free(MPI_Win *win) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/win_free_keyval.c b/src/mpi/interface/c/win_free_keyval.c new file mode 100644 index 0000000000..282e46b897 --- /dev/null +++ b/src/mpi/interface/c/win_free_keyval.c @@ -0,0 +1,16 @@ +/* + * $HEADERS$ + */ +#include "lam_config.h" +#include + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_free_keyval = PMPI_free_keyval +#endif + +int MPI_Win_free_keyval(int *win_keyval) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/win_get_attr.c b/src/mpi/interface/c/win_get_attr.c new file mode 100644 index 0000000000..b7ccd3f6ab --- /dev/null +++ b/src/mpi/interface/c/win_get_attr.c @@ -0,0 +1,17 @@ +/* + * $HEADERS$ + */ +#include "lam_config.h" +#include + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_Win_get_attr = PMPI_Win_get_attr +#endif + +int MPI_Win_get_attr(MPI_Win win, int win_keyval, + void *attribute_val, int *flag) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/win_get_errhandler.c b/src/mpi/interface/c/win_get_errhandler.c new file mode 100644 index 0000000000..9f45b62b78 --- /dev/null +++ b/src/mpi/interface/c/win_get_errhandler.c @@ -0,0 +1,16 @@ +/* + * $HEADERS$ + */ +#include "lam_config.h" +#include + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_Win_get_errhandler = PMPI_Win_get_errhandler +#endif + +int MPI_Win_get_errhandler(MPI_Win win, MPI_Errhandler *errhandler) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/win_get_group.c b/src/mpi/interface/c/win_get_group.c new file mode 100644 index 0000000000..7243e3cbfc --- /dev/null +++ b/src/mpi/interface/c/win_get_group.c @@ -0,0 +1,16 @@ +/* + * $HEADERS$ + */ +#include "lam_config.h" +#include + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_Win_get_group = PMPI_Win_get_group +#endif + +int MPI_Win_get_group(MPI_Win win, MPI_Group *group) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/win_get_name.c b/src/mpi/interface/c/win_get_name.c new file mode 100644 index 0000000000..0b48859604 --- /dev/null +++ b/src/mpi/interface/c/win_get_name.c @@ -0,0 +1,16 @@ +/* + * $HEADERS$ + */ +#include "lam_config.h" +#include + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_Win_get_name = PMPI_win_get_name +#endif + +int MPI_Win_get_name(MPI_Win win, char *win_name, int *resultlen) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/win_lock.c b/src/mpi/interface/c/win_lock.c new file mode 100644 index 0000000000..451b51eb4a --- /dev/null +++ b/src/mpi/interface/c/win_lock.c @@ -0,0 +1,16 @@ +/* + * $HEADERS$ + */ +#include "lam_config.h" +#include + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_Win_lock = PMPI_Win_lock +#endif + +int MPI_Win_lock(int lock_type, int rank, int assert, MPI_Win win) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/win_post.c b/src/mpi/interface/c/win_post.c new file mode 100644 index 0000000000..a8287279e2 --- /dev/null +++ b/src/mpi/interface/c/win_post.c @@ -0,0 +1,16 @@ +/* + * $HEADERS$ + */ +#include "lam_config.h" +#include + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_Win_post = PMPI_Win_post +#endif + +int MPI_Win_post(MPI_Group group, int assert, MPI_Win win) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/win_set_attr.c b/src/mpi/interface/c/win_set_attr.c new file mode 100644 index 0000000000..68fd86c218 --- /dev/null +++ b/src/mpi/interface/c/win_set_attr.c @@ -0,0 +1,16 @@ +/* + * $HEADERS$ + */ +#include "lam_config.h" +#include + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_Win_set_attr = PMPI_Win_set_attr +#endif + +int MPI_Win_set_attr(MPI_Win win, int win_keyval, void *attribute_val) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/win_set_errhandler.c b/src/mpi/interface/c/win_set_errhandler.c new file mode 100644 index 0000000000..aa85cf2d89 --- /dev/null +++ b/src/mpi/interface/c/win_set_errhandler.c @@ -0,0 +1,16 @@ +/* + * $HEADERS$ + */ +#include "lam_config.h" +#include + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_Win_set_errhandler = PMPI_Win_set_errhandler +#endif + +int MPI_Win_set_errhandler(MPI_Win win, MPI_Errhandler errhandler) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/win_set_name.c b/src/mpi/interface/c/win_set_name.c new file mode 100644 index 0000000000..f5f41a29e5 --- /dev/null +++ b/src/mpi/interface/c/win_set_name.c @@ -0,0 +1,16 @@ +/* + * $HEADERS$ + */ +#include "lam_config.h" +#include + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_Win_set_name = PMPI_Win_set_name +#endif + +int MPI_Win_set_name(MPI_Win win, char *win_name) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/win_start.c b/src/mpi/interface/c/win_start.c new file mode 100644 index 0000000000..8deb71a252 --- /dev/null +++ b/src/mpi/interface/c/win_start.c @@ -0,0 +1,16 @@ +/* + * $HEADERS$ + */ +#include "lam_config.h" +#include + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_Win_start = PMPI_Win_start +#endif + +int MPI_Win_start(MPI_Group group, int assert, MPI_Win win) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/win_test.c b/src/mpi/interface/c/win_test.c new file mode 100644 index 0000000000..636f84a3fa --- /dev/null +++ b/src/mpi/interface/c/win_test.c @@ -0,0 +1,16 @@ +/* + * $HEADERS$ + */ +#include "lam_config.h" +#include + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_Win_test = PMPI_Win_test +#endif + +int MPI_Win_test(MPI_Win win, int *flag) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/win_unlock.c b/src/mpi/interface/c/win_unlock.c new file mode 100644 index 0000000000..8b5e240f24 --- /dev/null +++ b/src/mpi/interface/c/win_unlock.c @@ -0,0 +1,16 @@ +/* + * $HEADERS$ + */ +#include "lam_config.h" +#include + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_Win_unlock = PMPI_Win_unlock +#endif + +int MPI_Win_unlock(int rank, MPI_Win win) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/win_wait.c b/src/mpi/interface/c/win_wait.c new file mode 100644 index 0000000000..721691a304 --- /dev/null +++ b/src/mpi/interface/c/win_wait.c @@ -0,0 +1,16 @@ +/* + * $HEADERS$ + */ +#include "lam_config.h" +#include + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_Win_wait = PMPI_Win_wait +#endif + +int MPI_Win_wait(MPI_Win win) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/wtick.c b/src/mpi/interface/c/wtick.c new file mode 100644 index 0000000000..22a5a75a22 --- /dev/null +++ b/src/mpi/interface/c/wtick.c @@ -0,0 +1,16 @@ +/* + * $HEADERS$ + */ +#include "lam_config.h" +#include + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_Wtick = PMPI_Wtick +#endif + +double MPI_Wtick(void) { + return (double)0; +} diff --git a/src/mpi/interface/c/wtime.c b/src/mpi/interface/c/wtime.c new file mode 100644 index 0000000000..3c55c80b09 --- /dev/null +++ b/src/mpi/interface/c/wtime.c @@ -0,0 +1,16 @@ +/* + * $HEADERS$ + */ +#include "lam_config.h" +#include + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_Wtime = PMPI_Wtime +#endif + +double MPI_Wtime(void) { + return (double)0; +}