Skip to content

Commit 29ab538

Browse files
committed
Remove residual references to -lopen-rte
Signed-off-by: Austen Lauria <[email protected]>
1 parent 368874e commit 29ab538

File tree

6 files changed

+9
-11
lines changed

6 files changed

+9
-11
lines changed

contrib/scaling/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ mpi_no_op: mpi_no_op.c
1111
mpicc -o mpi_no_op mpi_no_op.c
1212

1313
mpi_memprobe: mpi_memprobe.c
14-
mpicc -o mpi_memprobe mpi_memprobe.c -lopen-pal -lopen-rte
14+
mpicc -o mpi_memprobe mpi_memprobe.c -lopen-pal
1515

1616
clean:
1717
rm -f $(PROGS) *~

ompi/tools/wrappers/ompi-c.pc.in

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,9 @@ libdir=@libdir@
1313
pkgincludedir=@opalincludedir@
1414
#
1515
# Note that -lopen-pal and all the EXTRA_LIBS are only necessary when
16-
# static linking (they're pulled in by libopen-rte.so's implicit
17-
# dependencies), so only list these in Libs.private.
16+
# static linking, so only list these in Libs.private.
1817
#
1918
Libs: -L${libdir} @OMPI_PKG_CONFIG_LDFLAGS@ -l@OMPI_LIBMPI_NAME@
20-
Libs.private: -lopen-rte -lopen-pal @OMPI_WRAPPER_EXTRA_LIBS@
19+
Libs.private: -lopen-pal @OMPI_WRAPPER_EXTRA_LIBS@
2120
#
2221
Cflags: -I${includedir} @OMPI_WRAPPER_EXTRA_CPPFLAGS@ @OMPI_WRAPPER_EXTRA_CFLAGS@

ompi/tools/wrappers/ompi-cxx.pc.in

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,9 @@ libdir=@libdir@
1313
pkgincludedir=@opalincludedir@
1414
#
1515
# Note that -lopen-pal and all the EXTRA_LIBS are only necessary when
16-
# static linking (they're pulled in by libopen-rte.so's implicit
17-
# dependencies), so only list these in Libs.private.
16+
# static linking so only list these in Libs.private.
1817
#
1918
Libs: -L${libdir} @OMPI_PKG_CONFIG_LDFLAGS@ @OMPI_WRAPPER_CXX_LIB@ -l@OMPI_LIBMPI_NAME@
20-
Libs.private: -lopen-rte -lopen-pal @OMPI_WRAPPER_EXTRA_LIBS@
19+
Libs.private: -lopen-pal @OMPI_WRAPPER_EXTRA_LIBS@
2120
#
2221
Cflags: -I${includedir} @OMPI_WRAPPER_EXTRA_CPPFLAGS@ @OMPI_WRAPPER_EXTRA_CXXFLAGS@

ompi/tools/wrappers/ompi-fort.pc.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ pkgincludedir=@opalincludedir@
1717
# dependencies), so only list these in Libs.private.
1818
#
1919
Libs: -L${libdir} @OMPI_PKG_CONFIG_LDFLAGS@ @OMPI_FORTRAN_USEMPIF08_LIB@ @OMPI_FORTRAN_USEMPI_LIB@ @OMPI_FORTRAN_MPIFH_LINK@ -l@OMPI_LIBMPI_NAME@
20-
Libs.private: -lopen-rte -lopen-pal @OMPI_WRAPPER_EXTRA_LIBS@
20+
Libs.private: -lopen-pal @OMPI_WRAPPER_EXTRA_LIBS@
2121
Cflags: -I${includedir} @OMPI_WRAPPER_EXTRA_CPPFLAGS@ @OMPI_WRAPPER_EXTRA_FCFLAGS@

ompi/tools/wrappers/ompi_wrapper_script.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ my $linker_flags = $libdir_flag . $libdir . " " . $extra_ldflags;
6666
# pulled in implicitly) because we intend MPI applications to only use
6767
# the MPI API.
6868
my $libs = "-l".$ompi_libmpi_name." " . $extra_libs;
69-
my $libs_static = "-l".$ompi_libmpi_name." -lopen-rte -lopen-pal " . $extra_libs;
69+
my $libs_static = "-l".$ompi_libmpi_name." -lopen-pal " . $extra_libs;
7070

7171
my $have_dynamic = 0;
7272
if (-e $libdir . "/lib".$ompi_libmpi_name."." . $dynamic_lib_suffix) {

opal/tools/wrappers/opal_wrapper.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -744,8 +744,8 @@ int main(int argc, char *argv[])
744744
switch. It should only be used by Open MPI developers
745745
-- not end users. It will cause mpicc to use the
746746
static library list, even if we're compiling
747-
dynamically (i.e., it'll specifically -lopen-rte and
748-
-lopen-pal (and all their dependent libs)). We provide
747+
dynamically (i.e., it'll specifically -lopen-pal
748+
(and all their dependent libs)). We provide
749749
this flag for test MPI applications that also invoke
750750
ORTE and/or OPAL function calls.
751751

0 commit comments

Comments
 (0)