Adding these MPI shells. Someday, someone has to actually write the
functions This commit was SVN r491.
Этот коммит содержится в:
родитель
009e3ea202
Коммит
231b6716e5
16
src/mpi/interface/c/abort.c
Обычный файл
16
src/mpi/interface/c/abort.c
Обычный файл
@ -0,0 +1,16 @@
|
||||
/*
|
||||
* $HEADERS$
|
||||
*/
|
||||
#include "lam_config.h"
|
||||
#include <stdio.h>
|
||||
|
||||
#include "mpi.h"
|
||||
#include "mpi/interface/c/bindings.h"
|
||||
|
||||
#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES
|
||||
#pragma weak MPI_Abort = PMPI_Abort
|
||||
#endif
|
||||
|
||||
int MPI_Abort(MPI_Comm comm, int errorcode) {
|
||||
return MPI_SUCCESS;
|
||||
}
|
19
src/mpi/interface/c/accumulate.c
Обычный файл
19
src/mpi/interface/c/accumulate.c
Обычный файл
@ -0,0 +1,19 @@
|
||||
/*
|
||||
* $HEADER$
|
||||
*/
|
||||
#include "lam_config.h"
|
||||
#include <stdio.h>
|
||||
|
||||
#include "mpi.h"
|
||||
#include "mpi/interface/c/bindings.h"
|
||||
|
||||
#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES
|
||||
#pragma weak MPI_Accumulate = PMPI_Accumulate
|
||||
#endif
|
||||
|
||||
int MPI_Accumulate(void *origin_addr, int origin_count, MPI_Datatype origin_datatype,
|
||||
int target_rank, MPI_Aint target_disp, int target_count,
|
||||
MPI_Datatype target_datatype, MPI_Op op, MPI_Win win) {
|
||||
|
||||
return MPI_SUCCESS;
|
||||
}
|
17
src/mpi/interface/c/add_error_class.c
Обычный файл
17
src/mpi/interface/c/add_error_class.c
Обычный файл
@ -0,0 +1,17 @@
|
||||
/*
|
||||
* $HEADER$
|
||||
*/
|
||||
#include "lam_config.h"
|
||||
#include <stdio.h>
|
||||
|
||||
#include "mpi.h"
|
||||
#include "mpi/interface/c/bindings.h"
|
||||
|
||||
#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES
|
||||
#pragma weak MPI_Add_error_class PMPI_Add_error_class
|
||||
#endif
|
||||
|
||||
int MPI_Add_error_class(int *errorclass) {
|
||||
return MPI_SUCCESS;
|
||||
}
|
||||
|
16
src/mpi/interface/c/add_error_code.c
Обычный файл
16
src/mpi/interface/c/add_error_code.c
Обычный файл
@ -0,0 +1,16 @@
|
||||
/*
|
||||
* * $HEADER$
|
||||
* */
|
||||
#include "lam_config.h"
|
||||
#include <stdio.h>
|
||||
|
||||
#include "mpi.h"
|
||||
#include "mpi/interface/c/bindings.h"
|
||||
|
||||
#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES
|
||||
#pragma weak MPI_Add_error_code = PMPI_Add_error_code
|
||||
#endif
|
||||
|
||||
int MPI_Add_error_code(int errorclass, int *errorcode){
|
||||
return MPI_SUCCESS;
|
||||
}
|
16
src/mpi/interface/c/add_error_string.c
Обычный файл
16
src/mpi/interface/c/add_error_string.c
Обычный файл
@ -0,0 +1,16 @@
|
||||
/*
|
||||
* * * $HEADER$
|
||||
* * */
|
||||
#include "lam_config.h"
|
||||
#include <stdio.h>
|
||||
|
||||
#include "mpi.h"
|
||||
#include "mpi/interface/c/bindings.h"
|
||||
|
||||
#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES
|
||||
#pragma weak MPI_Add_error_string = PMPI_Add_error_string
|
||||
#endif
|
||||
|
||||
int MPI_Add_error_string(int errorcode, char *string){
|
||||
return MPI_SUCCESS;
|
||||
}
|
17
src/mpi/interface/c/address.c
Обычный файл
17
src/mpi/interface/c/address.c
Обычный файл
@ -0,0 +1,17 @@
|
||||
/*
|
||||
* $HEADER$
|
||||
*/
|
||||
|
||||
#include "lam_config.h"
|
||||
#include <stdio.h>
|
||||
|
||||
#include "mpi.h"
|
||||
#include "mpi/interface/c/bindings.h"
|
||||
|
||||
#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES
|
||||
#pragma weak MPI_Address = PMPI_Address
|
||||
#endif
|
||||
|
||||
int MPI_Address(void *location, MPI_Aint *address){
|
||||
return MPI_SUCCESS;
|
||||
}
|
21
src/mpi/interface/c/allgather.c
Обычный файл
21
src/mpi/interface/c/allgather.c
Обычный файл
@ -0,0 +1,21 @@
|
||||
/*
|
||||
* $HEADER$
|
||||
*/
|
||||
|
||||
#include "lam_config.h"
|
||||
#include <stdio.h>
|
||||
|
||||
#include "mpi.h"
|
||||
#include "mpi/interface/c/bindings.h"
|
||||
|
||||
#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES
|
||||
#pragma weak MPI_Allgather = PMPI_Allgather
|
||||
#endif
|
||||
|
||||
|
||||
int MPI_Allgather(void *sendbuf, int sendcount, MPI_Datatype sendtype,
|
||||
void *recvbuf, int recvcount, MPI_Datatype recvtype,
|
||||
MPI_Comm comm) {
|
||||
return MPI_SUCCESS;
|
||||
}
|
||||
|
21
src/mpi/interface/c/allgatherv.c
Обычный файл
21
src/mpi/interface/c/allgatherv.c
Обычный файл
@ -0,0 +1,21 @@
|
||||
/*
|
||||
* $HEADER$
|
||||
*/
|
||||
|
||||
#include "lam_config.h"
|
||||
#include <stdio.h>
|
||||
|
||||
#include "mpi.h"
|
||||
#include "mpi/interface/c/bindings.h"
|
||||
|
||||
#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES
|
||||
#pragma weak MPI_Allgatherv = PMPI_Allgatherv
|
||||
#endif
|
||||
|
||||
int MPI_Allgatherv(void *sendbuf, int sendcount, MPI_Datatype sendtype,
|
||||
void *recvbuf, int *recvcounts,
|
||||
int *displs, MPI_Datatype recvtype, MPI_Comm comm) {
|
||||
|
||||
return MPI_SUCCESS;
|
||||
}
|
||||
|
19
src/mpi/interface/c/allreduce.c
Обычный файл
19
src/mpi/interface/c/allreduce.c
Обычный файл
@ -0,0 +1,19 @@
|
||||
/*
|
||||
* $HEADER$
|
||||
*/
|
||||
|
||||
#include "lam_config.h"
|
||||
#include <stdio.h>
|
||||
|
||||
#include "mpi.h"
|
||||
#include "mpi/interface/c/bindings.h"
|
||||
|
||||
#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES
|
||||
#pragma weak MPI_Allreduce = PMPI_Allreduce
|
||||
#endif
|
||||
|
||||
int MPI_Allreduce(void *sendbuf, void *recvbuf, int count,
|
||||
MPI_Datatype datatype, MPI_Op op, MPI_Comm comm) {
|
||||
return MPI_SUCCESS;
|
||||
}
|
||||
|
20
src/mpi/interface/c/alltoall.c
Обычный файл
20
src/mpi/interface/c/alltoall.c
Обычный файл
@ -0,0 +1,20 @@
|
||||
/*
|
||||
* $HEADER$
|
||||
*/
|
||||
|
||||
#include "lam_config.h"
|
||||
#include <stdio.h>
|
||||
|
||||
#include "mpi.h"
|
||||
#include "mpi/interface/c/bindings.h"
|
||||
|
||||
#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES
|
||||
#pragma weak MPI_Alltoall = PMPI_Alltoall
|
||||
#endif
|
||||
|
||||
int MPI_Alltoall(void *sendbuf, int sendcount, MPI_Datatype sendtype,
|
||||
void *recvbuf, int recvcount,
|
||||
MPI_Datatype recvtype, MPI_Comm comm) {
|
||||
return MPI_SUCCESS;
|
||||
}
|
||||
|
20
src/mpi/interface/c/alltoallv.c
Обычный файл
20
src/mpi/interface/c/alltoallv.c
Обычный файл
@ -0,0 +1,20 @@
|
||||
/*
|
||||
* $HEADER$
|
||||
*/
|
||||
|
||||
#include "lam_config.h"
|
||||
#include <stdio.h>
|
||||
|
||||
#include "mpi.h"
|
||||
#include "mpi/interface/c/bindings.h"
|
||||
|
||||
#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES
|
||||
#pragma weak MPI_Alltoallv = PMPI_Alltoallv
|
||||
#endif
|
||||
|
||||
int MPI_Alltoallv(void *sendbuf, int *sendcounts, int *sdispls,
|
||||
MPI_Datatype sendtype, void *recvbuf, int *recvcounts,
|
||||
int *rdispls, MPI_Datatype recvtype, MPI_Comm comm) {
|
||||
return MPI_SUCCESS;
|
||||
}
|
||||
|
20
src/mpi/interface/c/alltoallw.c
Обычный файл
20
src/mpi/interface/c/alltoallw.c
Обычный файл
@ -0,0 +1,20 @@
|
||||
/*
|
||||
* $HEADER$
|
||||
*/
|
||||
|
||||
#include "lam_config.h"
|
||||
#include <stdio.h>
|
||||
|
||||
#include "mpi.h"
|
||||
#include "mpi/interface/c/bindings.h"
|
||||
|
||||
#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES
|
||||
#pragma weak MPI_Alltoallw = PMPI_Alltoallw
|
||||
#endif
|
||||
|
||||
int MPI_Alltoallw(void *sendbuf, int *sendcounts, int *sdispls, MPI_Datatype *sendtypes,
|
||||
void *recvbuf, int *recvcounts, int *rdispls, MPI_Datatype *recvtypes,
|
||||
MPI_Comm comm) {
|
||||
return MPI_SUCCESS;
|
||||
}
|
||||
|
18
src/mpi/interface/c/attr_delete.c
Обычный файл
18
src/mpi/interface/c/attr_delete.c
Обычный файл
@ -0,0 +1,18 @@
|
||||
/*
|
||||
* $HEADER$
|
||||
*/
|
||||
|
||||
#include "lam_config.h"
|
||||
#include <stdio.h>
|
||||
|
||||
#include "mpi.h"
|
||||
#include "mpi/interface/c/bindings.h"
|
||||
|
||||
#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES
|
||||
#pragma weak MPI_Attr_delete = PMPI_Attr_delete
|
||||
#endif
|
||||
|
||||
int MPI_Attr_delete(MPI_Comm comm, int keyval){
|
||||
return MPI_SUCCESS;
|
||||
}
|
||||
|
18
src/mpi/interface/c/attr_get.c
Обычный файл
18
src/mpi/interface/c/attr_get.c
Обычный файл
@ -0,0 +1,18 @@
|
||||
/*
|
||||
* $HEADER$
|
||||
*/
|
||||
|
||||
#include "lam_config.h"
|
||||
#include <stdio.h>
|
||||
|
||||
#include "mpi.h"
|
||||
#include "mpi/interface/c/bindings.h"
|
||||
|
||||
#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES
|
||||
#pragma weak MPI_Attr_get = PMPI_Attr_get
|
||||
#endif
|
||||
|
||||
int MPI_Attr_get(MPI_Comm comm, int keyval, void *attribute_val, int *flag) {
|
||||
return MPI_SUCCESS;
|
||||
}
|
||||
|
18
src/mpi/interface/c/attr_put.c
Обычный файл
18
src/mpi/interface/c/attr_put.c
Обычный файл
@ -0,0 +1,18 @@
|
||||
/*
|
||||
* $HEADER$
|
||||
*/
|
||||
|
||||
#include "lam_config.h"
|
||||
#include <stdio.h>
|
||||
|
||||
#include "mpi.h"
|
||||
#include "mpi/interface/c/bindings.h"
|
||||
|
||||
#if LAM_HAVE_WEAK_SYMBOLS && LAM_PROFILING_DEFINES
|
||||
#pragma weak MPI_Attr_put = PMPI_Attr_put
|
||||
#endif
|
||||
|
||||
int MPI_Attr_put(MPI_Comm comm, int keyval, void *attribute_val) {
|
||||
return MPI_SUCCESS;
|
||||
}
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user