First cut of language bindings
This commit was SVN r100.
Этот коммит содержится в:
родитель
a538960486
Коммит
91099b3259
@ -5,12 +5,11 @@
|
|||||||
|
|
||||||
include $(top_srcdir)/config/Makefile.options
|
include $(top_srcdir)/config/Makefile.options
|
||||||
|
|
||||||
SUBDIRS = communicator datatype p2p
|
SUBDIRS = c cxx f77 f90
|
||||||
|
|
||||||
lib_LTLIBRARIES = libmpi.la
|
lib_LTLIBRARIES = libmpi.la
|
||||||
|
|
||||||
libmpi_la_SOURCES =
|
libmpi_la_SOURCES =
|
||||||
libmpi_la_LIBADD = \
|
libmpi_la_LIBADD = \
|
||||||
communicator/libcommunicator.la \
|
c/libmpi_c.la \
|
||||||
datatype/libdatatype.la \
|
f77/libmpi_f77.la
|
||||||
p2p/libp2p.la
|
|
||||||
|
@ -5,12 +5,11 @@
|
|||||||
|
|
||||||
include $(top_srcdir)/config/Makefile.options
|
include $(top_srcdir)/config/Makefile.options
|
||||||
|
|
||||||
SUBDIRS = communicator datatype p2p
|
SUBDIRS = c cxx f77 f90
|
||||||
|
|
||||||
lib_LTLIBRARIES = libmpi.la
|
lib_LTLIBRARIES = libmpi.la
|
||||||
|
|
||||||
libmpi_la_SOURCES =
|
libmpi_la_SOURCES =
|
||||||
libmpi_la_LIBADD = \
|
libmpi_la_LIBADD = \
|
||||||
communicator/libcommunicator.la \
|
c/libmpi_c.la \
|
||||||
datatype/libdatatype.la \
|
f77/libmpi_f77.la
|
||||||
p2p/libp2p.la
|
|
||||||
|
6
src/mpi/interface/c/.cvsignore
Обычный файл
6
src/mpi/interface/c/.cvsignore
Обычный файл
@ -0,0 +1,6 @@
|
|||||||
|
Makefile
|
||||||
|
Makefile.in
|
||||||
|
.deps
|
||||||
|
*.lo
|
||||||
|
*.la
|
||||||
|
.libs
|
20
src/mpi/interface/c/Makefile.am
Обычный файл
20
src/mpi/interface/c/Makefile.am
Обычный файл
@ -0,0 +1,20 @@
|
|||||||
|
# -*- makefile -*-
|
||||||
|
#
|
||||||
|
# $HEADER$
|
||||||
|
#
|
||||||
|
|
||||||
|
include $(top_srcdir)/config/Makefile.options
|
||||||
|
|
||||||
|
# JMS: Need more stuff here:
|
||||||
|
# - Do we want a separate compile for profiling (affects SUBDIRS and LIBADD)
|
||||||
|
|
||||||
|
SUBDIRS = profile
|
||||||
|
|
||||||
|
lib_LTLIBRARIES = libmpi_c.la
|
||||||
|
|
||||||
|
libmpi_c_la_SOURCES = \
|
||||||
|
c_get_name.c \
|
||||||
|
c_set_name.c \
|
||||||
|
d_get_name.c \
|
||||||
|
d_set_name.c
|
||||||
|
libmpi_c_la_LIBADD = profile/libmpi_c_profile.la
|
7
src/mpi/interface/c/profile/.cvsignore
Обычный файл
7
src/mpi/interface/c/profile/.cvsignore
Обычный файл
@ -0,0 +1,7 @@
|
|||||||
|
Makefile
|
||||||
|
Makefile.in
|
||||||
|
*.la
|
||||||
|
*.lo
|
||||||
|
p*.c
|
||||||
|
.libs
|
||||||
|
.deps
|
37
src/mpi/interface/c/profile/Makefile.am
Обычный файл
37
src/mpi/interface/c/profile/Makefile.am
Обычный файл
@ -0,0 +1,37 @@
|
|||||||
|
# -*- makefile -*-
|
||||||
|
#
|
||||||
|
# $HEADER$
|
||||||
|
#
|
||||||
|
|
||||||
|
include $(top_srcdir)/config/Makefile.options
|
||||||
|
|
||||||
|
# JMS: Need more stuff here:
|
||||||
|
# - Do we want a separate compile for profiling (affects SUBDIRS and LIBADD)
|
||||||
|
|
||||||
|
noinst_LTLIBRARIES = libmpi_c_profile.la
|
||||||
|
|
||||||
|
nodist_libmpi_c_profile_la_SOURCES= \
|
||||||
|
pc_get_name.c \
|
||||||
|
pc_set_name.c \
|
||||||
|
pd_get_name.c \
|
||||||
|
pd_set_name.c
|
||||||
|
|
||||||
|
# Sym link in the sources from the real MPI directory
|
||||||
|
|
||||||
|
$(nodist_libmpi_c_profile_la_SOURCES):
|
||||||
|
if test ! -r $@ ; then \
|
||||||
|
pname=`echo $@ | cut -b '2-'` ; \
|
||||||
|
ln -s $(top_srcdir)/src/mpi/c/$$pname $@ ; \
|
||||||
|
fi
|
||||||
|
|
||||||
|
# These files were created by targets above
|
||||||
|
|
||||||
|
MAINTAINERCLEANFILES = $(nodist_libmpi_c_profile_la_SOURCES)
|
||||||
|
|
||||||
|
# Don't want these targets in here
|
||||||
|
|
||||||
|
tags-recursive:
|
||||||
|
tags:
|
||||||
|
TAGS:
|
||||||
|
GTAGS:
|
||||||
|
ID:
|
2
src/mpi/interface/cxx/.cvsignore
Обычный файл
2
src/mpi/interface/cxx/.cvsignore
Обычный файл
@ -0,0 +1,2 @@
|
|||||||
|
Makefile
|
||||||
|
Makefile.in
|
9
src/mpi/interface/cxx/Makefile.am
Обычный файл
9
src/mpi/interface/cxx/Makefile.am
Обычный файл
@ -0,0 +1,9 @@
|
|||||||
|
# -*- makefile -*-
|
||||||
|
#
|
||||||
|
# $HEADER$
|
||||||
|
#
|
||||||
|
|
||||||
|
include $(top_srcdir)/config/Makefile.options
|
||||||
|
|
||||||
|
# JMS: Need more stuff here -- only compile if we're making the C++
|
||||||
|
# profiling layer
|
6
src/mpi/interface/f77/.cvsignore
Обычный файл
6
src/mpi/interface/f77/.cvsignore
Обычный файл
@ -0,0 +1,6 @@
|
|||||||
|
Makefile
|
||||||
|
Makefile.in
|
||||||
|
.deps
|
||||||
|
*.lo
|
||||||
|
*.la
|
||||||
|
.libs
|
21
src/mpi/interface/f77/Makefile.am
Обычный файл
21
src/mpi/interface/f77/Makefile.am
Обычный файл
@ -0,0 +1,21 @@
|
|||||||
|
# -*- makefile -*-
|
||||||
|
#
|
||||||
|
# $HEADER$
|
||||||
|
#
|
||||||
|
|
||||||
|
include $(top_srcdir)/config/Makefile.options
|
||||||
|
|
||||||
|
# JMS: Need more stuff here:
|
||||||
|
# - Do we want a separate compile for profiling (affects SUBDIRS and LIBADD)
|
||||||
|
|
||||||
|
SUBDIRS = profile
|
||||||
|
|
||||||
|
lib_LTLIBRARIES = libmpi_f77.la
|
||||||
|
|
||||||
|
libmpi_f77_la_SOURCES = \
|
||||||
|
c_get_name_f.c \
|
||||||
|
c_set_name_f.c \
|
||||||
|
d_get_name_f.c \
|
||||||
|
d_set_name_f.c
|
||||||
|
|
||||||
|
libmpi_f77_la_LIBADD = profile/libmpi_f77_profile.la
|
3
src/mpi/interface/f77/comm_get_name_f.c
Обычный файл
3
src/mpi/interface/f77/comm_get_name_f.c
Обычный файл
@ -0,0 +1,3 @@
|
|||||||
|
/*
|
||||||
|
* $HEADER$
|
||||||
|
*/
|
18
src/mpi/interface/f77/comm_set_name_f.c
Обычный файл
18
src/mpi/interface/f77/comm_set_name_f.c
Обычный файл
@ -0,0 +1,18 @@
|
|||||||
|
/*
|
||||||
|
* $HEADER$
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
|
#include "mpi.h"
|
||||||
|
|
||||||
|
|
||||||
|
int
|
||||||
|
mpi_comm_set_name_f(int *comm, char *name)
|
||||||
|
{
|
||||||
|
/* JMS: Translate comm from int to MPI_Comm */
|
||||||
|
|
||||||
|
MPI_Comm c_comm = MPI_COMM_WORLD;
|
||||||
|
|
||||||
|
return MPI_Comm_set_name(c_comm, name);
|
||||||
|
}
|
3
src/mpi/interface/f77/datatype_get_name_f.c
Обычный файл
3
src/mpi/interface/f77/datatype_get_name_f.c
Обычный файл
@ -0,0 +1,3 @@
|
|||||||
|
/*
|
||||||
|
* $HEADER$
|
||||||
|
*/
|
3
src/mpi/interface/f77/datatype_set_name_f.c
Обычный файл
3
src/mpi/interface/f77/datatype_set_name_f.c
Обычный файл
@ -0,0 +1,3 @@
|
|||||||
|
/*
|
||||||
|
* $HEADER$
|
||||||
|
*/
|
7
src/mpi/interface/f77/profile/.cvsignore
Обычный файл
7
src/mpi/interface/f77/profile/.cvsignore
Обычный файл
@ -0,0 +1,7 @@
|
|||||||
|
Makefile
|
||||||
|
Makefile.in
|
||||||
|
*.la
|
||||||
|
*.lo
|
||||||
|
p*.c
|
||||||
|
.libs
|
||||||
|
.deps
|
37
src/mpi/interface/f77/profile/Makefile.am
Обычный файл
37
src/mpi/interface/f77/profile/Makefile.am
Обычный файл
@ -0,0 +1,37 @@
|
|||||||
|
# -*- makefile -*-
|
||||||
|
#
|
||||||
|
# $HEADER$
|
||||||
|
#
|
||||||
|
|
||||||
|
include $(top_srcdir)/config/Makefile.options
|
||||||
|
|
||||||
|
# JMS: Need more stuff here:
|
||||||
|
# - Do we want a separate compile for profiling (affects SUBDIRS and LIBADD)
|
||||||
|
|
||||||
|
noinst_LTLIBRARIES = libmpi_f77_profile.la
|
||||||
|
|
||||||
|
nodist_libmpi_f77_profile_la_SOURCES= \
|
||||||
|
pc_get_name_f.c \
|
||||||
|
pc_set_name_f.c \
|
||||||
|
pd_get_name_f.c \
|
||||||
|
pd_set_name_f.c
|
||||||
|
|
||||||
|
# Sym link in the sources from the real MPI directory
|
||||||
|
|
||||||
|
$(nodist_libmpi_f77_profile_la_SOURCES):
|
||||||
|
if test ! -r $@ ; then \
|
||||||
|
pname=`echo $@ | cut -b '2-'` ; \
|
||||||
|
ln -s $(top_srcdir)/src/mpi/f77/$$pname $@ ; \
|
||||||
|
fi
|
||||||
|
|
||||||
|
# These files were created by targets above
|
||||||
|
|
||||||
|
MAINTAINERCLEANFILES = $(nodist_libmpi_f77_profile_la_SOURCES)
|
||||||
|
|
||||||
|
# Don't want these targets in here
|
||||||
|
|
||||||
|
tags-recursive:
|
||||||
|
tags:
|
||||||
|
TAGS:
|
||||||
|
GTAGS:
|
||||||
|
ID:
|
2
src/mpi/interface/f90/.cvsignore
Обычный файл
2
src/mpi/interface/f90/.cvsignore
Обычный файл
@ -0,0 +1,2 @@
|
|||||||
|
Makefile
|
||||||
|
Makefile.in
|
9
src/mpi/interface/f90/Makefile.am
Обычный файл
9
src/mpi/interface/f90/Makefile.am
Обычный файл
@ -0,0 +1,9 @@
|
|||||||
|
# -*- makefile -*-
|
||||||
|
#
|
||||||
|
# $HEADER$
|
||||||
|
#
|
||||||
|
|
||||||
|
include $(top_srcdir)/config/Makefile.options
|
||||||
|
|
||||||
|
# JMS: Need more stuff here -- only compile if we're making the F90
|
||||||
|
# layer (?)
|
Загрузка…
x
Ссылка в новой задаче
Block a user