-
Notifications
You must be signed in to change notification settings - Fork 861
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add initial ABI generation code and new libraries
Two external MPI libraries are now created: libmpi.la and libmpi_abi.la. Backend code that was originally in libmpi.la has been extracted into libopen-mpi.la to be linked into both libraries. Parts of the Open MPI C interface are now being generated by a python script (abi.py) from modified source files (named with *.in). This script generates files for both the ompi ABI and the standard ABI from the same source file, also including new bigcount interfaces. To compile standard ABI code, there's a new mpicc_abi compiler wrapper. The standard ABI does not yet include all functions or symbols, so more complicated source files will not compile. ROMIO must be disabled for the code to link, since it's relying on the external MPI interface. Signed-off-by: Jake Tronge <[email protected]>
- Loading branch information
Showing
103 changed files
with
1,704 additions
and
393 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -126,36 +126,45 @@ DIST_SUBDIRS = \ | |
$(MCA_ompi_FRAMEWORKS_SUBDIRS) \ | ||
$(MCA_ompi_FRAMEWORK_COMPONENT_ALL_SUBDIRS) | ||
|
||
# Build the main MPI library | ||
noinst_LTLIBRARIES = libopen-mpi.la | ||
lib_LTLIBRARIES = lib@[email protected] libmpi_abi.la | ||
|
||
lib_LTLIBRARIES = lib@[email protected] | ||
lib@OMPI_LIBMPI_NAME@_la_SOURCES = | ||
lib@OMPI_LIBMPI_NAME@_la_LIBADD = \ | ||
# Build the Open MPI internal library | ||
libopen_mpi_la_SOURCES = | ||
libopen_mpi_la_LIBADD = \ | ||
datatype/libdatatype.la \ | ||
debuggers/libdebuggers.la \ | ||
$(OMPI_TOP_BUILDDIR)/opal/lib@[email protected] \ | ||
$(MCA_ompi_FRAMEWORK_LIBS) \ | ||
$(OMPI_LIBMPI_EXTRA_LIBS) | ||
libopen_mpi_la_DEPENDENCIES = $(libopen_mpi_la_LIBADD) | ||
|
||
# Build the main MPI library | ||
lib@OMPI_LIBMPI_NAME@_la_SOURCES = | ||
lib@OMPI_LIBMPI_NAME@_la_LIBADD = \ | ||
libopen-mpi.la \ | ||
mpi/c/libmpi_c.la \ | ||
mpi/tool/libmpi_mpit.la \ | ||
$(c_mpi_lib) \ | ||
$(c_pmpi_lib) \ | ||
$(mpi_fortran_base_lib) \ | ||
$(MCA_ompi_FRAMEWORK_LIBS) \ | ||
$(OMPI_MPIEXT_C_LIBS) \ | ||
$(OMPI_LIBMPI_EXTRA_LIBS) | ||
|
||
$(mpi_fortran_base_lib) | ||
|
||
lib@OMPI_LIBMPI_NAME@_la_LIBADD += \ | ||
$(OMPI_TOP_BUILDDIR)/opal/lib@[email protected] | ||
lib@OMPI_LIBMPI_NAME@_la_DEPENDENCIES = $(lib@OMPI_LIBMPI_NAME@_la_LIBADD) | ||
lib@OMPI_LIBMPI_NAME@_la_LDFLAGS = \ | ||
-version-info $(libmpi_so_version) \ | ||
$(OMPI_LIBMPI_EXTRA_LDFLAGS) | ||
|
||
# Build the MPI Standard ABI library | ||
libmpi_abi_la_SOURCES = | ||
libmpi_abi_la_LIBADD = \ | ||
libopen-mpi.la \ | ||
mpi/c/libmpi_c_abi.la | ||
|
||
# included subdirectory Makefile.am's and appended-to variables | ||
headers = | ||
noinst_LTLIBRARIES = | ||
include_HEADERS = | ||
dist_ompidata_DATA = | ||
lib@OMPI_LIBMPI_NAME@_la_SOURCES += $(headers) | ||
libopen_mpi_la_SOURCES += $(headers) | ||
|
||
# Conditionally install the header files | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,5 +22,5 @@ | |
headers += \ | ||
file/file.h | ||
|
||
lib@OMPI_LIBMPI_NAME@_la_SOURCES += \ | ||
libopen_mpi_la_SOURCES += \ | ||
file/file.c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,5 +23,5 @@ | |
headers += \ | ||
info/info.h | ||
|
||
lib@OMPI_LIBMPI_NAME@_la_SOURCES += \ | ||
libopen_mpi_la_SOURCES += \ | ||
info/info.c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.