Skip to content

Commit 626167f

Browse files
committed
monitoring lib: rename to ompi_monitoring_prof.so
The library that is installed is specific to Open MPI, so put an "ompi_" prefix on it. Also do some minor line wrappings and cleanups of text. Signed-off-by: Jeff Squyres <[email protected]>
1 parent d7ebcca commit 626167f

File tree

2 files changed

+22
-12
lines changed

2 files changed

+22
-12
lines changed

test/monitoring/Makefile.am

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
# Copyright (c) 2015 Research Organization for Information Science
77
# and Technology (RIST). All rights reserved.
88
# Copyright (c) 2016 IBM Corporation. All rights reserved.
9+
# Copyright (c) 2016 Cisco Systems, Inc. All rights reserved.
910
# $COPYRIGHT$
1011
#
1112
# Additional copyrights may follow
@@ -19,16 +20,18 @@ if PROJECT_OMPI
1920
noinst_PROGRAMS = monitoring_test
2021
monitoring_test_SOURCES = monitoring_test.c
2122
monitoring_test_LDFLAGS = $(WRAPPER_EXTRA_LDFLAGS)
22-
monitoring_test_LDADD = $(top_builddir)/ompi/lib@[email protected] $(top_builddir)/opal/libopen-pal.la
23+
monitoring_test_LDADD = \
24+
$(top_builddir)/ompi/lib@[email protected] \
25+
$(top_builddir)/opal/libopen-pal.la
2326

2427
if MCA_BUILD_ompi_pml_monitoring_DSO
25-
lib_LTLIBRARIES = monitoring_prof.la
26-
monitoring_prof_la_SOURCES = monitoring_prof.c
27-
monitoring_prof_la_LDFLAGS=-module -avoid-version -shared $(WRAPPER_EXTRA_LDFLAGS)
28-
monitoring_prof_la_LIBADD = $(top_builddir)/ompi/lib@[email protected] $(top_builddir)/opal/libopen-pal.la
29-
endif
28+
lib_LTLIBRARIES = ompi_monitoring_prof.la
29+
ompi_monitoring_prof_la_SOURCES = monitoring_prof.c
30+
ompi_monitoring_prof_la_LDFLAGS= \
31+
-module -avoid-version -shared $(WRAPPER_EXTRA_LDFLAGS)
32+
ompi_monitoring_prof_la_LIBADD = \
33+
$(top_builddir)/ompi/lib@[email protected] \
34+
$(top_builddir)/opal/libopen-pal.la
35+
endif # MCA_BUILD_ompi_pml_monitoring_DSO
3036

31-
endif
32-
33-
distclean:
34-
rm -rf *.dSYM .deps .libs *.la *.lo monitoring_test *.log *.o *.trs Makefile
37+
endif # PROJECT_OMPI

test/monitoring/monitoring_prof.c

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,19 @@
1515
/*
1616
pml monitoring PMPI profiler
1717
18-
Designed by George Bosilca <[email protected]>, Emmanuel Jeannot <[email protected]> and Guillaume Papauré <[email protected]>
18+
Designed by:
19+
George Bosilca <[email protected]>
20+
Emmanuel Jeannot <[email protected]>
21+
Guillaume Papauré <[email protected]>
22+
1923
Contact the authors for questions.
2024
2125
To be run as:
2226
23-
mpirun -np 4 -x LD_PRELOAD=ompi_install_dir/lib/monitoring_prof.so --mca pml_monitoring_enable 1 ./my_app
27+
mpirun -np 4 \
28+
--mca pml_monitoring_enable 1 \
29+
-x LD_PRELOAD=ompi_install_dir/lib/ompi_monitoring_prof.so \
30+
./my_app
2431
2532
...
2633
...

0 commit comments

Comments
 (0)