From ea173de017c8de5d5d7053e1fa2fd2bc0fe453b3 Mon Sep 17 00:00:00 2001 From: Prabhanjan Kambadur Date: Sat, 24 Jan 2004 23:17:43 +0000 Subject: [PATCH] adding new MPI Functions This commit was SVN r532. --- src/mpi/interface/c/Makefile.am | 298 +++++++++++------- src/mpi/interface/c/dims_create.c | 16 + src/mpi/interface/c/errhandler_c2f.c | 16 + src/mpi/interface/c/errhandler_create.c | 17 + src/mpi/interface/c/errhandler_f2c.c | 16 + src/mpi/interface/c/errhandler_free.c | 16 + src/mpi/interface/c/errhandler_get.c | 16 + src/mpi/interface/c/errhandler_set.c | 16 + src/mpi/interface/c/error_class.c | 16 + src/mpi/interface/c/error_string.c | 16 + src/mpi/interface/c/exscan.c | 17 + src/mpi/interface/c/file_c2f.c | 16 + src/mpi/interface/c/file_call_errhandler.c | 16 + src/mpi/interface/c/file_close.c | 16 + src/mpi/interface/c/file_create_errhandler.c | 17 + src/mpi/interface/c/file_delete.c | 16 + src/mpi/interface/c/file_f2c.c | 16 + src/mpi/interface/c/file_get_amode.c | 16 + src/mpi/interface/c/file_get_atomicity.c | 16 + src/mpi/interface/c/file_get_byte_offset.c | 17 + src/mpi/interface/c/file_get_errhandler.c | 16 + src/mpi/interface/c/file_get_group.c | 16 + src/mpi/interface/c/file_get_info.c | 16 + src/mpi/interface/c/file_get_position.c | 16 + .../interface/c/file_get_position_shared.c | 16 + src/mpi/interface/c/file_get_size.c | 16 + src/mpi/interface/c/file_get_type_extent.c | 17 + src/mpi/interface/c/file_get_view.c | 18 ++ src/mpi/interface/c/file_iread.c | 17 + src/mpi/interface/c/file_iread_at.c | 18 ++ src/mpi/interface/c/file_iread_shared.c | 17 + src/mpi/interface/c/file_iwrite.c | 17 + src/mpi/interface/c/file_iwrite_at.c | 17 + src/mpi/interface/c/file_iwrite_shared.c | 17 + src/mpi/interface/c/file_open.c | 17 + src/mpi/interface/c/file_preallocate.c | 16 + src/mpi/interface/c/file_read.c | 17 + src/mpi/interface/c/file_read_all.c | 17 + src/mpi/interface/c/file_read_all_begin.c | 17 + src/mpi/interface/c/file_read_all_end.c | 16 + src/mpi/interface/c/file_read_at.c | 18 ++ src/mpi/interface/c/file_read_at_all.c | 18 ++ src/mpi/interface/c/file_read_at_all_begin.c | 17 + src/mpi/interface/c/file_read_at_all_end.c | 16 + src/mpi/interface/c/file_read_ordered.c | 17 + src/mpi/interface/c/file_read_ordered_begin.c | 17 + src/mpi/interface/c/file_read_ordered_end.c | 16 + src/mpi/interface/c/file_read_shared.c | 17 + src/mpi/interface/c/file_seek.c | 16 + src/mpi/interface/c/file_seek_shared.c | 16 + src/mpi/interface/c/file_set_atomicity.c | 16 + src/mpi/interface/c/file_set_errhandler.c | 16 + src/mpi/interface/c/file_set_info.c | 16 + src/mpi/interface/c/file_set_size.c | 16 + src/mpi/interface/c/file_set_view.c | 17 + src/mpi/interface/c/file_sync.c | 16 + src/mpi/interface/c/file_write.c | 17 + src/mpi/interface/c/file_write_all.c | 17 + src/mpi/interface/c/file_write_all_begin.c | 17 + src/mpi/interface/c/file_write_all_end.c | 16 + src/mpi/interface/c/file_write_at.c | 18 ++ src/mpi/interface/c/file_write_at_all.c | 18 ++ src/mpi/interface/c/file_write_at_all_begin.c | 17 + src/mpi/interface/c/file_write_at_all_end.c | 16 + src/mpi/interface/c/file_write_ordered.c | 17 + .../interface/c/file_write_ordered_begin.c | 17 + src/mpi/interface/c/file_write_ordered_end.c | 16 + src/mpi/interface/c/file_write_shared.c | 17 + src/mpi/interface/c/finalized.c | 16 + src/mpi/interface/c/profile/Makefile.am | 286 ++++++++++------- src/mpi/interface/c/profile/defines.h | 76 ++++- 71 files changed, 1559 insertions(+), 227 deletions(-) create mode 100644 src/mpi/interface/c/dims_create.c create mode 100644 src/mpi/interface/c/errhandler_c2f.c create mode 100644 src/mpi/interface/c/errhandler_create.c create mode 100644 src/mpi/interface/c/errhandler_f2c.c create mode 100644 src/mpi/interface/c/errhandler_free.c create mode 100644 src/mpi/interface/c/errhandler_get.c create mode 100644 src/mpi/interface/c/errhandler_set.c create mode 100644 src/mpi/interface/c/error_class.c create mode 100644 src/mpi/interface/c/error_string.c create mode 100644 src/mpi/interface/c/exscan.c create mode 100644 src/mpi/interface/c/file_c2f.c create mode 100644 src/mpi/interface/c/file_call_errhandler.c create mode 100644 src/mpi/interface/c/file_close.c create mode 100644 src/mpi/interface/c/file_create_errhandler.c create mode 100644 src/mpi/interface/c/file_delete.c create mode 100644 src/mpi/interface/c/file_f2c.c create mode 100644 src/mpi/interface/c/file_get_amode.c create mode 100644 src/mpi/interface/c/file_get_atomicity.c create mode 100644 src/mpi/interface/c/file_get_byte_offset.c create mode 100644 src/mpi/interface/c/file_get_errhandler.c create mode 100644 src/mpi/interface/c/file_get_group.c create mode 100644 src/mpi/interface/c/file_get_info.c create mode 100644 src/mpi/interface/c/file_get_position.c create mode 100644 src/mpi/interface/c/file_get_position_shared.c create mode 100644 src/mpi/interface/c/file_get_size.c create mode 100644 src/mpi/interface/c/file_get_type_extent.c create mode 100644 src/mpi/interface/c/file_get_view.c create mode 100644 src/mpi/interface/c/file_iread.c create mode 100644 src/mpi/interface/c/file_iread_at.c create mode 100644 src/mpi/interface/c/file_iread_shared.c create mode 100644 src/mpi/interface/c/file_iwrite.c create mode 100644 src/mpi/interface/c/file_iwrite_at.c create mode 100644 src/mpi/interface/c/file_iwrite_shared.c create mode 100644 src/mpi/interface/c/file_open.c create mode 100644 src/mpi/interface/c/file_preallocate.c create mode 100644 src/mpi/interface/c/file_read.c create mode 100644 src/mpi/interface/c/file_read_all.c create mode 100644 src/mpi/interface/c/file_read_all_begin.c create mode 100644 src/mpi/interface/c/file_read_all_end.c create mode 100644 src/mpi/interface/c/file_read_at.c create mode 100644 src/mpi/interface/c/file_read_at_all.c create mode 100644 src/mpi/interface/c/file_read_at_all_begin.c create mode 100644 src/mpi/interface/c/file_read_at_all_end.c create mode 100644 src/mpi/interface/c/file_read_ordered.c create mode 100644 src/mpi/interface/c/file_read_ordered_begin.c create mode 100644 src/mpi/interface/c/file_read_ordered_end.c create mode 100644 src/mpi/interface/c/file_read_shared.c create mode 100644 src/mpi/interface/c/file_seek.c create mode 100644 src/mpi/interface/c/file_seek_shared.c create mode 100644 src/mpi/interface/c/file_set_atomicity.c create mode 100644 src/mpi/interface/c/file_set_errhandler.c create mode 100644 src/mpi/interface/c/file_set_info.c create mode 100644 src/mpi/interface/c/file_set_size.c create mode 100644 src/mpi/interface/c/file_set_view.c create mode 100644 src/mpi/interface/c/file_sync.c create mode 100644 src/mpi/interface/c/file_write.c create mode 100644 src/mpi/interface/c/file_write_all.c create mode 100644 src/mpi/interface/c/file_write_all_begin.c create mode 100644 src/mpi/interface/c/file_write_all_end.c create mode 100644 src/mpi/interface/c/file_write_at.c create mode 100644 src/mpi/interface/c/file_write_at_all.c create mode 100644 src/mpi/interface/c/file_write_at_all_begin.c create mode 100644 src/mpi/interface/c/file_write_at_all_end.c create mode 100644 src/mpi/interface/c/file_write_ordered.c create mode 100644 src/mpi/interface/c/file_write_ordered_begin.c create mode 100644 src/mpi/interface/c/file_write_ordered_end.c create mode 100644 src/mpi/interface/c/file_write_shared.c create mode 100644 src/mpi/interface/c/finalized.c diff --git a/src/mpi/interface/c/Makefile.am b/src/mpi/interface/c/Makefile.am index 70d41765bb..bcb4667186 100644 --- a/src/mpi/interface/c/Makefile.am +++ b/src/mpi/interface/c/Makefile.am @@ -11,7 +11,7 @@ include $(top_srcdir)/config/Makefile.options # replaces all MPI_* symbols with PMPI_* symbols. In this directory, # we need it to be 0 # -AM_CPPFLAGS = -DLAM_PROFILING_DEFINES=0 +AM_CPPFLAGS = -DLAM_PROFILING_DEFINES=0 # # The top directory always builds MPI_* bindings. The bottom directory @@ -33,9 +33,9 @@ noinst_LTLIBRARIES = libmpi_c.la $(mpi_lib) # directory needs to be built whenever profiling is enabled # if WANT_PMPI_BINDINGS_LAYER - pmpi_lib = profile/libmpi_c_pmpi.la + pmpi_lib = profile/libmpi_c_pmpi.la else - pmpi_lib = + pmpi_lib = endif # # @@ -49,120 +49,190 @@ headers = bindings.h # by default # -libmpi_c_la_SOURCES = +libmpi_c_la_SOURCES = -libmpi_c_la_LIBADD = \ - $(mpi_lib) \ - $(pmpi_lib) +libmpi_c_la_LIBADD = \ + $(mpi_lib) \ + $(pmpi_lib) libmpi_c_mpi_la_SOURCES = \ - abort.c \ - accumulate.c \ - add_error_class.c \ - add_error_code.c \ - add_error_string.c \ - address.c \ - allgather.c \ - allgatherv.c \ - alloc_mem.c \ - allreduce.c \ - alltoall.c \ - alltoallv.c \ - alltoallw.c \ - attr_delete.c \ - attr_get.c \ - attr_put.c \ - barrier.c \ - bcast.c \ - bsend_init.c \ - send.c \ - buffer_attach.c \ - buffer_detach.c \ - cancel.c \ - cart_coords.c \ - art_create.c \ - cart_get.c \ - cart_map.c \ - cart_rank.c \ - cart_shift.c \ - cart_sub.c \ - cartdim_get.c \ - close_port.c \ - comm_accept.c \ - comm_c2f.c \ - comm_call_errhandler.c \ - comm_compare.c \ - comm_connect.c \ - comm_create_errhandler.c \ - comm_create_keyval.c \ - comm_create.c \ - comm_delete_attr.c \ - comm_disconnect.c \ - comm_dup.c \ - comm_f2c.c \ - comm_free_keyval.c \ - comm_free.c \ - comm_get_attr.c \ - comm_get_errhandler.c \ - comm_get_name.c \ - comm_get_parent.c \ - comm_group.c \ - comm_join.c \ - comm_rank.c \ - comm_remote_group.c \ - comm_remote_size.c \ - comm_set_attribute.c \ - comm_set_errhandler.c \ - comm_set_name.c \ - comm_size.c \ - comm_spawn.c \ - comm_spawn_multiple.c \ - comm_split.c \ - comm_test_inter.c \ - finalize.c \ - free_mem.c \ - init.c \ - test_cancelled.c \ - test.c \ - testall.c \ - testany.c \ - testsome.c \ - topo_test.c \ - type_commit.c \ - type_contiguous.c \ - type_create_darray.c \ - type_create_f90_complex.c \ - type_create_f90_integer.c \ - type_create_f90_real.c \ - type_create_hindexed.c \ - type_create_hvector.c \ - type_create_indexed_block.c \ - type_create_keyval.c \ - type_create_resized.c \ - type_create_struct.c \ - type_create_subarray.c \ - type_delete_attr.c \ - type_dup.c \ - type_extent.c \ - type_free.c \ - type_free_keyval.c \ - type_get_attr.c \ - type_get_contents.c \ - type_get_envelope.c \ - type_get_extent.c \ - type_get_name.c \ - type_get_true_extent.c \ - type_hindexed.c \ - type_hvector.c \ - type_indexed.c \ - type_lb.c \ - type_match_size.c \ - type_set_attr.c \ - type_set_name.c \ - type_size.c \ - type_struct.c \ - type_ub.c \ - type_vector.c + abort.c \ + accumulate.c \ + add_error_class.c \ + add_error_code.c \ + add_error_string.c \ + address.c \ + allgather.c \ + allgatherv.c \ + alloc_mem.c \ + allreduce.c \ + alltoall.c \ + alltoallv.c \ + alltoallw.c \ + attr_delete.c \ + attr_get.c \ + attr_put.c \ + barrier.c \ + bcast.c \ + bsend.c \ + bsend_init.c \ + buffer_attach.c \ + buffer_detach.c \ + cancel.c \ + cart_coords.c \ + cart_create.c \ + cartdim_get.c \ + cart_get.c \ + cart_map.c \ + cart_rank.c \ + cart_shift.c \ + cart_sub.c \ + close_port.c \ + comm_accept.c \ + comm_c2f.c \ + comm_call_errhandler.c \ + comm_compare.c \ + comm_connect.c \ + comm_create.c \ + comm_create_errhandler.c \ + comm_create_keyval.c \ + comm_delete_attr.c \ + comm_disconnect.c \ + comm_dup.c \ + comm_f2c.c \ + comm_free.c \ + comm_free_keyval.c \ + comm_get_attr.c \ + comm_get_errhandler.c \ + comm_get_name.c \ + comm_get_parent.c \ + comm_group.c \ + comm_join.c \ + comm_rank.c \ + comm_remote_group.c \ + comm_remote_size.c \ + comm_set_attribute.c \ + comm_set_errhandler.c \ + comm_set_name.c \ + comm_size.c \ + comm_spawn.c \ + comm_spawn_multiple.c \ + comm_split.c \ + comm_test_inter.c \ + dims_create.c \ + errhandler_c2f.c \ + errhandler_create.c \ + errhandler_f2c.c \ + errhandler_free.c \ + errhandler_get.c \ + errhandler_set.c \ + error_class.c \ + error_string.c \ + exscan.c \ + file_c2f.c \ + file_call_errhandler.c \ + file_close.c \ + file_create_errhandler.c \ + file_delete.c \ + file_f2c.c \ + file_get_amode.c \ + file_get_atomicity.c \ + file_get_byte_offset.c \ + file_get_errhandler.c \ + file_get_group.c \ + file_get_info.c \ + file_get_position.c \ + file_get_position_shared.c \ + file_get_size.c \ + file_get_type_extent.c \ + file_get_view.c \ + file_iread_at.c \ + file_iread.c \ + file_iread_shared.c \ + file_iwrite_at.c \ + file_iwrite.c \ + file_iwrite_shared.c \ + file_open.c \ + file_preallocate.c \ + file_read_all_begin.c \ + file_read_all.c \ + file_read_all_end.c \ + file_read_at_all_begin.c \ + file_read_at_all.c \ + file_read_at_all_end.c \ + file_read_at.c \ + file_read.c \ + file_read_ordered_begin.c \ + file_read_ordered.c \ + file_read_ordered_end.c \ + file_read_shared.c \ + file_seek.c \ + file_seek_shared.c \ + file_set_atomicity.c \ + file_set_errhandler.c \ + file_set_info.c \ + file_set_size.c \ + file_set_view.c \ + file_sync.c \ + file_write_all_begin.c \ + file_write_all.c \ + file_write_all_end.c \ + file_write_at_all_begin.c \ + file_write_at_all.c \ + file_write_at_all_end.c \ + file_write_at.c \ + file_write.c \ + file_write_ordered_begin.c \ + file_write_ordered.c \ + file_write_ordered_end.c \ + file_write_shared.c \ + finalize.c \ + finalized.c \ + free_mem.c \ + init.c \ + testall.c \ + testany.c \ + test.c \ + test_cancelled.c \ + testsome.c \ + topo_test.c \ + type_c2f.c \ + type_commit.c \ + type_contiguous.c \ + type_create_darray.c \ + type_create_f90_complex.c \ + type_create_f90_integer.c \ + type_create_f90_real.c \ + type_create_hindexed.c \ + type_create_hvector.c \ + type_create_indexed_block.c \ + type_create_keyval.c \ + type_create_resized.c \ + type_create_struct.c \ + type_create_subarray.c \ + type_delete_attr.c \ + type_dup.c \ + type_extent.c \ + type_f2c.c \ + type_free.c \ + type_free_keyval.c \ + type_get_attr.c \ + type_get_contents.c \ + type_get_envelope.c \ + type_get_extent.c \ + type_get_name.c \ + type_get_true_extent.c \ + type_hindexed.c \ + type_hvector.c \ + type_indexed.c \ + type_lb.c \ + type_match_size.c \ + type_set_attr.c \ + type_set_name.c \ + type_size.c \ + type_struct.c \ + type_ub.c \ + type_vector.c EXTRA_DIST = $(libmpi_c_mpi_la_SOURCES) diff --git a/src/mpi/interface/c/dims_create.c b/src/mpi/interface/c/dims_create.c new file mode 100644 index 0000000000..aaaab3c8c2 --- /dev/null +++ b/src/mpi/interface/c/dims_create.c @@ -0,0 +1,16 @@ +/* + * $HEADER$ + */ + +#include "lam_config.h" + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_Dims_create = PMPI_Dims_create +#endif + +int MPI_Dims_create(int nnodes, int ndims, int *dims) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/errhandler_c2f.c b/src/mpi/interface/c/errhandler_c2f.c new file mode 100644 index 0000000000..7e931b2e02 --- /dev/null +++ b/src/mpi/interface/c/errhandler_c2f.c @@ -0,0 +1,16 @@ +/* + * $HEADER$ + */ + +#include "lam_config.h" + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_Errhandler_c2f = PMPI_Errhandler_c2f +#endif + +MPI_Fint MPI_Errhandler_c2f(MPI_Errhandler errhandler) { + return (MPI_Fint)0; +} diff --git a/src/mpi/interface/c/errhandler_create.c b/src/mpi/interface/c/errhandler_create.c new file mode 100644 index 0000000000..b7daa078a2 --- /dev/null +++ b/src/mpi/interface/c/errhandler_create.c @@ -0,0 +1,17 @@ +/* + * $HEADER$ + */ + +#include "lam_config.h" + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_Errhandler_create = PMPI_Errhandler_create +#endif + +int MPI_Errhandler_create(MPI_Handler_function *function, + MPI_Errhandler *errhandler) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/errhandler_f2c.c b/src/mpi/interface/c/errhandler_f2c.c new file mode 100644 index 0000000000..f88825b834 --- /dev/null +++ b/src/mpi/interface/c/errhandler_f2c.c @@ -0,0 +1,16 @@ +/* + * $HEADER$ + */ + +#include "lam_config.h" + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_Errhandler_f2c = PMPI_Errhandler_f2c +#endif + +MPI_Errhandler MPI_Errhandler_f2c(MPI_Fint errhandler) { + return (MPI_Errhandler)0; +} diff --git a/src/mpi/interface/c/errhandler_free.c b/src/mpi/interface/c/errhandler_free.c new file mode 100644 index 0000000000..5759768a97 --- /dev/null +++ b/src/mpi/interface/c/errhandler_free.c @@ -0,0 +1,16 @@ +/* + * $HEADER$ + */ + +#include "lam_config.h" + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_Errhandler_free = PMPI_Errhandler_free +#endif + +int MPI_Errhandler_free(MPI_Errhandler *errhandler) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/errhandler_get.c b/src/mpi/interface/c/errhandler_get.c new file mode 100644 index 0000000000..764db91673 --- /dev/null +++ b/src/mpi/interface/c/errhandler_get.c @@ -0,0 +1,16 @@ +/* + * $HEADER$ + */ + +#include "lam_config.h" + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_Errhandler_get = PMPI_Errhandler_get +#endif + +int MPI_Errhandler_get(MPI_Comm comm, MPI_Errhandler *errhandler) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/errhandler_set.c b/src/mpi/interface/c/errhandler_set.c new file mode 100644 index 0000000000..c0fefc0ba3 --- /dev/null +++ b/src/mpi/interface/c/errhandler_set.c @@ -0,0 +1,16 @@ +/* + * $HEADER$ + */ + +#include "lam_config.h" + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_Errhandler_set = PMPI_Errhandler_set +#endif + +int MPI_Errhandler_set(MPI_Comm comm, MPI_Errhandler errhandler) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/error_class.c b/src/mpi/interface/c/error_class.c new file mode 100644 index 0000000000..ce39e1b6ec --- /dev/null +++ b/src/mpi/interface/c/error_class.c @@ -0,0 +1,16 @@ +/* + * $HEADER$ + */ + +#include "lam_config.h" + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_Error_class = PMPI_Error_class +#endif + +int MPI_Error_class(int errorcode, int *errorclass) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/error_string.c b/src/mpi/interface/c/error_string.c new file mode 100644 index 0000000000..927a0afd04 --- /dev/null +++ b/src/mpi/interface/c/error_string.c @@ -0,0 +1,16 @@ +/* + * $HEADER$ + */ + +#include "lam_config.h" + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_Error_string = PMPI_Error_string +#endif + +int MPI_Error_string(int errorcode, char *string, int *resultlen) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/exscan.c b/src/mpi/interface/c/exscan.c new file mode 100644 index 0000000000..2bc1bcbdf0 --- /dev/null +++ b/src/mpi/interface/c/exscan.c @@ -0,0 +1,17 @@ +/* + * $HEADER$ + */ + +#include "lam_config.h" + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_Exscan = PMPI_Exscan +#endif + +int MPI_Exscan(void *sendbuf, void *recvbuf, int count, + MPI_Datatype datatype, MPI_Op op, MPI_Comm comm) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/file_c2f.c b/src/mpi/interface/c/file_c2f.c new file mode 100644 index 0000000000..247ceda2fc --- /dev/null +++ b/src/mpi/interface/c/file_c2f.c @@ -0,0 +1,16 @@ +/* + * $HEADER$ + */ + +#include "lam_config.h" + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_File_c2f = PMPI_File_c2f +#endif + +MPI_Fint MPI_File_c2f(MPI_File file) { + return (MPI_Fint)0; +} diff --git a/src/mpi/interface/c/file_call_errhandler.c b/src/mpi/interface/c/file_call_errhandler.c new file mode 100644 index 0000000000..8d93962ff4 --- /dev/null +++ b/src/mpi/interface/c/file_call_errhandler.c @@ -0,0 +1,16 @@ +/* + * $HEADER$ + */ + +#include "lam_config.h" + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_File_call_errhandler = PMPI_File_call_errhandler +#endif + +int MPI_File_call_errhandler(MPI_File fh, int errorcode) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/file_close.c b/src/mpi/interface/c/file_close.c new file mode 100644 index 0000000000..7d32637e91 --- /dev/null +++ b/src/mpi/interface/c/file_close.c @@ -0,0 +1,16 @@ +/* + * $HEADER$ + */ + +#include "lam_config.h" + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_File_close = PMPI_File_close +#endif + +int MPI_File_close(MPI_File *fh) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/file_create_errhandler.c b/src/mpi/interface/c/file_create_errhandler.c new file mode 100644 index 0000000000..f54ed480b2 --- /dev/null +++ b/src/mpi/interface/c/file_create_errhandler.c @@ -0,0 +1,17 @@ +/* + * $HEADER$ + */ + +#include "lam_config.h" + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_File_create_errhandler = PMPI_File_create_errhandler +#endif + +int MPI_File_create_errhandler(MPI_File_errhandler_fn *function, + MPI_Errhandler *errhandler) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/file_delete.c b/src/mpi/interface/c/file_delete.c new file mode 100644 index 0000000000..581bbdec63 --- /dev/null +++ b/src/mpi/interface/c/file_delete.c @@ -0,0 +1,16 @@ +/* + * $HEADER$ + */ + +#include "lam_config.h" + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_File_delete = PMPI_File_delete +#endif + +int MPI_File_delete(char *filename, MPI_Info info) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/file_f2c.c b/src/mpi/interface/c/file_f2c.c new file mode 100644 index 0000000000..0e820b0b43 --- /dev/null +++ b/src/mpi/interface/c/file_f2c.c @@ -0,0 +1,16 @@ +/* + * $HEADER$ + */ + +#include "lam_config.h" + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_File_f2c = PMPI_File_f2c +#endif + +MPI_File MPI_File_f2c(MPI_Fint file) { + return (MPI_File)0; +} diff --git a/src/mpi/interface/c/file_get_amode.c b/src/mpi/interface/c/file_get_amode.c new file mode 100644 index 0000000000..0c8ceac87d --- /dev/null +++ b/src/mpi/interface/c/file_get_amode.c @@ -0,0 +1,16 @@ +/* + * $HEADER$ + */ + +#include "lam_config.h" + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_File_get_amode = PMPI_File_get_amode +#endif + +int MPI_File_get_amode(MPI_File fh, int *amode) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/file_get_atomicity.c b/src/mpi/interface/c/file_get_atomicity.c new file mode 100644 index 0000000000..3cfab454ef --- /dev/null +++ b/src/mpi/interface/c/file_get_atomicity.c @@ -0,0 +1,16 @@ +/* + * $HEADER$ + */ + +#include "lam_config.h" + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_File_get_atomicity = PMPI_File_get_atomicity +#endif + +int MPI_File_get_atomicity(MPI_File fh, int *flag) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/file_get_byte_offset.c b/src/mpi/interface/c/file_get_byte_offset.c new file mode 100644 index 0000000000..e7c80d4cfa --- /dev/null +++ b/src/mpi/interface/c/file_get_byte_offset.c @@ -0,0 +1,17 @@ +/* + * $HEADER$ + */ + +#include "lam_config.h" + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_File_get_byte_offset = PMPI_File_get_byte_offset +#endif + +int MPI_File_get_byte_offset(MPI_File fh, MPI_Offset offset, + MPI_Offset *disp) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/file_get_errhandler.c b/src/mpi/interface/c/file_get_errhandler.c new file mode 100644 index 0000000000..f35831c7f3 --- /dev/null +++ b/src/mpi/interface/c/file_get_errhandler.c @@ -0,0 +1,16 @@ +/* + * $HEADER$ + */ + +#include "lam_config.h" + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_File_get_errhandler = PMPI_File_get_errhandler +#endif + +int MPI_File_get_errhandler( MPI_File file, MPI_Errhandler *errhandler) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/file_get_group.c b/src/mpi/interface/c/file_get_group.c new file mode 100644 index 0000000000..3ae6c2dacd --- /dev/null +++ b/src/mpi/interface/c/file_get_group.c @@ -0,0 +1,16 @@ +/* + * $HEADER$ + */ + +#include "lam_config.h" + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_File_get_group = PMPI_File_get_group +#endif + +int MPI_File_get_group(MPI_File fh, MPI_Group *group) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/file_get_info.c b/src/mpi/interface/c/file_get_info.c new file mode 100644 index 0000000000..9094760359 --- /dev/null +++ b/src/mpi/interface/c/file_get_info.c @@ -0,0 +1,16 @@ +/* + * $HEADER$ + */ + +#include "lam_config.h" + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_File_get_info = PMPI_File_get_info +#endif + +int MPI_File_get_info(MPI_File fh, MPI_Info *info_used) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/file_get_position.c b/src/mpi/interface/c/file_get_position.c new file mode 100644 index 0000000000..d78313eb3d --- /dev/null +++ b/src/mpi/interface/c/file_get_position.c @@ -0,0 +1,16 @@ +/* + * $HEADER$ + */ + +#include "lam_config.h" + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_File_get_position = PMPI_File_get_position +#endif + +int MPI_File_get_position(MPI_File fh, MPI_Offset *offset) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/file_get_position_shared.c b/src/mpi/interface/c/file_get_position_shared.c new file mode 100644 index 0000000000..a0a4486308 --- /dev/null +++ b/src/mpi/interface/c/file_get_position_shared.c @@ -0,0 +1,16 @@ +/* + * $HEADER$ + */ + +#include "lam_config.h" + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_File_get_position_shared = PMPI_File_get_position_shared +#endif + +int MPI_File_get_position_shared(MPI_File fh, MPI_Offset *offset) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/file_get_size.c b/src/mpi/interface/c/file_get_size.c new file mode 100644 index 0000000000..1719e7a151 --- /dev/null +++ b/src/mpi/interface/c/file_get_size.c @@ -0,0 +1,16 @@ +/* + * $HEADER$ + */ + +#include "lam_config.h" + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_File_get_size = PMPI_File_get_size +#endif + +int MPI_File_get_size(MPI_File fh, MPI_Offset *size) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/file_get_type_extent.c b/src/mpi/interface/c/file_get_type_extent.c new file mode 100644 index 0000000000..d6a169004d --- /dev/null +++ b/src/mpi/interface/c/file_get_type_extent.c @@ -0,0 +1,17 @@ +/* + * $HEADER$ + */ + +#include "lam_config.h" + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_File_get_type_extent = PMPI_File_get_type_extent +#endif + +int MPI_File_get_type_extent(MPI_File fh, MPI_Datatype datatype, + MPI_Aint *extent) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/file_get_view.c b/src/mpi/interface/c/file_get_view.c new file mode 100644 index 0000000000..63f6634294 --- /dev/null +++ b/src/mpi/interface/c/file_get_view.c @@ -0,0 +1,18 @@ +/* + * $HEADER$ + */ + +#include "lam_config.h" + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_File_get_view = PMPI_File_get_view +#endif + +int MPI_File_get_view(MPI_File fh, MPI_Offset *disp, + MPI_Datatype *etype, + MPI_Datatype *filetype, char *datarep) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/file_iread.c b/src/mpi/interface/c/file_iread.c new file mode 100644 index 0000000000..e355cd6281 --- /dev/null +++ b/src/mpi/interface/c/file_iread.c @@ -0,0 +1,17 @@ +/* + * $HEADER$ + */ + +#include "lam_config.h" + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_File_iread = PMPI_File_iread +#endif + +int MPI_File_iread(MPI_File fh, void *buf, int count, MPI_Datatype + datatype, MPI_Request *request) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/file_iread_at.c b/src/mpi/interface/c/file_iread_at.c new file mode 100644 index 0000000000..e00e652a81 --- /dev/null +++ b/src/mpi/interface/c/file_iread_at.c @@ -0,0 +1,18 @@ +/* + * $HEADER$ + */ + +#include "lam_config.h" + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_File_iread_at = PMPI_File_iread_at +#endif + +int MPI_File_iread_at(MPI_File fh, MPI_Offset offset, void *buf, + int count, MPI_Datatype datatype, MPI_Request *request) { + + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/file_iread_shared.c b/src/mpi/interface/c/file_iread_shared.c new file mode 100644 index 0000000000..3777df6442 --- /dev/null +++ b/src/mpi/interface/c/file_iread_shared.c @@ -0,0 +1,17 @@ +/* + * $HEADER$ + */ + +#include "lam_config.h" + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_File_iread_shared = PMPI_File_iread_shared +#endif + +int MPI_File_iread_shared(MPI_File fh, void *buf, int count, + MPI_Datatype datatype, MPI_Request *request) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/file_iwrite.c b/src/mpi/interface/c/file_iwrite.c new file mode 100644 index 0000000000..aa1ac252ae --- /dev/null +++ b/src/mpi/interface/c/file_iwrite.c @@ -0,0 +1,17 @@ +/* + * $HEADER$ + */ + +#include "lam_config.h" + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_File_iwrite = PMPI_File_iwrite +#endif + +int MPI_File_iwrite(MPI_File fh, void *buf, int count, MPI_Datatype + datatype, MPI_Request *request) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/file_iwrite_at.c b/src/mpi/interface/c/file_iwrite_at.c new file mode 100644 index 0000000000..faab8ec42a --- /dev/null +++ b/src/mpi/interface/c/file_iwrite_at.c @@ -0,0 +1,17 @@ +/* + * $HEADER$ + */ + +#include "lam_config.h" + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_File_iwrite_at = PMPI_File_iwrite_at +#endif + +int MPI_File_write_at(MPI_File fh, MPI_Offset offset, void *buf, + int count, MPI_Datatype datatype, MPI_Status *status) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/file_iwrite_shared.c b/src/mpi/interface/c/file_iwrite_shared.c new file mode 100644 index 0000000000..302860e186 --- /dev/null +++ b/src/mpi/interface/c/file_iwrite_shared.c @@ -0,0 +1,17 @@ +/* + * $HEADER$ + */ + +#include "lam_config.h" + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_File_iwrite_shared = PMPI_File_iwrite_shared +#endif + +int MPI_File_iwrite_shared(MPI_File fh, void *buf, int count, + MPI_Datatype datatype, MPI_Request *request) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/file_open.c b/src/mpi/interface/c/file_open.c new file mode 100644 index 0000000000..c1a1ac3b63 --- /dev/null +++ b/src/mpi/interface/c/file_open.c @@ -0,0 +1,17 @@ +/* + * $HEADER$ + */ + +#include "lam_config.h" + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_File_open = PMPI_File_open +#endif + +int MPI_File_open(MPI_Comm comm, char *filename, int amode, + MPI_Info info, MPI_File *fh) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/file_preallocate.c b/src/mpi/interface/c/file_preallocate.c new file mode 100644 index 0000000000..bca3ad96b3 --- /dev/null +++ b/src/mpi/interface/c/file_preallocate.c @@ -0,0 +1,16 @@ +/* + * $HEADER$ + */ + +#include "lam_config.h" + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_File_preallocate = PMPI_File_preallocate +#endif + +int MPI_File_preallocate(MPI_File fh, MPI_Offset size) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/file_read.c b/src/mpi/interface/c/file_read.c new file mode 100644 index 0000000000..eff33deb67 --- /dev/null +++ b/src/mpi/interface/c/file_read.c @@ -0,0 +1,17 @@ +/* + * $HEADER$ + */ + +#include "lam_config.h" + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_File_read = PMPI_File_read +#endif + +int MPI_File_read(MPI_File fh, void *buf, int count, MPI_Datatype + datatype, MPI_Status *status) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/file_read_all.c b/src/mpi/interface/c/file_read_all.c new file mode 100644 index 0000000000..2d0da2ce25 --- /dev/null +++ b/src/mpi/interface/c/file_read_all.c @@ -0,0 +1,17 @@ +/* + * $HEADER$ + */ + +#include "lam_config.h" + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_File_read_all = PMPI_File_read_all +#endif + +int MPI_File_read_all(MPI_File fh, void *buf, int count, MPI_Datatype + datatype, MPI_Status *status) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/file_read_all_begin.c b/src/mpi/interface/c/file_read_all_begin.c new file mode 100644 index 0000000000..28575fbd69 --- /dev/null +++ b/src/mpi/interface/c/file_read_all_begin.c @@ -0,0 +1,17 @@ +/* + * $HEADER$ + */ + +#include "lam_config.h" + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_File_read_all_begin = PMPI_File_read_all_begin +#endif + +int MPI_File_read_all_begin(MPI_File fh, void *buf, int count, + MPI_Datatype datatype) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/file_read_all_end.c b/src/mpi/interface/c/file_read_all_end.c new file mode 100644 index 0000000000..60ad42ba1a --- /dev/null +++ b/src/mpi/interface/c/file_read_all_end.c @@ -0,0 +1,16 @@ +/* + * $HEADER$ + */ + +#include "lam_config.h" + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_File_read_all_end = PMPI_File_read_all_end +#endif + +int MPI_File_read_all_end(MPI_File fh, void *buf, MPI_Status *status) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/file_read_at.c b/src/mpi/interface/c/file_read_at.c new file mode 100644 index 0000000000..473806058c --- /dev/null +++ b/src/mpi/interface/c/file_read_at.c @@ -0,0 +1,18 @@ +/* + * $HEADER$ + */ + +#include "lam_config.h" + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_File_read_at = PMPI_File_read_at +#endif + +int MPI_File_read_at(MPI_File fh, MPI_Offset offset, void *buf, + int count, MPI_Datatype datatype, MPI_Status *status) { + + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/file_read_at_all.c b/src/mpi/interface/c/file_read_at_all.c new file mode 100644 index 0000000000..66311d641d --- /dev/null +++ b/src/mpi/interface/c/file_read_at_all.c @@ -0,0 +1,18 @@ +/* + * $HEADER$ + */ + +#include "lam_config.h" + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_File_read_at_all = PMPI_File_read_at_all +#endif + +int MPI_File_read_at_all(MPI_File fh, MPI_Offset offset, void *buf, + int count, MPI_Datatype datatype, + MPI_Status *status) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/file_read_at_all_begin.c b/src/mpi/interface/c/file_read_at_all_begin.c new file mode 100644 index 0000000000..9a7fb7a70c --- /dev/null +++ b/src/mpi/interface/c/file_read_at_all_begin.c @@ -0,0 +1,17 @@ +/* + * $HEADER$ + */ + +#include "lam_config.h" + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_File_read_at_all_begin = PMPI_File_read_at_all_begin +#endif + +int MPI_File_read_at_all_begin(MPI_File fh, MPI_Offset offset, void *buf, + int count, MPI_Datatype datatype) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/file_read_at_all_end.c b/src/mpi/interface/c/file_read_at_all_end.c new file mode 100644 index 0000000000..8be527fd2f --- /dev/null +++ b/src/mpi/interface/c/file_read_at_all_end.c @@ -0,0 +1,16 @@ +/* + * $HEADER$ + */ + +#include "lam_config.h" + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_File_read_at_all_end = PMPI_File_read_at_al_end +#endif + +int MPI_File_read_at_all_end(MPI_File fh, void *buf, MPI_Status *status) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/file_read_ordered.c b/src/mpi/interface/c/file_read_ordered.c new file mode 100644 index 0000000000..03592fb8c3 --- /dev/null +++ b/src/mpi/interface/c/file_read_ordered.c @@ -0,0 +1,17 @@ +/* + * $HEADER$ + */ + +#include "lam_config.h" + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_File_read_ordered = PMPI_File_read_ordered +#endif + +int MPI_File_read_ordered(MPI_File fh, void *buf, int count, + MPI_Datatype datatype, MPI_Status *status) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/file_read_ordered_begin.c b/src/mpi/interface/c/file_read_ordered_begin.c new file mode 100644 index 0000000000..7e9ea7b621 --- /dev/null +++ b/src/mpi/interface/c/file_read_ordered_begin.c @@ -0,0 +1,17 @@ +/* + * $HEADER$ + */ + +#include "lam_config.h" + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_File_read_ordered_begin = PMPI_File_read_ordered_begin +#endif + +int MPI_File_read_ordered_begin(MPI_File fh, void *buf, int count, + MPI_Datatype datatype) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/file_read_ordered_end.c b/src/mpi/interface/c/file_read_ordered_end.c new file mode 100644 index 0000000000..33ef632a07 --- /dev/null +++ b/src/mpi/interface/c/file_read_ordered_end.c @@ -0,0 +1,16 @@ +/* + * $HEADER$ + */ + +#include "lam_config.h" + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_File_read_ordered_end = PMPI_File_read_ordered_end +#endif + +int MPI_File_read_ordered_end(MPI_File fh, void *buf, MPI_Status *status) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/file_read_shared.c b/src/mpi/interface/c/file_read_shared.c new file mode 100644 index 0000000000..635acc2ce7 --- /dev/null +++ b/src/mpi/interface/c/file_read_shared.c @@ -0,0 +1,17 @@ +/* + * $HEADER$ + */ + +#include "lam_config.h" + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_File_read_shared = PMPI_File_read_shared +#endif + +int MPI_File_read_shared(MPI_File fh, void *buf, int count, + MPI_Datatype datatype, MPI_Status *status) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/file_seek.c b/src/mpi/interface/c/file_seek.c new file mode 100644 index 0000000000..a0c94c3ba5 --- /dev/null +++ b/src/mpi/interface/c/file_seek.c @@ -0,0 +1,16 @@ +/* + * $HEADER$ + */ + +#include "lam_config.h" + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_File_seek = PMPI_File_seek +#endif + +int MPI_File_seek(MPI_File fh, MPI_Offset offset, int whence) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/file_seek_shared.c b/src/mpi/interface/c/file_seek_shared.c new file mode 100644 index 0000000000..e7e46b6ec2 --- /dev/null +++ b/src/mpi/interface/c/file_seek_shared.c @@ -0,0 +1,16 @@ +/* + * $HEADER$ + */ + +#include "lam_config.h" + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_File_seek_shared = PMPI_File_seek_shared +#endif + +int MPI_File_seek_shared(MPI_File fh, MPI_Offset offset, int whence) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/file_set_atomicity.c b/src/mpi/interface/c/file_set_atomicity.c new file mode 100644 index 0000000000..4aaac4f0ae --- /dev/null +++ b/src/mpi/interface/c/file_set_atomicity.c @@ -0,0 +1,16 @@ +/* + * $HEADER$ + */ + +#include "lam_config.h" + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_File_set_atomicity = PMPI_File_set_atomicity +#endif + +int MPI_File_set_atomicity(MPI_File fh, int flag) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/file_set_errhandler.c b/src/mpi/interface/c/file_set_errhandler.c new file mode 100644 index 0000000000..d3a9d84f22 --- /dev/null +++ b/src/mpi/interface/c/file_set_errhandler.c @@ -0,0 +1,16 @@ +/* + * $HEADER$ + */ + +#include "lam_config.h" + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_File_set_errhandler = PMPI_File_set_errhandler +#endif + +int MPI_File_set_errhandler( MPI_File file, MPI_Errhandler errhandler) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/file_set_info.c b/src/mpi/interface/c/file_set_info.c new file mode 100644 index 0000000000..383a523083 --- /dev/null +++ b/src/mpi/interface/c/file_set_info.c @@ -0,0 +1,16 @@ +/* + * $HEADER$ + */ + +#include "lam_config.h" + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_File_set_info = PMPI_File_set_info +#endif + +int MPI_File_set_info(MPI_File fh, MPI_Info info) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/file_set_size.c b/src/mpi/interface/c/file_set_size.c new file mode 100644 index 0000000000..2233f55899 --- /dev/null +++ b/src/mpi/interface/c/file_set_size.c @@ -0,0 +1,16 @@ +/* + * $HEADER$ + */ + +#include "lam_config.h" + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_File_set_size = PMPI_File_set_size +#endif + +int MPI_File_set_size(MPI_File fh, MPI_Offset size) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/file_set_view.c b/src/mpi/interface/c/file_set_view.c new file mode 100644 index 0000000000..ecab3a32b2 --- /dev/null +++ b/src/mpi/interface/c/file_set_view.c @@ -0,0 +1,17 @@ +/* + * $HEADER$ + */ + +#include "lam_config.h" + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_File_set_view = PMPI_File_set_view +#endif + +int MPI_File_set_view(MPI_File fh, MPI_Offset disp, MPI_Datatype etype, + MPI_Datatype filetype, char *datarep, MPI_Info info) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/file_sync.c b/src/mpi/interface/c/file_sync.c new file mode 100644 index 0000000000..26a7d9f82d --- /dev/null +++ b/src/mpi/interface/c/file_sync.c @@ -0,0 +1,16 @@ +/* + * $HEADER$ + */ + +#include "lam_config.h" + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_File_sync = PMPI_File_sync +#endif + +int MPI_File_sync(MPI_File fh) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/file_write.c b/src/mpi/interface/c/file_write.c new file mode 100644 index 0000000000..f975a5e377 --- /dev/null +++ b/src/mpi/interface/c/file_write.c @@ -0,0 +1,17 @@ +/* + * $HEADER$ + */ + +#include "lam_config.h" + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_File_write = PMPI_File_write +#endif + +int MPI_File_write(MPI_File fh, void *buf, int count, MPI_Datatype + datatype, MPI_Status *status) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/file_write_all.c b/src/mpi/interface/c/file_write_all.c new file mode 100644 index 0000000000..2401907365 --- /dev/null +++ b/src/mpi/interface/c/file_write_all.c @@ -0,0 +1,17 @@ +/* + * $HEADER$ + */ + +#include "lam_config.h" + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_File_write_all = PMPI_File_write_all +#endif + +int MPI_File_write_all(MPI_File fh, void *buf, int count, MPI_Datatype + datatype, MPI_Status *status) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/file_write_all_begin.c b/src/mpi/interface/c/file_write_all_begin.c new file mode 100644 index 0000000000..21d933bdf6 --- /dev/null +++ b/src/mpi/interface/c/file_write_all_begin.c @@ -0,0 +1,17 @@ +/* + * $HEADER$ + */ + +#include "lam_config.h" + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_File_write_all_begin = PMPI_File_write_all_begin +#endif + +int MPI_File_write_all_begin(MPI_File fh, void *buf, int count, + MPI_Datatype datatype) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/file_write_all_end.c b/src/mpi/interface/c/file_write_all_end.c new file mode 100644 index 0000000000..a6c85b5da7 --- /dev/null +++ b/src/mpi/interface/c/file_write_all_end.c @@ -0,0 +1,16 @@ +/* + * $HEADER$ + */ + +#include "lam_config.h" + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_File_write_all_end = PMPI_File_write_all_end +#endif + +int MPI_File_write_all_end(MPI_File fh, void *buf, MPI_Status *status) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/file_write_at.c b/src/mpi/interface/c/file_write_at.c new file mode 100644 index 0000000000..eb4304f858 --- /dev/null +++ b/src/mpi/interface/c/file_write_at.c @@ -0,0 +1,18 @@ +/* + * $HEADER$ + */ + +#include "lam_config.h" + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_File_write_at = PMPI_File_write_at +#endif + +int MPI_File_write_at(MPI_File fh, MPI_Offset offset, void *buf, + int count, MPI_Datatype datatype, + MPI_Status *status) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/file_write_at_all.c b/src/mpi/interface/c/file_write_at_all.c new file mode 100644 index 0000000000..e45b35ba6d --- /dev/null +++ b/src/mpi/interface/c/file_write_at_all.c @@ -0,0 +1,18 @@ +/* + * $HEADER$ + */ + +#include "lam_config.h" + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_File_write_at_all = PMPI_File_write_at_all +#endif + +int MPI_File_write_at_all(MPI_File fh, MPI_Offset offset, void *buf, + int count, MPI_Datatype datatype, + MPI_Status *status) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/file_write_at_all_begin.c b/src/mpi/interface/c/file_write_at_all_begin.c new file mode 100644 index 0000000000..03bdb63a6f --- /dev/null +++ b/src/mpi/interface/c/file_write_at_all_begin.c @@ -0,0 +1,17 @@ +/* + * $HEADER$ + */ + +#include "lam_config.h" + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_File_write_at_all_begin = PMPI_File_write_at_all_begin +#endif + +int MPI_File_write_at_all_begin(MPI_File fh, MPI_Offset offset, void *buf, + int count, MPI_Datatype datatype) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/file_write_at_all_end.c b/src/mpi/interface/c/file_write_at_all_end.c new file mode 100644 index 0000000000..4ff6abc227 --- /dev/null +++ b/src/mpi/interface/c/file_write_at_all_end.c @@ -0,0 +1,16 @@ +/* + * $HEADER$ + */ + +#include "lam_config.h" + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_File_write_at_all_end = PMPI_File_write_at_all_end +#endif + +int MPI_File_write_at_all_end(MPI_File fh, void *buf, MPI_Status *status) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/file_write_ordered.c b/src/mpi/interface/c/file_write_ordered.c new file mode 100644 index 0000000000..fefd91fdf8 --- /dev/null +++ b/src/mpi/interface/c/file_write_ordered.c @@ -0,0 +1,17 @@ +/* + * $HEADER$ + */ + +#include "lam_config.h" + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_File_write_ordered = PMPI_File_write_ordered +#endif + +int MPI_File_write_ordered(MPI_File fh, void *buf, int count, + MPI_Datatype datatype, MPI_Status *status) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/file_write_ordered_begin.c b/src/mpi/interface/c/file_write_ordered_begin.c new file mode 100644 index 0000000000..381f0d45f6 --- /dev/null +++ b/src/mpi/interface/c/file_write_ordered_begin.c @@ -0,0 +1,17 @@ +/* + * $HEADER$ + */ + +#include "lam_config.h" + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_File_write_ordered_begin = PMPI_File_write_ordered_begin +#endif + +int MPI_File_write_ordered_begin(MPI_File fh, void *buf, int count, + MPI_Datatype datatype) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/file_write_ordered_end.c b/src/mpi/interface/c/file_write_ordered_end.c new file mode 100644 index 0000000000..e28eb53b74 --- /dev/null +++ b/src/mpi/interface/c/file_write_ordered_end.c @@ -0,0 +1,16 @@ +/* + * $HEADER$ + */ + +#include "lam_config.h" + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_File_write_ordered_end = PMPI_File_write_ordered_end +#endif + +int MPI_File_write_ordered_end(MPI_File fh, void *buf, MPI_Status *status) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/file_write_shared.c b/src/mpi/interface/c/file_write_shared.c new file mode 100644 index 0000000000..032daefe01 --- /dev/null +++ b/src/mpi/interface/c/file_write_shared.c @@ -0,0 +1,17 @@ +/* + * $HEADER$ + */ + +#include "lam_config.h" + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_File_write_shared = PMPI_File_write_shared +#endif + +int MPI_File_write_shared(MPI_File fh, void *buf, int count, + MPI_Datatype datatype, MPI_Status *status) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/finalized.c b/src/mpi/interface/c/finalized.c new file mode 100644 index 0000000000..850d225867 --- /dev/null +++ b/src/mpi/interface/c/finalized.c @@ -0,0 +1,16 @@ +/* + * $HEADER$ + */ + +#include "lam_config.h" + +#include "mpi.h" +#include "mpi/interface/c/bindings.h" + +#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES +#pragma weak MPI_Finalized = PMPI_Finalized +#endif + +int MPI_Finalized(int *flag) { + return MPI_SUCCESS; +} diff --git a/src/mpi/interface/c/profile/Makefile.am b/src/mpi/interface/c/profile/Makefile.am index 6a3fb918af..d47bbfc3d4 100644 --- a/src/mpi/interface/c/profile/Makefile.am +++ b/src/mpi/interface/c/profile/Makefile.am @@ -11,7 +11,7 @@ include $(top_srcdir)/config/Makefile.options # replaces all MPI_* symbols with PMPI_* symbols. In this directory # we definately need it to be 1. # -AM_CPPFLAGS = -DLAM_PROFILING_DEFINES=1 +AM_CPPFLAGS = -DLAM_PROFILING_DEFINES=1 # # This build needs to go through only if profiling is required. @@ -29,113 +29,183 @@ noinst_LTLIBRARIES = $(pmpi_lib) headers = defines.h nodist_libmpi_c_pmpi_la_SOURCES = \ - pabort.c \ - paccumulate.c \ - padd_error_class.c \ - padd_error_code.c \ - padd_error_string.c \ - paddress.c \ - pallgather.c \ - pallgatherv.c \ - palloc_mem.c \ - pallreduce.c \ - palltoall.c \ - palltoallv.c \ - palltoallw.c \ - pattr_delete.c \ - pattr_get.c \ - pattr_put.c \ - pbarrier.c \ - pbcast.c \ - pbsend_init.c \ - pbsend.c \ - pbuffer_attach.c \ - pbuffer_detach.c \ - pcancel.c \ - pcart_coords.c \ - pcart_create.c \ - pcart_get.c \ - pcart_map.c \ - pcart_rank.c \ - pcart_shift.c \ - pcart_sub.c \ - pcartdim_get.c \ - pclose_port.c \ - pcomm_accept.c \ - pcomm_c2f.c \ - pcomm_call_errhandler.c \ - pcomm_compare.c \ - pcomm_connect.c \ - pcomm_create_errhandler.c \ - pcomm_create_keyval.c \ - pcomm_create.c \ - pcomm_delete_attr.c \ - pcomm_disconnect.c \ - pcomm_dup.c \ - pcomm_f2c.c \ - pcomm_free_keyval.c \ - pcomm_free.c \ - pcomm_get_attr.c \ - pcomm_get_errhandler.c \ - pcomm_get_name.c \ - pcomm_get_parent.c \ - pcomm_group.c \ - pcomm_join.c \ - pcomm_rank.c \ - pcomm_remote_group.c \ - pcomm_remote_size.c \ - pcomm_set_attribute.c \ - pcomm_set_errhandler.c \ - pcomm_set_name.c \ - pcomm_size.c \ - pcomm_spawn.c \ - pcomm_spawn_multiple.c \ - pcomm_split.c \ - pcomm_test_inter.c \ - pfinalize.c \ - pfree_mem.c \ - pinit.c \ - ptest_cancelled.c \ - ptest.c \ - ptestall.c \ - ptestany.c \ - ptestsome.c \ - ptopo_test.c \ - ptype_commit.c \ - ptype_contiguous.c \ - ptype_create_darray.c \ - ptype_create_f90_complex.c \ - ptype_create_f90_integer.c \ - ptype_create_f90_real.c \ - ptype_create_hindexed.c \ - ptype_create_hvector.c \ - ptype_create_indexed_block.c \ - ptype_create_keyval.c \ - ptype_create_resized.c \ - ptype_create_struct.c \ - ptype_create_subarray.c \ - ptype_delete_attr.c \ - ptype_dup.c \ - ptype_extent.c \ - ptype_free.c \ - ptype_free_keyval.c \ - ptype_get_attr.c \ - ptype_get_contents.c \ - ptype_get_envelope.c \ - ptype_get_extent.c \ - ptype_get_name.c \ - ptype_get_true_extent.c \ - ptype_hindexed.c \ - ptype_hvector.c \ - ptype_indexed.c \ - ptype_lb.c \ - ptype_match_size.c \ - ptype_set_attr.c \ - ptype_set_name.c \ - ptype_size.c \ - ptype_struct.c \ - ptype_ub.c \ - ptype_vector.c + pabort.c \ + paccumulate.c \ + padd_error_class.c \ + padd_error_code.c \ + padd_error_string.c \ + paddress.c \ + pallgather.c \ + pallgatherv.c \ + palloc_mem.c \ + pallreduce.c \ + palltoall.c \ + palltoallv.c \ + palltoallw.c \ + pattr_delete.c \ + pattr_get.c \ + pattr_put.c \ + pbarrier.c \ + pbcast.c \ + pbsend.c \ + pbsend_init.c \ + pbuffer_attach.c \ + pbuffer_detach.c \ + pcancel.c \ + pcart_coords.c \ + pcart_create.c \ + pcartdim_get.c \ + pcart_get.c \ + pcart_map.c \ + pcart_rank.c \ + pcart_shift.c \ + pcart_sub.c \ + pclose_port.c \ + pcomm_accept.c \ + pcomm_c2f.c \ + pcomm_call_errhandler.c \ + pcomm_compare.c \ + pcomm_connect.c \ + pcomm_create.c \ + pcomm_create_errhandler.c \ + pcomm_create_keyval.c \ + pcomm_delete_attr.c \ + pcomm_disconnect.c \ + pcomm_dup.c \ + pcomm_f2c.c \ + pcomm_free.c \ + pcomm_free_keyval.c \ + pcomm_get_attr.c \ + pcomm_get_errhandler.c \ + pcomm_get_name.c \ + pcomm_get_parent.c \ + pcomm_group.c \ + pcomm_join.c \ + pcomm_rank.c \ + pcomm_remote_group.c \ + pcomm_remote_size.c \ + pcomm_set_attribute.c \ + pcomm_set_errhandler.c \ + pcomm_set_name.c \ + pcomm_size.c \ + pcomm_spawn.c \ + pcomm_spawn_multiple.c \ + pcomm_split.c \ + pcomm_test_inter.c \ + pdims_create.c \ + perrhandler_c2f.c \ + perrhandler_create.c \ + perrhandler_f2c.c \ + perrhandler_free.c \ + perrhandler_get.c \ + perrhandler_set.c \ + perror_class.c \ + perror_string.c \ + pexscan.c \ + pfile_c2f.c \ + pfile_call_errhandler.c \ + pfile_close.c \ + pfile_create_errhandler.c \ + pfile_delete.c \ + pfile_f2c.c \ + pfile_get_amode.c \ + pfile_get_atomicity.c \ + pfile_get_byte_offset.c \ + pfile_get_errhandler.c \ + pfile_get_group.c \ + pfile_get_info.c \ + pfile_get_position.c \ + pfile_get_position_shared.c \ + pfile_get_size.c \ + pfile_get_type_extent.c \ + pfile_get_view.c \ + pfile_iread_at.c \ + pfile_iread.c \ + pfile_iread_shared.c \ + pfile_iwrite_at.c \ + pfile_iwrite.c \ + pfile_iwrite_shared.c \ + pfile_open.c \ + pfile_preallocate.c \ + pfile_read_all_begin.c \ + pfile_read_all.c \ + pfile_read_all_end.c \ + pfile_read_at_all_begin.c \ + pfile_read_at_all.c \ + pfile_read_at_all_end.c \ + pfile_read_at.c \ + pfile_read.c \ + pfile_read_ordered_begin.c \ + pfile_read_ordered.c \ + pfile_read_ordered_end.c \ + pfile_read_shared.c \ + pfile_seek.c \ + pfile_seek_shared.c \ + pfile_set_atomicity.c \ + pfile_set_errhandler.c \ + pfile_set_info.c \ + pfile_set_size.c \ + pfile_set_view.c \ + pfile_sync.c \ + pfile_write_all_begin.c \ + pfile_write_all.c \ + pfile_write_all_end.c \ + pfile_write_at_all_begin.c \ + pfile_write_at_all.c \ + pfile_write_at_all_end.c \ + pfile_write_at.c \ + pfile_write.c \ + pfile_write_ordered_begin.c \ + pfile_write_ordered.c \ + pfile_write_ordered_end.c \ + pfile_write_shared.c \ + pfinalize.c \ + pfinalized.c \ + pfree_mem.c \ + pinit.c \ + ptestall.c \ + ptestany.c \ + ptest.c \ + ptest_cancelled.c \ + ptestsome.c \ + ptopo_test.c \ + ptype_c2f.c \ + ptype_commit.c \ + ptype_contiguous.c \ + ptype_create_darray.c \ + ptype_create_f90_complex.c \ + ptype_create_f90_integer.c \ + ptype_create_f90_real.c \ + ptype_create_hindexed.c \ + ptype_create_hvector.c \ + ptype_create_indexed_block.c \ + ptype_create_keyval.c \ + ptype_create_resized.c \ + ptype_create_struct.c \ + ptype_create_subarray.c \ + ptype_delete_attr.c \ + ptype_dup.c \ + ptype_extent.c \ + ptype_f2c.c \ + ptype_free.c \ + ptype_free_keyval.c \ + ptype_get_attr.c \ + ptype_get_contents.c \ + ptype_get_envelope.c \ + ptype_get_extent.c \ + ptype_get_name.c \ + ptype_get_true_extent.c \ + ptype_hindexed.c \ + ptype_hvector.c \ + ptype_indexed.c \ + ptype_lb.c \ + ptype_match_size.c \ + ptype_set_attr.c \ + ptype_set_name.c \ + ptype_size.c \ + ptype_struct.c \ + ptype_ub.c \ + ptype_vector.c # # Sym link in the sources from the real MPI directory # diff --git a/src/mpi/interface/c/profile/defines.h b/src/mpi/interface/c/profile/defines.h index 90b05482f4..dade077f58 100644 --- a/src/mpi/interface/c/profile/defines.h +++ b/src/mpi/interface/c/profile/defines.h @@ -18,7 +18,6 @@ #define MPI_Address PMPI_Address #define MPI_Allgather PMPI_Allgather #define MPI_Allgatherv PMPI_Allgatherv -#define MPI_Allgatherw PMPI_Allgatherw #define MPI_Alloc_mem PMPI_Alloc_mem #define MPI_Allreduce PMPI_Allreduce #define MPI_Alltoall PMPI_Alltoall @@ -74,7 +73,75 @@ #define MPI_Comm_spawn_multiple PMPI_Comm_spawn_multiple #define MPI_Comm_split PMPI_Comm_split #define MPI_Comm_test_inter PMPI_Comm_test_inter +#define MPI_Dims_create PMPI_Dims_create +#define MPI_Errhandler_c2f PMPI_Errhandler_c2f +#define MPI_Errhandler_f2c PMPI_Errhandler_f2c +#define MPI_Errhandler_create PMPI_Errhandler_create +#define MPI_Errhandler_free PMPI_Errhandler_free +#define MPI_Errhandler_get PMPI_Errhandler_get +#define MPI_Errhandler_set PMPI_Errhandler_set +#define MPI_Error_class PMPI_Error_class +#define MPI_Error_string PMPI_Error_string +#define MPI_Exscan PMPI_Exscan +#define MPI_File_c2f PMPI_File_c2f +#define MPI_File_call_errhandler PMPI_File_call_errhandler +#define MPI_File_close PMPI_File_close +#define MPI_File_create_errhandler PMPI_File_create_errhandler +#define MPI_File_delete PMPI_File_delete +#define MPI_File_f2c PMPI_File_f2c +#define MPI_File_get_amode PMPI_File_get_amode +#define MPI_File_get_atomicity PMPI_File_get_atomicity +#define MPI_File_get_byte_offset PMPI_File_get_byte_offset +#define MPI_File_get_errhandler PMPI_File_get_errhandler +#define MPI_File_get_group PMPI_File_get_group +#define MPI_File_get_info PMPI_File_get_info +#define MPI_File_get_position PMPI_File_get_position +#define MPI_File_get_position_shared PMPI_File_get_position_shared +#define MPI_File_get_size PMPI_File_get_size +#define MPI_File_get_type_extent PMPI_File_get_type_extent +#define MPI_File_get_view PMPI_File_get_view +#define MPI_File_iread_at PMPI_File_iread_at +#define MPI_File_iread PMPI_File_iread +#define MPI_File_iread_shared PMPI_File_iread_shared +#define MPI_File_iwrite_at PMPI_File_iwrite_at +#define MPI_File_iwrite PMPI_File_iwrite +#define MPI_File_iwrite_shared PMPI_File_iwrite_shared +#define MPI_File_open PMPI_File_open +#define MPI_File_preallocate PMPI_File_preallocate +#define MPI_File_read_all_begin PMPI_File_read_all_begin +#define MPI_File_read_all_end PMPI_File_read_all_end +#define MPI_File_read_all PMPI_File_read_all +#define MPI_File_read_at_all_begin PMPI_File_read_at_all_begin +#define MPI_File_read_at_all_end PMPI_File_read_at_all_end +#define MPI_File_read_at_all PMPI_File_read_at_all +#define MPI_File_read_at PMPI_File_read_at +#define MPI_File_read PMPI_File_read +#define MPI_File_read_ordered_begin PMPI_File_read_ordered_begin +#define MPI_File_read_ordered_end PMPI_File_read_ordered_end +#define MPI_File_read_ordered PMPI_File_read_ordered +#define MPI_File_read_shared PMPI_File_read_shared +#define MPI_File_seek PMPI_File_seek +#define MPI_File_seek_shared PMPI_File_seek_shared +#define MPI_File_set_atomicity PMPI_File_set_atomicity +#define MPI_File_set_errhandler PMPI_File_set_errhandler +#define MPI_File_set_info PMPI_File_set_info +#define MPI_File_set_size PMPI_File_set_size +#define MPI_File_set_view PMPI_File_set_view +#define MPI_File_sync PMPI_File_sync +#define MPI_File_write_all_begin PMPI_File_write_all_begin +#define MPI_File_write_all_end PMPI_File_write_all_end +#define MPI_File_write_all PMPI_File_write_all +#define MPI_File_write_at_all_begin PMPI_File_write_at_all_begin +#define MPI_File_write_at_all_end PMPI_File_write_at_all_end +#define MPI_File_write_at_all PMPI_File_write_at_all +#define MPI_File_write_at PMPI_File_write_at +#define MPI_File_write PMPI_File_write +#define MPI_File_write_ordered_begin PMPI_File_write_ordered_begin +#define MPI_File_write_ordered_end PMPI_File_write_ordered_end +#define MPI_File_write_ordered PMPI_File_write_ordered +#define MPI_File_write_shared PMPI_File_write_shared #define MPI_Finalize PMPI_Finalize +#define MPI_Finalized PMPI_Finalized #define MPI_Free_mem PMPI_Free_mem #define MPI_Init PMPI_Init #define MPI_Test_cancelled PMPI_Test_cancelled @@ -87,14 +154,14 @@ #define MPI_Type_commit PMPI_Type_commit #define MPI_Type_contiguous PMPI_Type_contiguous #define MPI_Type_create_darray PMPI_Type_create_darray -#define MPI_Type_create_f90_complex PMPI_Type_create_complex -#define MPI_Type_create_f90_integer PMPI_Type_create_integer +#define MPI_Type_create_f90_complex PMPI_Type_create_f90_complex +#define MPI_Type_create_f90_integer PMPI_Type_create_f90_integer #define MPI_Type_create_f90_real PMPI_Type_create_f90_real #define MPI_Type_create_hindexed PMPI_Type_create_hindexed #define MPI_Type_create_hvector PMPI_Type_create_hvector #define MPI_Type_create_indexed_block PMPI_Type_create_indexed_block #define MPI_Type_create_keyval PMPI_Type_create_keyval -#define MPI_Type_create_resized PMPI_create_resized +#define MPI_Type_create_resized PMPI_Type_create_resized #define MPI_Type_create_struct PMPI_Type_create_struct #define MPI_Type_create_subarray PMPI_Type_create_subarray #define MPI_Type_delete_attr PMPI_Type_delete_attr @@ -120,6 +187,5 @@ #define MPI_Type_struct PMPI_Type_struct #define MPI_Type_ub PMPI_Type_ub #define MPI_Type_vector PMPI_Type_vector -// defines for type_* functions to be added #endif /* LAM_C_PROFILE_DEFINES_H */