c22e1ae33b
These two macros set the prefix for the OPAL and ORTE libraries, respectively. Specifically, the OPAL library will be named libPREFIXopen-pal.la and the ORTE library will be named libPREFIXopen-rte.la. These macros must be called, even if the prefix argument is empty. The intent is that Open MPI will call these macros with an empty prefix, but other projects (such as ORCM) will call these macros with a non-empty prefix. For example, ORCM libraries can be named liborcm-open-pal.la and liborcm-open-rte.la. This scheme is necessary to allow running Open MPI applications under systems that use their own versions of ORTE and OPAL. For example, when running MPI applications under ORTE, if the ORTE and OPAL libraries between OMPI and ORCM are not identical (which, because they are released at different times, are likely to be different), we need to ensure that the OMPI applications link against their ORTE and OPAL libraries, but the ORCM executables link against their ORTE and OPAL libraries.
29 строки
1.2 KiB
Plaintext
29 строки
1.2 KiB
Plaintext
# There can be multiple blocks of configuration data, chosen by
|
|
# compiler flags (using the compiler_args key to chose which block
|
|
# should be activated. This can be useful for multilib builds. See the
|
|
# multilib page at:
|
|
# https://github.com/open-mpi/ompi/wiki/compilerwrapper3264
|
|
# for more information.
|
|
|
|
project=Open MPI
|
|
project_short=OMPI
|
|
version=@OMPI_VERSION@
|
|
language=Fortran
|
|
compiler_env=FC
|
|
compiler_flags_env=FCFLAGS
|
|
compiler=@FC@
|
|
preprocessor_flags=
|
|
compiler_flags=@OMPI_WRAPPER_EXTRA_FCFLAGS@
|
|
linker_flags=@OMPI_WRAPPER_EXTRA_LDFLAGS@
|
|
# Note that per https://svn.open-mpi.org/trac/ompi/ticket/3422, we
|
|
# intentionally only link in the MPI libraries (ORTE, OPAL, etc. are
|
|
# pulled in implicitly) because we intend MPI applications to only use
|
|
# the MPI API.
|
|
libs=@OMPI_FORTRAN_USEMPIF08_LIB@ @OMPI_FORTRAN_USEMPI_LIB@ -lmpi_mpifh -lmpi
|
|
libs_static=@OMPI_FORTRAN_USEMPIF08_LIB@ @OMPI_FORTRAN_USEMPI_LIB@ -lmpi_mpifh -lmpi -l@ORTE_LIB_PREFIX@open-rte -l@OPAL_LIB_PREFIX@open-pal @OMPI_WRAPPER_EXTRA_LIBS@
|
|
dyn_lib_file=libmpi.@OPAL_DYN_LIB_SUFFIX@
|
|
static_lib_file=libmpi.a
|
|
required_file=@OMPI_WRAPPER_FORTRAN_REQUIRED_FILE@
|
|
includedir=${includedir}
|
|
libdir=${libdir}
|