Merge pull request #1390 from jsquyres/pr/minor-monitoring-library-cleanups
monitoring lib: rename to ompi_monitoring_prof.so
Этот коммит содержится в:
Коммит
9f317f0a5c
@ -6,6 +6,7 @@
|
|||||||
# Copyright (c) 2015 Research Organization for Information Science
|
# Copyright (c) 2015 Research Organization for Information Science
|
||||||
# and Technology (RIST). All rights reserved.
|
# and Technology (RIST). All rights reserved.
|
||||||
# Copyright (c) 2016 IBM Corporation. All rights reserved.
|
# Copyright (c) 2016 IBM Corporation. All rights reserved.
|
||||||
|
# Copyright (c) 2016 Cisco Systems, Inc. All rights reserved.
|
||||||
# $COPYRIGHT$
|
# $COPYRIGHT$
|
||||||
#
|
#
|
||||||
# Additional copyrights may follow
|
# Additional copyrights may follow
|
||||||
@ -18,17 +19,19 @@
|
|||||||
if PROJECT_OMPI
|
if PROJECT_OMPI
|
||||||
noinst_PROGRAMS = monitoring_test
|
noinst_PROGRAMS = monitoring_test
|
||||||
monitoring_test_SOURCES = monitoring_test.c
|
monitoring_test_SOURCES = monitoring_test.c
|
||||||
monitoring_test_LDFLAGS = $(WRAPPER_EXTRA_LDFLAGS)
|
monitoring_test_LDFLAGS = $(OMPI_PKG_CONFIG_LDFLAGS)
|
||||||
monitoring_test_LDADD = $(top_builddir)/ompi/lib@OMPI_LIBMPI_NAME@.la $(top_builddir)/opal/libopen-pal.la
|
monitoring_test_LDADD = \
|
||||||
|
$(top_builddir)/ompi/lib@OMPI_LIBMPI_NAME@.la \
|
||||||
|
$(top_builddir)/opal/lib@OPAL_LIB_PREFIX@open-pal.la
|
||||||
|
|
||||||
if MCA_BUILD_ompi_pml_monitoring_DSO
|
if MCA_BUILD_ompi_pml_monitoring_DSO
|
||||||
lib_LTLIBRARIES = monitoring_prof.la
|
lib_LTLIBRARIES = ompi_monitoring_prof.la
|
||||||
monitoring_prof_la_SOURCES = monitoring_prof.c
|
ompi_monitoring_prof_la_SOURCES = monitoring_prof.c
|
||||||
monitoring_prof_la_LDFLAGS=-module -avoid-version -shared $(WRAPPER_EXTRA_LDFLAGS)
|
ompi_monitoring_prof_la_LDFLAGS= \
|
||||||
monitoring_prof_la_LIBADD = $(top_builddir)/ompi/lib@OMPI_LIBMPI_NAME@.la $(top_builddir)/opal/libopen-pal.la
|
-module -avoid-version -shared $(WRAPPER_EXTRA_LDFLAGS)
|
||||||
endif
|
ompi_monitoring_prof_la_LIBADD = \
|
||||||
|
$(top_builddir)/ompi/lib@OMPI_LIBMPI_NAME@.la \
|
||||||
|
$(top_builddir)/opal/lib@OPAL_LIB_PREFIX@open-pal.la
|
||||||
|
endif # MCA_BUILD_ompi_pml_monitoring_DSO
|
||||||
|
|
||||||
endif
|
endif # PROJECT_OMPI
|
||||||
|
|
||||||
distclean:
|
|
||||||
rm -rf *.dSYM .deps .libs *.la *.lo monitoring_test *.log *.o *.trs Makefile
|
|
||||||
|
@ -15,12 +15,19 @@
|
|||||||
/*
|
/*
|
||||||
pml monitoring PMPI profiler
|
pml monitoring PMPI profiler
|
||||||
|
|
||||||
Designed by George Bosilca <bosilca@icl.utk.edu>, Emmanuel Jeannot <emmanuel.jeannot@inria.fr> and Guillaume Papauré <guillaume.papaure@bull.net>
|
Designed by:
|
||||||
|
George Bosilca <bosilca@icl.utk.edu>
|
||||||
|
Emmanuel Jeannot <emmanuel.jeannot@inria.fr>
|
||||||
|
Guillaume Papauré <guillaume.papaure@bull.net>
|
||||||
|
|
||||||
Contact the authors for questions.
|
Contact the authors for questions.
|
||||||
|
|
||||||
To be run as:
|
To be run as:
|
||||||
|
|
||||||
mpirun -np 4 -x LD_PRELOAD=ompi_install_dir/lib/monitoring_prof.so --mca pml_monitoring_enable 1 ./my_app
|
mpirun -np 4 \
|
||||||
|
--mca pml_monitoring_enable 1 \
|
||||||
|
-x LD_PRELOAD=ompi_install_dir/lib/ompi_monitoring_prof.so \
|
||||||
|
./my_app
|
||||||
|
|
||||||
...
|
...
|
||||||
...
|
...
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user